2022-03-30 09:31:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, libtool
|
|
|
|
, cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnuastro";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.20";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-kkuLtqwc0VFj3a3Dqb/bi4jKx7UJnV+CHs7bw/Cwac0=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|