Commit ecffd808 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

python3Packages.pyjet: remove

parent 35752eb6
Loading
Loading
Loading
Loading
+0 −35
Original line number Diff line number Diff line
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, cython, pytest, importlib-resources, numpy }:

buildPythonPackage rec {
  pname = "pyjet";
  version = "1.9.0";
  format = "setuptools";

  # tests not included in pypi tarball
  src = fetchFromGitHub {
    owner = "scikit-hep";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-0g0fCf0FIwde5Vsc/BJxjgMcs5llpD8JqOgFbMjOooc=";
  };

  nativeBuildInputs = [ cython ];
  propagatedBuildInputs = [
    numpy
  ] ++ lib.optionals (pythonOlder "3.9") [
    importlib-resources
  ];

  nativeCheckInputs = [ pytest ];
  checkPhase = ''
    mv pyjet _pyjet
    pytest tests/
  '';

  meta = with lib; {
    homepage = "https://github.com/scikit-hep/pyjet";
    description = "The interface between FastJet and NumPy";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ veprbl ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -331,6 +331,7 @@ mapAliases ({
  pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
  pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
  pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
  pyjet = throw "pyjet is deprecated, use fastjet instead"; # added 2023-05-10
  pygame_sdl2 = pygame-sdl2; # added 2024-01-07
  pygbm = throw "pygbm has been removed, since it is abandoned and broken"; # added 2023-06-20
  PyGithub = pygithub; # added 2023-02-19
+0 −2
Original line number Diff line number Diff line
@@ -11155,8 +11155,6 @@ self: super: with self; {
  pyisbn = callPackage ../development/python-modules/pyisbn { };
  pyjet = callPackage ../development/python-modules/pyjet { };
  pyjks = callPackage ../development/python-modules/pyjks { };
  pyjnius = callPackage ../development/python-modules/pyjnius { };