1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 # build-system
6 setuptools,
7 setuptools-scm,
8 # dependencies
9 attrs,
10 pluggy,
11 py,
12 six,
13 # tests
14 hypothesis,
15}:
16buildPythonPackage rec {
17 pname = "awscli-local";
18 version = "3.3.1";
19 pyproject = true;
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-z4Q23FnYaVNG/NOrKW3kZCXsqwDWQJbOvnn7Ueyy65M=";
24 };
25
26 postPatch = ''
27 # don't test bash builtins
28 rm testing/test_argcomplete.py
29 '';
30
31 build-system = [
32 setuptools
33 setuptools-scm
34 ];
35
36 dependencies = [
37 attrs
38 py
39 setuptools
40 six
41 pluggy
42 ];
43
44 nativeCheckInputs = [
45 hypothesis
46 ];
47
48 meta = {
49 changelog = "https://github.com/pytest-dev/pytest/releases/tag/${version}";
50 description = "Framework for writing tests";
51 homepage = "https://github.com/pytest-dev/pytest";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [domenkozar lovek323 madjar lsix];
54 };
55}