mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cfitsio-3.41";
|
|
|
|
src = fetchurl {
|
|
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
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|