wcslib: 7.5 -> 7.6 (#119504)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
hjones2199 2021-04-15 17:02:55 -05:00 committed by GitHub
parent 3783fb8475
commit 35c8995dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,22 +2,19 @@
stdenv.mkDerivation rec {
pname = "wcslib";
version = "7.5";
version = "7.6";
src = fetchurl {
url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/${pname}-${version}.tar.bz2";
sha256 = "1536gmcpm6pckn9xrb6j8s4pm1vryjhzvhfaj9wx3jwxcpbdy0dw";
sha256 = "sha256-VLuMkhZ6fxP4qnP8S4oJeFJW0smCE0Z968eigqQxMYs=";
};
buildInputs = [ flex ];
prePatch = ''
substituteInPlace GNUmakefile --replace 2775 0775
substituteInPlace C/GNUmakefile --replace 2775 0775
'';
nativeBuildInputs = [ flex ];
enableParallelBuilding = true;
outputs = [ "out" "man" ];
meta = with lib; {
homepage = "https://www.atnf.csiro.au/people/mcalabre/WCS/";
description = "World Coordinate System library for astronomy";