1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, numpy
5}:
6
7buildPythonPackage rec {
8 pname = "pynrrd";
9 version = "0.4.2";
10
11 src = fetchFromGitHub {
12 owner = "mhe";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "1wn3ara3i19fi1y9a5j4imyczpa6dkkzd5djggxg4kkl1ff9awrj";
16 };
17
18 propagatedBuildInputs = [ numpy ];
19
20 meta = with lib; {
21 homepage = "https://github.com/mhe/pynrrd";
22 description = "Simple pure-Python reader for NRRD files";
23 license = licenses.mit;
24 maintainers = with maintainers; [ bcdarwin ];
25 };
26}