uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, GitPython
|
||||
, buildPythonApplication
|
||||
, emoji
|
||||
, fetchFromGitHub
|
||||
, filetype
|
||||
, ipython
|
||||
, junit-xml
|
||||
, lxml
|
||||
, mock
|
||||
, netaddr
|
||||
, pytestCheckHook
|
||||
, python3Packages
|
||||
, radish-bdd
|
||||
, semver
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "terraform-compliance";
|
||||
version = "1.2.11";
|
||||
|
||||
# No tests in Pypi package
|
||||
src = fetchFromGitHub {
|
||||
owner = "eerkunt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "161mszmxqp3wypnda48ama2mmq8yjilkxahwc1mxjwzy1n19sn7v";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "IPython==7.16.1" "IPython"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
"test_which_success"
|
||||
"test_readable_plan_file_is_not_json"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
GitPython
|
||||
emoji
|
||||
filetype
|
||||
ipython
|
||||
junit-xml
|
||||
lxml
|
||||
mock
|
||||
netaddr
|
||||
radish-bdd
|
||||
semver
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "BDD test framework for terraform";
|
||||
homepage = "https://github.com/eerkunt/terraform-compliance";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kalbasit ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue