From e35275ae61810dd9d4a7daa9662d01c2c7a4022a Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 22 Jan 2008 13:08:39 +0000 Subject: [PATCH] cfitsio added svn path=/nixpkgs/branches/stdenv-updates/; revision=10237 --- pkgs/development/libraries/cfitsio/default.nix | 13 +++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/cfitsio/default.nix diff --git a/pkgs/development/libraries/cfitsio/default.nix b/pkgs/development/libraries/cfitsio/default.nix new file mode 100644 index 000000000000..5fb672b8ff18 --- /dev/null +++ b/pkgs/development/libraries/cfitsio/default.nix @@ -0,0 +1,13 @@ +args: with args; +stdenv.mkDerivation { + name = "cfitsio-3.060"; + src = fetchurl { + url = ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3060.tar.gz; + sha256 = "0ijbjpl5v35m538sa3c82qgja697kddjbj7yxx64ka7pdsdnfx9l"; + }; +# Shared-only build + buildFlags = "shared"; + patchPhase = '' + sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cee77925d6eb..2cc7b2f2251a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1790,6 +1790,10 @@ rec { lib = lib_unstable; }; + cfitsio = import ../development/libraries/cfitsio { + inherit fetchurl stdenv; + }; + fontconfig = import ../development/libraries/fontconfig { inherit fetchurl stdenv freetype expat; };