python3Packages.pyinfra-testgen: init at 0.1.1

This commit is contained in:
Robert Schütz
2026-01-13 08:30:03 -08:00
parent f0423aa636
commit f9709be503
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchPypi,
uv-build,
pyyaml,
}:
buildPythonPackage rec {
pname = "pyinfra-testgen";
version = "0.1.1";
pyproject = true;
# no tags on GitHub
src = fetchPypi {
pname = "pyinfra_testgen";
inherit version;
hash = "sha256-c5pZ0SfRXC50vJZfnnf0HQgImf7hi2oQ5/XKMVNzlpc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.8.14,<0.9.0" uv_build
'';
build-system = [ uv-build ];
dependencies = [
pyyaml
];
pythonImportsCheck = [ "testgen" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Generate Python unit tests from JSON and YAML files";
homepage = "https://github.com/pyinfra-dev/testgen";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -13627,6 +13627,8 @@ self: super: with self; {
pyinfra = callPackage ../development/python-modules/pyinfra { };
pyinfra-testgen = callPackage ../development/python-modules/pyinfra-testgen { };
pyinotify = callPackage ../development/python-modules/pyinotify { };
pyinputevent = callPackage ../development/python-modules/pyinputevent { };