Something went wrong. Try again.
lol
Something went wrong. Try again.
932 B · 50 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, fetchPypi, buildPythonPackage, boost-histogram, histoprint, hatchling, hatch-vcs, numpy, pytestCheckHook, pytest-mpl,}:
buildPythonPackage (finalAttrs: { pname = "hist"; version = "2.10.1"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-3sjmrHmm1k7Ihzzzaz7wOUx5r/Ow6Kvtcf3Hf9xCGy4="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ boost-histogram histoprint numpy ];
checkInputs = [ pytestCheckHook pytest-mpl ];
pythonImportsCheck = [ "hist" ];
meta = { description = "Histogramming for analysis powered by boost-histogram"; mainProgram = ""; homepage = "https://hist.readthedocs.io/"; changelog = "https://github.com/scikit-hep/hist/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; };})