evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pynrrd / default.nix
blob9be59daec1f510f39841834957bce3a199a4f4cd
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   numpy,
7   nptyping,
8   typing-extensions,
9 }:
11 buildPythonPackage rec {
12   pname = "pynrrd";
13   version = "1.0.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "mhe";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU=";
23   };
25   propagatedBuildInputs = [
26     numpy
27     nptyping
28     typing-extensions
29   ];
31   pythonImportsCheck = [ "nrrd" ];
33   meta = with lib; {
34     homepage = "https://github.com/mhe/pynrrd";
35     description = "Simple pure-Python reader for NRRD files";
36     license = licenses.mit;
37     maintainers = with maintainers; [ bcdarwin ];
38   };