blob: 00562446c71edbeb18c66f75ad2e9b3b46015d35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyshp";
version = "3.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "GeospatialPython";
repo = "pyshp";
tag = version;
hash = "sha256-LsiTJpcO6KYZb3D6ysBWimFS1zEr0vQ9E9cOcC1jdLo=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "shapefile" ];
disabledTests = [
# Requires network access
"test_reader_url"
];
meta = {
description = "Python read/write support for ESRI Shapefile format";
homepage = "https://github.com/GeospatialPython/pyshp";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|