nixpkgs/pkgs/development/libraries/cfitsio/default.nix
Yury G. Kudryashov e35275ae61 cfitsio added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10237
2008-01-22 13:08:39 +00:00

14 lines
365 B
Nix

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
'';
}