depot/third_party/nixpkgs/pkgs/development/python-modules/aiounittest/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

36 lines
714 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
wrapt,
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kwarunek";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiounittest" ];
meta = with lib; {
description = "Test asyncio code more easily";
homepage = "https://github.com/kwarunek/aiounittest";
license = licenses.mit;
maintainers = [ ];
};
}