···11-{ lib
22-, buildPythonPackage
33-, fetchFromGitHub
44-, mock
55-, nose
66-, pamqp
77-}:
88-99-buildPythonPackage rec {
1010- version = "2.0.1";
1111- pname = "rabbitpy";
1212-1313- # No tests in the pypi tarball, so we directly fetch from git
1414- src = fetchFromGitHub {
1515- owner = "gmr";
1616- repo = pname;
1717- rev = version;
1818- sha256 = "0m5z3i3d5adrz1wh6y35xjlls3cq6p4y9p1mzghw3k7hdvg26cck";
1919- };
2020-2121- propagatedBuildInputs = [ pamqp ];
2222- nativeCheckInputs = [ mock nose ];
2323-2424- checkPhase = ''
2525- runHook preCheck
2626- rm tests/integration_tests.py # Impure tests requiring network
2727- nosetests tests
2828- runHook postCheck
2929- '';
3030-3131- postPatch = ''
3232- # See: https://github.com/gmr/rabbitpy/issues/118
3333- substituteInPlace setup.py \
3434- --replace 'pamqp>=2,<3' 'pamqp'
3535- '';
3636-3737- meta = with lib; {
3838- description = "A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library";
3939- homepage = "https://pypi.python.org/pypi/rabbitpy";
4040- license = licenses.bsd3;
4141-4242- # broken by pamqp==3, tracked in
4343- # https://github.com/gmr/rabbitpy/issues/125
4444- broken = true;
4545- };
4646-4747-}
+1
pkgs/top-level/python-aliases.nix
···283283 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
284284 Quandl = quandl; # added 2023-02-19
285285 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
286286+ rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
286287 rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
287288 retworkx = rustworkx; # added 2023-05-14
288289 repeated_test = repeated-test; # added 2022-11-15