nixpkgs/pkgs/by-name/li/liberfa/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
670 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2020-06-10 07:34:26 +00:00
stdenv.mkDerivation rec {
pname = "erfa";
2023-10-13 20:09:54 +00:00
version = "2.0.1";
2020-06-10 07:34:26 +00:00
nativeBuildInputs = [ autoreconfHook ];
2020-06-10 07:34:26 +00:00
src = fetchFromGitHub {
owner = "liberfa";
repo = "erfa";
rev = "v${version}";
2023-10-13 20:09:54 +00:00
sha256 = "sha256-NtHYgiN5mo3kWC2H+5TUDbU1nFrwuhNyOIhg2jZbssM=";
2020-06-10 07:34:26 +00:00
};
configureFlags = [ "--enable-shared" ];
meta = with lib; {
2020-06-10 07:34:26 +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;
};
};
}