Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
888 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "duet"; version = "0.2.9"; pyproject = true;
disabled = pythonOlder "3.10";
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 = with lib; { description = "Simple future-based async library for python"; homepage = "https://github.com/google/duet"; maintainers = with maintainers; [ drewrisinger ]; };}