1{ stdenv, buildPythonPackage, fetchPypi 2, setuptools }: 3 4buildPythonPackage rec { 5 version = "1.2.12"; 6 pname = "pyshp"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8dcd65e0aa2aa2951527ddb7339ea6e69023543d8a20a73fc51e2829b9ed6179"; 12 }; 13 14 buildInputs = [ setuptools ]; 15 16 meta = with stdenv.lib; { 17 description = "Pure Python read/write support for ESRI Shapefile format"; 18 homepage = https://github.com/GeospatialPython/pyshp; 19 license = licenses.mit; 20 }; 21}