Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pynrrd / default.nix
blob7d36e42da70df49bc7f311b7da23b69846191ab7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , numpy
6 , nptyping
7 , typing-extensions
8 }:
10 buildPythonPackage rec {
11   pname = "pynrrd";
12   version = "1.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mhe";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU=";
22   };
24   propagatedBuildInputs = [
25     numpy
26     nptyping
27     typing-extensions
28   ];
30   pythonImportsCheck = [
31     "nrrd"
32   ];
34   meta = with lib; {
35     homepage = "https://github.com/mhe/pynrrd";
36     description = "Simple pure-Python reader for NRRD files";
37     license = licenses.mit;
38     maintainers = with maintainers; [ bcdarwin ];
39   };