Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 43 lines 753 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 click, 6 numpy, 7 setuptools, 8 setuptools-scm, 9 uhi, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "histoprint"; 15 version = "2.5.0"; 16 format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "sha256-kJfnOWqzqag8kW9+U8Ri6kbk9kXBrZFgRzjy2Dg+/U8="; 21 }; 22 23 buildInputs = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 propagatedBuildInputs = [ 29 click 30 numpy 31 uhi 32 ]; 33 34 checkInputs = [ pytestCheckHook ]; 35 36 meta = with lib; { 37 description = "Pretty print histograms to the console"; 38 mainProgram = "histoprint"; 39 homepage = "https://github.com/scikit-hep/histoprint"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ veprbl ]; 42 }; 43}