blob: 0e1a630f0cc99dfc7fcbd525ca7f73bb6aa33068 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchPypi,
boto3,
pytestCheckHook,
# use for testing promoted localstack
pkgs,
}:
buildPythonPackage rec {
pname = "localstack-client";
version = "2.10";
format = "setuptools";
src = fetchPypi {
pname = "localstack_client";
inherit version;
hash = "sha256-cyoH4j//1qWBrycUu+AGrW+ISsT4rJVSEaimMyHNxAk=";
};
propagatedBuildInputs = [ boto3 ];
pythonImportsCheck = [ "localstack_client" ];
# All commands test `localstack` which is a downstream dependency
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Has trouble creating a socket
"test_session"
];
# For tests
__darwinAllowLocalNetworking = true;
passthru.tests = {
inherit (pkgs) localstack;
};
meta = with lib; {
description = "Lightweight Python client for LocalStack";
homepage = "https://github.com/localstack/localstack-python-client";
license = licenses.asl20;
maintainers = [ ];
};
}
|