diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest-archon/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pytest-archon/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-archon/default.nix b/pkgs/development/python-modules/pytest-archon/default.nix new file mode 100644 index 000000000000..643d1ae988c7 --- /dev/null +++ b/pkgs/development/python-modules/pytest-archon/default.nix @@ -0,0 +1,44 @@ +{ + buildPythonPackage, + fetchFromGitHub, + lib, + pytest, + pytestCheckHook, + setuptools, + setuptools-scm, +}: + +buildPythonPackage rec { + pname = "pytest-archon"; + version = "0.0.6"; + pyproject = true; + + src = fetchFromGitHub { + owner = "jwbargsten"; + repo = "pytest-archon"; + tag = "v${version}"; + hash = "sha256-ZKs7ifqgazEywszPGxkcPCf2WD2tEpEsbh8kHN/PL7s="; + }; + + build-system = [ + setuptools + setuptools-scm + ]; + + buildInputs = [ + pytest + ]; + + pythonImportsCheck = [ "pytest_archon" ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + meta = { + description = "Tool that helps you structure (large) Python projects"; + homepage = "https://github.com/jwbargsten/pytest-archon"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} |
