From 9fcdfe5d6b1c5d518d79345571038d90b6bd6dbf Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Mon, 23 Jun 2025 15:41:24 +0200 Subject: feat: Add configuration from private dotfiles repo --- awslocal.nix | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 awslocal.nix (limited to 'awslocal.nix') 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]; + }; +} -- cgit v1.2.3