Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 734 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, numpy 6, nptyping 7, typing-extensions 8}: 9 10buildPythonPackage rec { 11 pname = "pynrrd"; 12 version = "1.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "mhe"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU="; 22 }; 23 24 propagatedBuildInputs = [ 25 numpy 26 nptyping 27 typing-extensions 28 ]; 29 30 pythonImportsCheck = [ 31 "nrrd" 32 ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/mhe/pynrrd"; 36 description = "Simple pure-Python reader for NRRD files"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ bcdarwin ]; 39 }; 40}