nixpkgs/pkgs/development/libraries/proj/default.nix

27 lines
631 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation {
2014-11-08 20:15:46 +00:00
name = "proj-4.8.0";
src = fetchurl {
2014-11-08 20:15:46 +00:00
url = http://download.osgeo.org/proj/proj-4.8.0.tar.gz;
sha256 = "1dfim63ks298204lv2z0v16njz6fs7bf0m4icy09i3ffzvqdpcid";
};
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; {
description = "Cartographic Projections Library";
2014-11-08 20:15:46 +00:00
homepage = http://trac.osgeo.org/proj/;
license = licenses.mit;
platforms = platforms.linux;
};
}