Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 hatchling, 6 hatch-vcs, 7 numpy, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "uhi"; 13 version = "0.4.0"; 14 format = "pyproject"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-DctrGXdQh9OKMe44jLLHDy7P4ExP/iymMiNBDK5b7vo="; 19 }; 20 21 buildInputs = [ 22 hatchling 23 hatch-vcs 24 ]; 25 26 propagatedBuildInputs = [ numpy ]; 27 28 checkInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Universal Histogram Interface"; 32 homepage = "https://uhi.readthedocs.io/"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ veprbl ]; 35 }; 36}