2020-06-10 08:34:26 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "erfa";
|
2020-10-24 15:52:31 +01:00
|
|
|
version = "1.7.1";
|
2020-06-10 08:34:26 +01:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liberfa";
|
|
|
|
repo = "erfa";
|
|
|
|
rev = "v${version}";
|
2020-10-24 15:52:31 +01:00
|
|
|
sha256 = "0j7v9y7jsw9vjmhdpksq44ah2af10b9gl1vfm8riw178lvf246wg";
|
2020-06-10 08:34:26 +01: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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|