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
48
pkgs/tools/networking/cloud-custodian/default.nix
Normal file
48
pkgs/tools/networking/cloud-custodian/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib, buildPythonApplication, fetchPypi
|
||||
, argcomplete
|
||||
, boto3
|
||||
, botocore
|
||||
, certifi
|
||||
, python-dateutil
|
||||
, jsonpatch
|
||||
, jsonschema
|
||||
, pyyaml
|
||||
, tabulate
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "cloud-custodian";
|
||||
version = "0.8.45.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "c7n";
|
||||
inherit version;
|
||||
sha256 = "0c199gdmpm83xfghrbzp02xliyxiygsnx2fvb35j9qpf37wzzp3z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
argcomplete
|
||||
boto3
|
||||
botocore
|
||||
certifi
|
||||
python-dateutil
|
||||
jsonpatch
|
||||
jsonschema
|
||||
pyyaml
|
||||
tabulate
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Requires tox, many packages, and network access
|
||||
checkPhase = ''
|
||||
$out/bin/custodian --help
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rules engine for cloud security, cost optimization, and governance";
|
||||
homepage = "https://cloudcustodian.io";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue