mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #61242 from xbreak/update/cfitsio-3450
cfitsio: 3.430 -> 3.450
This commit is contained in:
commit
2c86b2c79c
@ -5401,6 +5401,11 @@
|
||||
github = "xaverdh";
|
||||
name = "Dominik Xaver Hörl";
|
||||
};
|
||||
xbreak = {
|
||||
email = "xbreak@alphaware.se";
|
||||
github = "xbreak";
|
||||
name = "Calle Rosenquist";
|
||||
};
|
||||
xeji = {
|
||||
email = "xeji@cat3.de";
|
||||
github = "xeji";
|
||||
|
@ -1,15 +1,23 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cfitsio-3.430";
|
||||
# Optional dependencies
|
||||
, bzip2 ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cfitsio-${version}";
|
||||
version = "3.450";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3430.tar.gz";
|
||||
sha256 = "07fghxh5fl8nqk3q0dh8rvc83npnm0hisxzcj16a6r7gj5pmp40l";
|
||||
url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio${builtins.replaceStrings ["."] [""] version}.tar.gz";
|
||||
sha256 = "0bmrkw6w65zb0k3mszaaqy1f4zjm2hl7njww74nb5v38wvdi4q5z";
|
||||
};
|
||||
|
||||
buildInputs = [ bzip2 ];
|
||||
|
||||
patches = [ ./darwin-curl-config.patch ./darwin-rpath-universal.patch ];
|
||||
|
||||
configureFlags = stdenv.lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}";
|
||||
|
||||
# Shared-only build
|
||||
buildFlags = "shared";
|
||||
postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
|
||||
@ -27,8 +35,8 @@
|
||||
advanced features for manipulating and filtering the information in
|
||||
FITS files.
|
||||
'';
|
||||
# Permissive BSD-style license.
|
||||
license = "permissive";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.xbreak ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user