nixpkgs/pkgs/development/python-modules/promise/default.nix

44 lines
761 B
Nix
Raw Normal View History

2020-02-09 14:49:08 +00:00
{ buildPythonPackage
2021-03-22 13:24:10 +00:00
, fetchFromGitHub
2020-02-09 14:49:08 +00:00
, lib
2021-03-22 13:24:10 +00:00
, six
, pytestCheckHook
2020-02-09 14:49:08 +00:00
, mock
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "promise";
2021-03-22 13:24:10 +00:00
version = "2.3.0";
2020-02-09 14:49:08 +00:00
2021-03-22 13:24:10 +00:00
src = fetchFromGitHub {
owner = "syrusakbary";
repo = "promise";
rev = "v${version}";
sha256 = "17mq1bm78xfl0x1g50ng502m5ldq6421rzz35hlqafsj0cq8dkp6";
2020-02-09 14:49:08 +00:00
};
propagatedBuildInputs = [
six
];
checkInputs = [
2021-03-22 13:24:10 +00:00
pytestCheckHook
2020-02-09 14:49:08 +00:00
mock
pytest-asyncio
2021-03-22 13:24:10 +00:00
];
disabledTestPaths = [
"tests/test_benchmark.py"
2020-02-09 14:49:08 +00:00
];
meta = with lib; {
description = "Ultra-performant Promise implementation in Python";
homepage = "https://github.com/syrusakbary/promise";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda
];
};
}