Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
27 lines
668 B
Nix
27 lines
668 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "shapelib";
|
|
version = "1.6.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.osgeo.org/shapelib/shapelib-${version}.tar.gz";
|
|
hash = "sha256-XakKYOJUQPEI9OjpVzK/qD7eE8jgwrz4CuQQBsyOvCA=";
|
|
};
|
|
|
|
doCheck = true;
|
|
preCheck = ''
|
|
patchShebangs tests contrib/tests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "C Library for reading, writing and updating ESRI Shapefiles";
|
|
homepage = "http://shapelib.maptools.org/";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; teams.geospatial.members ++ [ ehmry ];
|
|
changelog = "http://shapelib.maptools.org/release.html";
|
|
};
|
|
}
|