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