16 buildPythonPackage rec {
21 disabled = pythonOlder "3.9";
24 inherit pname version;
25 hash = "sha256-H6S77ji/6u8IpAsnebTDDFzk+ihloQwCrP6QZ5tOYek=";
29 # Disable benchmark tests, so we won't need pytest-benchmark and pytest-cov
31 substituteInPlace pyproject.toml \
32 --replace '"--benchmark-disable",' ""
52 pythonImportsCheck = [ "particle" ];
55 # Requires pytest-benchmark and pytest-cov which we want to avoid using, as
56 # it doesn't really test functionality.
57 "tests/particle/test_performance.py"
61 description = "Package to deal with particles, the PDG particle data table and others";
62 homepage = "https://github.com/scikit-hep/particle";
63 changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}";
64 license = lib.licenses.bsd3;
65 maintainers = with lib.maintainers; [ doronbehar ];