Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyshp / default.nix
blob280e4cb7675be2f7ad5d7496dd6885d7c6230593
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pyshp";
10   version = "2.3.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "GeospatialPython";
17     repo = pname;
18     rev = version;
19     hash = "sha256-yfxhgk8a1rdpGVkE1sjJqT6tiFLimhu2m2SjGxLI6wo=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "shapefile"
28   ];
30   disabledTests = [
31     # Requires network access
32     "test_reader_url"
33   ];
35   meta = with lib; {
36     description = "Python read/write support for ESRI Shapefile format";
37     homepage = "https://github.com/GeospatialPython/pyshp";
38     license = licenses.mit;
39     maintainers = with maintainers; [ ];
40   };