linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / promise / default.nix
blob403f0c097916335af2d34702d668b80030a90423
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , six
5 , pytestCheckHook
6 , mock
7 , pytest-asyncio
8 }:
10 buildPythonPackage rec {
11   pname = "promise";
12   version = "2.3.0";
14   src = fetchFromGitHub {
15     owner = "syrusakbary";
16     repo = "promise";
17     rev = "v${version}";
18     sha256 = "17mq1bm78xfl0x1g50ng502m5ldq6421rzz35hlqafsj0cq8dkp6";
19   };
21   propagatedBuildInputs = [
22     six
23   ];
25   checkInputs = [
26     pytestCheckHook
27     mock
28     pytest-asyncio
29   ];
31   disabledTestPaths = [
32     "tests/test_benchmark.py"
33   ];
35   meta = with lib; {
36     description = "Ultra-performant Promise implementation in Python";
37     homepage = "https://github.com/syrusakbary/promise";
38     license = licenses.mit;
39     maintainers = with maintainers; [
40       kamadorueda
41     ];
42   };