about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/kombu/default.nix
blob: fef8345a980e1cbc62ea26c5cbf19dd5cbe904d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, Pyro4, amqp }:

buildPythonPackage rec {
  pname = "kombu";
  version = "4.6.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "eb365ea795cd7e629ba2f1f398e0c3ba354b91ef4de225ffdf6ab45fdfc7d581";
  };

  postPatch = ''
    substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
  '';

  checkInputs = [ pytest case pytz Pyro4 ];

  propagatedBuildInputs = [ amqp ];

  meta = with lib; {
    description = "Messaging library for Python";
    homepage    = https://github.com/celery/kombu;
    license     = licenses.bsd3;
  };
}