depot/third_party/nixpkgs/pkgs/applications/science/astronomy/gnuastro/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

37 lines
889 B
Nix

{ lib, stdenv, fetchurl, libtool
, cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }:
stdenv.mkDerivation rec {
pname = "gnuastro";
version = "0.22";
src = fetchurl {
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
sha256 = "sha256-f9fxaga95VrtliggkM2SITW+6pAjaeWvgUOJ6rnMcwg=";
};
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/";
changelog = "https://git.savannah.gnu.org/cgit/gnuastro.git/plain/NEWS?id=gnuastro_v${version}";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}