1{ stdenv, buildPythonPackage, fetchPypi 2, setuptools }: 3 4buildPythonPackage rec { 5 version = "1.2.12"; 6 pname = "pyshp"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "8dcd65e0aa2aa2951527ddb7339ea6e69023543d8a20a73fc51e2829b9ed6179"; 11 }; 12 13 buildInputs = [ setuptools ]; 14 15 meta = with stdenv.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}