aerospike: 8.0.0.1 -> 8.0.0.2 (#380565)
[NixPkgs.git] / pkgs / development / python-modules / regional / default.nix
blobea995ee27a7dbfbdf11040e45009129a1da1e984
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   numpy,
6   scipy,
7   matplotlib,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "regional";
14   version = "1.1.2";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "freeman-lab";
21     repo = pname;
22     rev = "e3a29c58982e5cd3d5700131ac96e5e0b84fb981"; # no tags in repo
23     hash = "sha256-u88v9H9RZ9cgtSat73QEnHr3gZGL8DmBZ0XphMuoDw8=";
24   };
26   propagatedBuildInputs = [
27     matplotlib
28     numpy
29     scipy
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   pythonImportsCheck = [ "regional" ];
36   disabledTests = [
37     "test_dilate"
38     "test_outline"
39     "test_mask"
40   ];
42   meta = with lib; {
43     description = "Simple manipualtion and display of spatial regions";
44     homepage = "https://github.com/freeman-lab/regional";
45     license = licenses.mit;
46     maintainers = [ ];
47   };