nhost-cli: 1.28.2 -> 1.28.3 (#372273)
[NixPkgs.git] / pkgs / development / python-modules / pamqp / default.nix
blob184df403f5e72c0300a81d980741a0a2b8fcb22b
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   version = "3.3.0";
12   pname = "pamqp";
14   disabled = pythonOlder "3.7";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "gmr";
20     repo = "pamqp";
21     rev = version;
22     hash = "sha256-0vjiPBLd8afnATjmV2sINsBd4j7L544u5DA3jLiLSsY=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [
30     "pamqp.base"
31     "pamqp.body"
32     "pamqp.commands"
33     "pamqp.common"
34     "pamqp.decode"
35     "pamqp.encode"
36     "pamqp.exceptions"
37     "pamqp.frame"
38     "pamqp.header"
39     "pamqp.heartbeat"
40   ];
42   meta = with lib; {
43     changelog = "https://github.com/gmr/pamqp/blob/${src.rev}/docs/changelog.rst";
44     description = "RabbitMQ Focused AMQP low-level library";
45     homepage = "https://github.com/gmr/pamqp";
46     license = licenses.bsd3;
47     maintainers = with maintainers; [ dotlambda ];
48   };