Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, boost-histogram 5, histoprint 6, hatchling 7, hatch-vcs 8, numpy 9, pytestCheckHook 10, pytest-mpl 11}: 12 13buildPythonPackage rec { 14 pname = "hist"; 15 version = "2.6.3"; 16 format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "dede097733d50b273af9f67386e6dcccaab77e900ae702e1a9408a856e217ce9"; 21 }; 22 23 buildInputs = [ 24 hatchling 25 hatch-vcs 26 ]; 27 28 propagatedBuildInputs = [ 29 boost-histogram 30 histoprint 31 numpy 32 ]; 33 34 checkInputs = [ 35 pytestCheckHook 36 pytest-mpl 37 ]; 38 39 meta = with lib; { 40 description = "Histogramming for analysis powered by boost-histogram"; 41 homepage = "https://hist.readthedocs.io/en/latest/"; 42 license = licenses.bsd3; 43 maintainers = with maintainers; [ veprbl ]; 44 }; 45}