at 22.05-pre 605 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, typing-extensions 6}: 7 8buildPythonPackage rec { 9 pname = "duet"; 10 version = "0.2.1"; 11 12 src = fetchFromGitHub { 13 owner = "google"; 14 repo = "duet"; 15 rev = "v${version}"; 16 sha256 = "sha256-hK2Cx7dSm1mGM2z9oCoRogfa2aIsjyJcdpSSfdHhPmw="; 17 }; 18 19 propagatedBuildInputs = [ typing-extensions ]; 20 21 checkInputs = [ 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}