ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pamqp / default.nix
bloba367a180807d04900699ab366d8433838a5bc762
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   version = "3.1.0";
10   pname = "pamqp";
12   disabled = pythonOlder "3.7";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "gmr";
18     repo = "pamqp";
19     rev = version;
20     hash = "sha256-qiYfQsyYvG6pyRFDt3pyYKNNWNP88maj+VAeGD68OmY=";
21   };
23   checkInputs = [
24     pytestCheckHook
25   ];
27   pythonImportsCheck = [
28     "pamqp.base"
29     "pamqp.body"
30     "pamqp.commands"
31     "pamqp.common"
32     "pamqp.decode"
33     "pamqp.encode"
34     "pamqp.exceptions"
35     "pamqp.frame"
36     "pamqp.header"
37     "pamqp.heartbeat"
38   ];
40   meta = with lib; {
41     description = "RabbitMQ Focused AMQP low-level library";
42     homepage = "https://github.com/gmr/pamqp";
43     license = licenses.bsd3;
44     maintainers = with maintainers; [ dotlambda ];
45   };