Skip to content

Commit

Permalink
Merge pull request #64474 from xbreak/update/cfitsio-3470
Browse files Browse the repository at this point in the history
cfitsio: 3.450 -> 3.47
  • Loading branch information
dywedir committed Jul 18, 2019
2 parents 04b3ad8 + b16ae1a commit 9bda7eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 31 deletions.
25 changes: 0 additions & 25 deletions pkgs/development/libraries/cfitsio/darwin-curl-config.patch

This file was deleted.

13 changes: 7 additions & 6 deletions pkgs/development/libraries/cfitsio/default.nix
Expand Up @@ -2,22 +2,23 @@

# Optional dependencies
, bzip2 ? null }:

stdenv.mkDerivation rec {
name = "cfitsio-${version}";
version = "3.450";
pname = "cfitsio";
version = "3.47";

src = fetchurl {
url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio${builtins.replaceStrings ["."] [""] version}.tar.gz";
sha256 = "0bmrkw6w65zb0k3mszaaqy1f4zjm2hl7njww74nb5v38wvdi4q5z";
url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-${version}.tar.gz";
sha256 = "1vzlxnrjckz78p2wf148v2z3krkwnykfqvlj42sz3q711vqid1a1";
};

buildInputs = [ bzip2 ];

patches = [ ./darwin-curl-config.patch ./darwin-rpath-universal.patch ];
patches = [ ./darwin-rpath-universal.patch ];

configureFlags = stdenv.lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}";

hardeningDisable = [ "format" ];

# Shared-only build
buildFlags = "shared";
postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
Expand Down

0 comments on commit 9bda7eb

Please sign in to comment.