2010-07-28 15:55:54 +04:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-01-30 20:20:48 +03:00
|
|
|
stdenv.mkDerivation {
|
2014-11-08 23:15:46 +03:00
|
|
|
name = "proj-4.8.0";
|
2007-12-06 00:25:47 +03:00
|
|
|
|
2008-01-30 20:20:48 +03:00
|
|
|
src = fetchurl {
|
2014-11-08 23:15:46 +03:00
|
|
|
url = http://download.osgeo.org/proj/proj-4.8.0.tar.gz;
|
|
|
|
sha256 = "1dfim63ks298204lv2z0v16njz6fs7bf0m4icy09i3ffzvqdpcid";
|
2007-12-06 00:25:47 +03:00
|
|
|
};
|
|
|
|
|
2014-11-08 23:15:46 +03: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 15:55:54 +04:00
|
|
|
description = "Cartographic Projections Library";
|
2014-11-08 23:15:46 +03:00
|
|
|
homepage = http://trac.osgeo.org/proj/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2007-12-06 00:25:47 +03:00
|
|
|
};
|
|
|
|
}
|