summary refs log tree commit diff
path: root/pkgs/development/python-modules/pynrrd/default.nix
blob: 02361fe84debfaf4a9741d36db8890a6ea816899 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytest
}:

buildPythonPackage rec {
  pname = "pynrrd";
  version = "0.4.2";

  src = fetchFromGitHub {
    owner = "mhe";
    repo = pname;
    rev = "v${version}";
    sha256 = "1wn3ara3i19fi1y9a5j4imyczpa6dkkzd5djggxg4kkl1ff9awrj";
  };

  propagatedBuildInputs = [ numpy ];

  meta = with lib; {
    homepage = https://github.com/mhe/pynrrd;
    description = "Simple pure-Python reader for NRRD files";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };
}