2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-11-08 20:15:46 +00:00
|
|
|
name = "proj-4.8.0";
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2014-11-08 20:15:46 +00:00
|
|
|
url = http://download.osgeo.org/proj/proj-4.8.0.tar.gz;
|
|
|
|
sha256 = "1dfim63ks298204lv2z0v16njz6fs7bf0m4icy09i3ffzvqdpcid";
|
2007-12-05 21:25:47 +00:00
|
|
|
};
|
|
|
|
|
2014-11-08 20:15:46 +00:00
|
|
|
postConfigure = ''
|
|
|
|
patch src/Makefile <<EOF
|
|
|
|
272c272
|
|
|
|
< include_HEADERS = proj_api.h org_proj4_Projections.h
|
|
|
|
---
|
|
|
|
> include_HEADERS = proj_api.h org_proj4_Projections.h projects.h
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Cartographic Projections Library";
|
2014-11-08 20:15:46 +00:00
|
|
|
homepage = http://trac.osgeo.org/proj/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2007-12-05 21:25:47 +00:00
|
|
|
};
|
|
|
|
}
|