2020-06-18 07:06:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
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" ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|