1{ fetchurl, stdenv, flex }:
2
3stdenv.mkDerivation rec {
4 version = "5.14";
5 name = "wcslib-${version}";
6
7 buildInputs = [ flex ];
8
9 src = fetchurl {
10 url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/${name}.tar.bz2";
11 sha256 ="0zz3747m6gjzglgsqrrslwk2qkb6swsx8gmaxa459dvbcg914gsd";
12 };
13
14 enableParallelBuilding = true;
15
16 meta = {
17 description = "World Coordinate System Library for Astronomy";
18 homepage = http://www.atnf.csiro.au/people/mcalabre/WCS/;
19
20 longDescription = ''Library for world coordinate systems for
21 spherical geometries and their conversion to image coordinate
22 systems. This is the standard library for this purpose in
23 astronomy.'';
24
25 license = stdenv.lib.licenses.lgpl3Plus;
26 };
27}