mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
bc5ad14e7a
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 3.430 with grep in /nix/store/nlysxv2yb8v91i8lj8zqflibgvzpccyp-cfitsio-3.430 - found 3.430 in filename of file in /nix/store/nlysxv2yb8v91i8lj8zqflibgvzpccyp-cfitsio-3.430
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cfitsio-3.430";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3430.tar.gz";
|
|
sha256 = "07fghxh5fl8nqk3q0dh8rvc83npnm0hisxzcj16a6r7gj5pmp40l";
|
|
};
|
|
|
|
# Shared-only build
|
|
buildFlags = "shared";
|
|
patchPhase = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://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
|
|
format. CFITSIO provides simple high-level routines for reading and
|
|
writing FITS files that insulate the programmer from the internal
|
|
complexities of the FITS format. CFITSIO also provides many
|
|
advanced features for manipulating and filtering the information in
|
|
FITS files.
|
|
'';
|
|
# Permissive BSD-style license.
|
|
license = "permissive";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|