nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 41 lines 877 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 pythonAtLeast, 8 wrapt, 9}: 10 11buildPythonPackage rec { 12 pname = "aiounittest"; 13 version = "1.5.0"; 14 pyproject = true; 15 16 # https://github.com/kwarunek/aiounittest/issues/28 17 disabled = pythonAtLeast "3.14"; 18 19 src = fetchFromGitHub { 20 owner = "kwarunek"; 21 repo = "aiounittest"; 22 tag = version; 23 hash = "sha256-zX3KpDw7AaEwOLkiHX/ZD+rSMeN7qi9hOVAmVH6Jxgg="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ wrapt ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "aiounittest" ]; 33 34 meta = { 35 changelog = "https://github.com/kwarunek/aiounittest/releases/tag/${src.tag}"; 36 description = "Test asyncio code more easily"; 37 homepage = "https://github.com/kwarunek/aiounittest"; 38 license = lib.licenses.mit; 39 maintainers = [ ]; 40 }; 41}