mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
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";
|
|
};
|
|
}
|