2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "erfa";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "1.7.1";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liberfa";
|
|
|
|
repo = "erfa";
|
|
|
|
rev = "v${version}";
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "0j7v9y7jsw9vjmhdpksq44ah2af10b9gl1vfm8riw178lvf246wg";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|