Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
927 B · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, fetchPypi, buildPythonPackage, boost-histogram, histoprint, hatchling, hatch-vcs, numpy, pytestCheckHook, pytest-mpl, pythonOlder,}:
buildPythonPackage rec { pname = "hist"; version = "2.9.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-FtSPIhoeEi+B3z2j1vt2O92COIdo4D/FXcGSYZBsdOs="; };
buildInputs = [ hatchling hatch-vcs ];
propagatedBuildInputs = [ boost-histogram histoprint numpy ];
checkInputs = [ pytestCheckHook pytest-mpl ];
meta = with lib; { description = "Histogramming for analysis powered by boost-histogram"; mainProgram = "hist"; homepage = "https://hist.readthedocs.io/"; changelog = "https://github.com/scikit-hep/hist/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ veprbl ]; };}