2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-06-10 09:34:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "erfa";
|
2021-08-14 07:33:56 +02:00
|
|
|
version = "2.0.0";
|
2020-06-10 09:34:26 +02:00
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liberfa";
|
|
|
|
repo = "erfa";
|
|
|
|
rev = "v${version}";
|
2021-08-14 07:33:56 +02:00
|
|
|
sha256 = "sha256-xBE8mWwmvlu0v3Up5y6J8jMhToMSACdKeQzPJoG8LWk=";
|
2020-06-10 09:34:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-06-10 09:34:26 +02: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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|