1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/libnova/default.nix
2021-01-21 19:11:02 -08:00

26 lines
673 B
Nix

{ lib, stdenv, fetchgit, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libnova";
version = "0.16";
# pull from git repo because upstream stopped tarball releases after v0.15
src = fetchgit {
url = "https://git.code.sf.net/p/libnova/${pname}";
rev = "v${version}";
sha256 = "0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b";
};
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
description = "Celestial Mechanics, Astrometry and Astrodynamics Library";
homepage = "http://libnova.sf.net";
license = licenses.gpl2;
maintainers = with maintainers; [ hjones2199 ];
platforms = platforms.unix;
};
}