git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.kombu: 4.0.2 -> 4.2.1
commit5d591948201c7c04c62c3d63b432aeb7e6cf50b1 authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateSat 14 Jul 2018, 13:19 (8 years ago) parentaf17bfd
2 files changed+26−27
pkgs/development/python-modules/kombu/default.nix+25 pkgs/top-level/python-packages.nix+1−27
pkgs/development/python-modules/kombu/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, amqp }:
2+
3+buildPythonPackage rec {
4+ pname = "kombu";
5+ version = "4.2.1";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "86adec6c60f63124e2082ea8481bbe4ebe04fde8ebed32c177c7f0cd2c1c9082";
10+ };
11+
12+ postPatch = ''
13+ substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
14+ '';
15+
16+ checkInputs = [ pytest case pytz ];
17+
18+ propagatedBuildInputs = [ amqp ];
19+
20+ meta = with lib; {
21+ description = "Messaging library for Python";
22+ homepage = https://github.com/celery/kombu;
23+ license = licenses.bsd3;
24+ };
25+}
pkgs/top-level/python-packages.nix+1−27
@@ -6934,33 +6934,7 @@ in {
69346934
69356935 koji = callPackage ../development/python-modules/koji { };
69366936
6937− kombu = buildPythonPackage rec {
6938− name = "kombu-${version}";
6939− version = "4.0.2";
6940−
6941− src = pkgs.fetchurl {
6942− url = "mirror://pypi/k/kombu/${name}.tar.gz";
6943− sha256 = "18hiricdnbnlz6hx3hbaa4dni6npv8rbid4dhf7k02k16qm6zz6h";
6944− };
6945−
6946− # Backport fix for python-3.6 from master (see issue https://github.com/celery/kombu/issues/675)
6947− # TODO remove at next update
6948− patches = [ (pkgs.fetchpatch {
6949− url = "https://github.com/celery/kombu/commit/dc3fceff59d79ceac3f8f11a5d697beabb4b7a7f.patch";
6950− sha256 = "0s6gsihzjvmpffc7xrrcijw00r56yb74jg0sbjgng2v1324z1da9";
6951− name = "don-t-modify-dict-size-while-iterating-over-it";
6952− }) ];
6953−
6954− buildInputs = with self; [ pytest case pytz ];
6955−
6956− propagatedBuildInputs = with self; [ amqp ];
6957−
6958− meta = {
6959− description = "Messaging library for Python";
6960− homepage = "https://github.com/celery/kombu";
6961− license = licenses.bsd3;
6962− };
6963− };
6937+ kombu = callPackage ../development/python-modules/kombu { };
69646938
69656939 konfig = callPackage ../development/python-modules/konfig { };
69666940