diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jaraco-test/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/jaraco-test/default.nix | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jaraco-test/default.nix b/nixpkgs/pkgs/development/python-modules/jaraco-test/default.nix new file mode 100644 index 000000000000..cba2f375af35 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/jaraco-test/default.nix @@ -0,0 +1,56 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, setuptools +, setuptools-scm +, toml +, jaraco-functools +, jaraco-context +, more-itertools +, jaraco-collections +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "jaraco-test"; + version = "5.3.0"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + pname = "jaraco.test"; + inherit version; + hash = "sha256-f2f8xTlTgXGCPlqp+dA04ulRLOTzVNEb39hNtytGHUA="; + }; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + toml + jaraco-functools + jaraco-context + more-itertools + jaraco-collections + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "jaraco.test" + ]; + + meta = with lib; { + description = "Testing support by jaraco"; + homepage = "https://github.com/jaraco/jaraco.test"; + changelog = "https://github.com/jaraco/jaraco.test/blob/v${version}/CHANGES.rst"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} |