about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/promise/default.nix
blob: 403f0c097916335af2d34702d668b80030a90423 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ buildPythonPackage
, fetchFromGitHub
, lib
, six
, pytestCheckHook
, mock
, pytest-asyncio
}:

buildPythonPackage rec {
  pname = "promise";
  version = "2.3.0";

  src = fetchFromGitHub {
    owner = "syrusakbary";
    repo = "promise";
    rev = "v${version}";
    sha256 = "17mq1bm78xfl0x1g50ng502m5ldq6421rzz35hlqafsj0cq8dkp6";
  };

  propagatedBuildInputs = [
    six
  ];

  checkInputs = [
    pytestCheckHook
    mock
    pytest-asyncio
  ];

  disabledTestPaths = [
    "tests/test_benchmark.py"
  ];

  meta = with lib; {
    description = "Ultra-performant Promise implementation in Python";
    homepage = "https://github.com/syrusakbary/promise";
    license = licenses.mit;
    maintainers = with maintainers; [
      kamadorueda
    ];
  };
}