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