1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, typing-extensions
6}:
7
8buildPythonPackage rec {
9 pname = "duet";
10 version = "0.2.7";
11
12 src = fetchFromGitHub {
13 owner = "google";
14 repo = "duet";
15 rev = "v${version}";
16 hash = "sha256-9CTAupAxZI1twoLpgr7VfECw70QunE6pk+SskiT3JDw=";
17 };
18
19 propagatedBuildInputs = [ typing-extensions ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 meta = with lib; {
24 description = "A simple future-based async library for python";
25 homepage = "https://github.com/google/duet";
26 maintainers = with maintainers; [ drewrisinger ];
27 };
28}