mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
cfitsio: 3.21 -> 3.41
cfitsio: Changed platforms to Linux, due to failing to build on Darwin cfitsio: Fixed missing semicolon cfitsio: Removed undefined variable
This commit is contained in:
parent
41625dcab6
commit
64d9947c76
|
@ -1,24 +1,21 @@
|
|||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cfitsio-3.21";
|
||||
stdenv.mkDerivation {
|
||||
name = "cfitsio-3.41";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3210.tar.gz;
|
||||
sha256 = "1ffr3p5dy2b1vj9j4li5zf22naavi9wcxsvqy236fc0ykfyip96i";
|
||||
url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3410.tar.gz";
|
||||
sha256 = "0k3knn5hz1vhzzvm46xa1y6fnpliwkwgw76lnkf4amcnl5zaqmm5";
|
||||
};
|
||||
|
||||
# Shared-only build
|
||||
buildFlags = "shared";
|
||||
patchPhase =
|
||||
'' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
|
||||
patchPhase = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://heasarc.gsfc.nasa.gov/fitsio/;
|
||||
|
||||
description = "Library for reading and writing FITS data files";
|
||||
|
||||
longDescription =
|
||||
'' CFITSIO is a library of C and Fortran subroutines for reading and
|
||||
writing data files in FITS (Flexible Image Transport System) data
|
||||
|
@ -28,9 +25,8 @@ stdenv.mkDerivation {
|
|||
advanced features for manipulating and filtering the information in
|
||||
FITS files.
|
||||
'';
|
||||
|
||||
# Permissive BSD-style license.
|
||||
license = "permissive";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue