Files
nixpkgs/pkgs/development/python-modules/pyshp/default.nix
2025-08-27 11:51:05 +00:00

39 lines
749 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyshp";
version = "3.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "GeospatialPython";
repo = "pyshp";
tag = version;
hash = "sha256-/ziHRjMwzQe3rnMZW9FTT0fyFDPWSv+Tm+tNG67t4gE=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "shapefile" ];
disabledTests = [
# Requires network access
"test_reader_url"
];
meta = with lib; {
description = "Python read/write support for ESRI Shapefile format";
homepage = "https://github.com/GeospatialPython/pyshp";
license = licenses.mit;
maintainers = [ ];
};
}