aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/liberfa
diff options
context:
space:
mode:
authorArmin Leuprecht <armin.leuprecht@uni-graz.at>2020-06-10 07:34:26 +0000
committerArmin Leuprecht <armin.leuprecht@uni-graz.at>2020-06-10 07:34:26 +0000
commit5fe5be3d8690f9cb89ec34c829862572994fb216 (patch)
tree442663943816de61004877caed96b6a906c9f48d /pkgs/development/libraries/liberfa
parentb621677c882810df06b40177c763a9696442d936 (diff)
liberfa: init at 1.7.0
Diffstat (limited to 'pkgs/development/libraries/liberfa')
-rw-r--r--pkgs/development/libraries/liberfa/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/liberfa/default.nix b/pkgs/development/libraries/liberfa/default.nix
new file mode 100644
index 000000000000..097b0b85e3e8
--- /dev/null
+++ b/pkgs/development/libraries/liberfa/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+ pname = "erfa";
+ version = "1.7.0";
+
+ buildInputs = [ autoreconfHook ];
+
+ src = fetchFromGitHub {
+ owner = "liberfa";
+ repo = "erfa";
+ rev = "v${version}";
+ sha256 = "1z4k2phrw6wwi0kax6ac80jk9c036gi7pmhmg6gaf3lk81k6xz2r";
+ };
+
+ configureFlags = [ "--enable-shared" ];
+
+ meta = with stdenv.lib; {
+ description = "Essential Routines for Fundamental Astronomy";
+ homepage = "https://github.com/liberfa/erfa";
+ maintainers = with maintainers; [ mir06 ];
+ license = {
+ url = "https://github.com/liberfa/erfa/blob/master/LICENSE";
+ free = true;
+ };
+ };
+}