diff options
Diffstat (limited to 'awslocal.nix')
-rw-r--r-- | awslocal.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/awslocal.nix b/awslocal.nix new file mode 100644 index 0000000..1968b08 --- /dev/null +++ b/awslocal.nix @@ -0,0 +1,55 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + # build-system + setuptools, + setuptools-scm, + # dependencies + attrs, + pluggy, + py, + six, + # tests + hypothesis, +}: +buildPythonPackage rec { + pname = "awscli-local"; + version = "3.3.1"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-z4Q23FnYaVNG/NOrKW3kZCXsqwDWQJbOvnn7Ueyy65M="; + }; + + postPatch = '' + # don't test bash builtins + rm testing/test_argcomplete.py + ''; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ + attrs + py + setuptools + six + pluggy + ]; + + nativeCheckInputs = [ + hypothesis + ]; + + meta = { + changelog = "https://github.com/pytest-dev/pytest/releases/tag/${version}"; + description = "Framework for writing tests"; + homepage = "https://github.com/pytest-dev/pytest"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [domenkozar lovek323 madjar lsix]; + }; +} |