587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
27 lines
670 B
Nix
27 lines
670 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "erfa";
|
|
version = "2.0.1";
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liberfa";
|
|
repo = "erfa";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-NtHYgiN5mo3kWC2H+5TUDbU1nFrwuhNyOIhg2jZbssM=";
|
|
};
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
meta = with 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;
|
|
};
|
|
};
|
|
}
|