cfitsio added

svn path=/nixpkgs/trunk/; revision=10350
This commit is contained in:
Yury G. Kudryashov 2008-01-28 19:46:59 +00:00
parent a388688509
commit c079c14928
2 changed files with 17 additions and 0 deletions

View File

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

View File

@ -1877,6 +1877,10 @@ rec {
flags = [ "useNixLibs" "threads" "shared" "gl" ];
};
cfitsio = import ../development/libraries/cfitsio {
inherit fetchurl stdenv;
};
fontconfig = import ../development/libraries/fontconfig {
inherit fetchurl stdenv freetype expat;
};