blob: c80bce22ef2c1dc2172b41755f8cc6424e900b4d (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "duet";
version = "0.2.9";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "duet";
tag = "v${version}";
hash = "sha256-P7JxUigD7ZyhtocV+YuAVxuUYVa4F7PpXuA1CCmcMvg=";
};
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "duet" ];
disabledTests = [
# test fails because builder is too busy and cannot finish quickly enough
"test_repeated_sleep"
];
meta = {
description = "Simple future-based async library for python";
homepage = "https://github.com/google/duet";
maintainers = [ ];
};
}
|