2020-11-29 03:53:27 +00:00
|
|
|
{ stdenv, fetchgit, autoreconfHook }:
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2008-01-28 19:47:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-11-29 03:53:27 +00:00
|
|
|
pname = "libnova";
|
|
|
|
version = "0.16";
|
2018-10-18 20:19:20 +01:00
|
|
|
|
2020-11-29 03:53:27 +00:00
|
|
|
# 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";
|
2009-04-22 00:18:09 +01:00
|
|
|
};
|
2018-10-18 20:19:20 +01:00
|
|
|
|
2020-11-29 03:53:27 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
2018-10-18 20:19:20 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-22 00:18:09 +01:00
|
|
|
description = "Celestial Mechanics, Astrometry and Astrodynamics Library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libnova.sf.net";
|
2018-10-18 20:19:20 +01:00
|
|
|
license = licenses.gpl2;
|
2020-11-29 03:53:27 +00:00
|
|
|
maintainers = with maintainers; [ hjones2199 ];
|
|
|
|
platforms = platforms.unix;
|
2009-04-22 00:18:09 +01:00
|
|
|
};
|
2008-01-28 19:47:12 +00:00
|
|
|
}
|