depot/third_party/nixpkgs/pkgs/development/python-modules/promise/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

43 lines
761 B
Nix

{ 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
];
};
}