Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142{ 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 = [ ]; license = lib.licenses.asl20; };}