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";
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "2.0.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liberfa";
|
|
|
|
repo = "erfa";
|
|
|
|
rev = "v${version}";
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "sha256-xBE8mWwmvlu0v3Up5y6J8jMhToMSACdKeQzPJoG8LWk=";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|