blob: 9907829421f98f4ed8d05562870effb515e2a043 (
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
|
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "terraform_local";
version = "0.20.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ki/9KglAmfzoHgf+wR6LteBQH696q5KE/Fi/tTEqCIg=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
python-hcl2
packaging
localstack-client
];
# Can’t run `pytestCheckHook` because the tests are integration tests and expect localstack to be present, which in turn expects docker to be running.
doCheck = false;
# There is no `pythonImportsCheck` because the package only outputs a binary: tflocal
dontUsePythonImportsCheck = true;
meta = with lib; {
description = "Terraform CLI wrapper to deploy your Terraform applications directly to LocalStack";
homepage = "https://github.com/localstack/terraform-local";
license = licenses.asl20;
maintainers = with maintainers; [ shivaraj-bh ];
};
}
|