Commit 83819b55 authored by Doron Behar's avatar Doron Behar
Browse files

python312Packages.particle: small cleanup

parent d4512d34
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
buildPythonPackage rec {
  pname = "particle";
  version = "0.25.1";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.9";

@@ -32,12 +32,12 @@ buildPythonPackage rec {
      --replace '"--benchmark-disable",' ""
  '';

  nativeBuildInputs = [
  build-system = [
    hatch-vcs
    hatchling
  ];

  propagatedBuildInputs = [
  dependencies = [
    attrs
    deprecated
    hepunits
@@ -51,13 +51,17 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "particle" ];

  disabledTestPaths = [ "tests/particle/test_performance.py" ];
  disabledTestPaths = [
    # Requires pytest-benchmark and pytest-cov which we want to avoid using, as
    # it doesn't really test functionality.
    "tests/particle/test_performance.py"
  ];

  meta = with lib; {
  meta = {
    description = "Package to deal with particles, the PDG particle data table and others";
    homepage = "https://github.com/scikit-hep/particle";
    changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ doronbehar ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ doronbehar ];
  };
}