504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
26 lines
609 B
Nix
26 lines
609 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "shapelib";
|
|
version = "1.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.osgeo.org/shapelib/shapelib-${version}.tar.gz";
|
|
sha256 = "sha256-GVKLJDdyQXBWNzIMNnlDAxrVCIZl0fsOHqpSpxJkpsQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|