terraform-compliance: 1.2.11 -> 1.3.34
Diff: https://github.com/terraform-compliance/cli/compare/refs/tags/1.2.11...1.3.34 Changelog: https://github.com/terraform-compliance/cli/releases/tag/1.3.34
This commit is contained in:
parent
05ac8d66ec
commit
bc9510f2a1
1 changed files with 28 additions and 31 deletions
|
@ -1,48 +1,31 @@
|
||||||
{ lib
|
{ lib
|
||||||
, gitpython
|
|
||||||
, buildPythonApplication
|
|
||||||
, emoji
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, filetype
|
, python3
|
||||||
, ipython
|
|
||||||
, junit-xml
|
|
||||||
, lxml
|
|
||||||
, mock
|
|
||||||
, netaddr
|
|
||||||
, pytestCheckHook
|
|
||||||
, radish-bdd
|
|
||||||
, semver
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "terraform-compliance";
|
pname = "terraform-compliance";
|
||||||
version = "1.2.11";
|
version = "1.3.34";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eerkunt";
|
owner = "terraform-compliance";
|
||||||
repo = pname;
|
repo = "cli";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "161mszmxqp3wypnda48ama2mmq8yjilkxahwc1mxjwzy1n19sn7v";
|
sha256 = "sha256-1TFLpBwkpMMdiJJfVvDXlJg4SXWQ8VV605wMFGU+InQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "IPython==7.16.1" "IPython"
|
--replace "IPython==7.16.1" "IPython" \
|
||||||
|
--replace "diskcache==5.1.0" "diskcache>=5.1.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
diskcache
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
"test_which_success"
|
|
||||||
"test_readable_plan_file_is_not_json"
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
gitpython
|
|
||||||
emoji
|
emoji
|
||||||
filetype
|
filetype
|
||||||
|
gitpython
|
||||||
ipython
|
ipython
|
||||||
junit-xml
|
junit-xml
|
||||||
lxml
|
lxml
|
||||||
|
@ -52,9 +35,23 @@ buildPythonApplication rec {
|
||||||
semver
|
semver
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = with python3.pkgs; [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_which_success"
|
||||||
|
"test_readable_plan_file_is_not_json"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"terraform_compliance"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "BDD test framework for terraform";
|
description = "BDD test framework for terraform";
|
||||||
homepage = "https://github.com/eerkunt/terraform-compliance";
|
homepage = "https://github.com/terraform-compliance/cli";
|
||||||
|
changelog = "https://github.com/terraform-compliance/cli/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue