02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
36 lines
788 B
Nix
36 lines
788 B
Nix
{ lib, stdenv, fetchurl, libtool
|
|
, cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnuastro";
|
|
version = "0.18";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
|
sha256 = "sha256-bKfiLhQFERdMbwL9+UitCL8/dB/k6YKNjBzfKnCtWec=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|