commit
3095b43655
2 changed files with 38 additions and 0 deletions
36
pkgs/applications/science/astronomy/gnuastro/default.nix
Normal file
36
pkgs/applications/science/astronomy/gnuastro/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, libtool
|
||||
, cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnuastro";
|
||||
version = "0.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
||||
sha256 = "sha256-xBvtM8wkDOqXg/Q2dNfPR0R0ZgRm4QiPJZoLDKivaPU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libtool ];
|
||||
|
||||
buildInputs = [
|
||||
cfitsio
|
||||
curl
|
||||
ghostscript
|
||||
gsl
|
||||
libgit2
|
||||
libjpeg
|
||||
libtiff
|
||||
lzlib
|
||||
wcslib
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNU astronomy utilities and library";
|
||||
homepage = "https://www.gnu.org/software/gnuastro/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
|
@ -6266,6 +6266,8 @@ with pkgs;
|
|||
|
||||
gpp = callPackage ../development/tools/gpp { };
|
||||
|
||||
gnuastro = callPackage ../applications/science/astronomy/gnuastro { };
|
||||
|
||||
gpredict = callPackage ../applications/science/astronomy/gpredict {
|
||||
hamlib = hamlib_4;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue