Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 717 B view raw
1{ 2 lib, 3 stdenv, 4 fetchgit, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "libnova"; 10 version = "0.16"; 11 12 # pull from git repo because upstream stopped tarball releases after v0.15 13 src = fetchgit { 14 url = "https://git.code.sf.net/p/libnova/${pname}"; 15 rev = "v${version}"; 16 sha256 = "0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b"; 17 }; 18 19 nativeBuildInputs = [ 20 autoreconfHook 21 ]; 22 23 meta = with lib; { 24 description = "Celestial Mechanics, Astrometry and Astrodynamics Library"; 25 mainProgram = "libnovaconfig"; 26 homepage = "http://libnova.sf.net"; 27 license = licenses.gpl2; 28 maintainers = with maintainers; [ hjones2199 ]; 29 platforms = platforms.unix; 30 }; 31}