nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi
2, setuptools }:
3
4buildPythonPackage rec {
5 version = "2.3.0";
6 pname = "pyshp";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "sha256-glBk6kA6zxNehGz4sJJEmUMOa+HNN6DzS+cTCQZhfTw=";
11 };
12
13 buildInputs = [ setuptools ];
14
15 meta = with lib; {
16 description = "Pure Python read/write support for ESRI Shapefile format";
17 homepage = "https://github.com/GeospatialPython/pyshp";
18 license = licenses.mit;
19 };
20}