Files
nixpkgs/pkgs/development/python-modules/aiounittest/default.nix
2025-03-09 21:40:18 +00:00

38 lines
776 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
wrapt,
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kwarunek";
repo = "aiounittest";
tag = version;
hash = "sha256-zX3KpDw7AaEwOLkiHX/ZD+rSMeN7qi9hOVAmVH6Jxgg=";
};
build-system = [ setuptools ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiounittest" ];
meta = with lib; {
changelog = "https://github.com/kwarunek/aiounittest/releases/tag/${src.tag}";
description = "Test asyncio code more easily";
homepage = "https://github.com/kwarunek/aiounittest";
license = licenses.mit;
maintainers = [ ];
};
}