mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
cfitsio added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10237
This commit is contained in:
parent
dc2b4f3ec7
commit
e35275ae61
13
pkgs/development/libraries/cfitsio/default.nix
Normal file
13
pkgs/development/libraries/cfitsio/default.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
@ -1790,6 +1790,10 @@ rec {
|
|||||||
lib = lib_unstable;
|
lib = lib_unstable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cfitsio = import ../development/libraries/cfitsio {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
fontconfig = import ../development/libraries/fontconfig {
|
fontconfig = import ../development/libraries/fontconfig {
|
||||||
inherit fetchurl stdenv freetype expat;
|
inherit fetchurl stdenv freetype expat;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user