mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
38 lines
887 B
Nix
38 lines
887 B
Nix
{ lib, stdenv, fetchurl, libtool
|
|
, cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnuastro";
|
|
version = "0.23";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
|
hash = "sha256-+X53X/tZgcY/it++lY/Ov5FHwT8OfpZAfd398zs/dwI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|