mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
28 lines
550 B
Nix
28 lines
550 B
Nix
{ 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 ];
|
|
};
|
|
}
|