aws-encryption-sdk-cli: init at 4.1.0
This commit is contained in:
parent
212f361bc5
commit
c8866dd302
52
pkgs/tools/admin/aws-encryption-sdk-cli/default.nix
Normal file
52
pkgs/tools/admin/aws-encryption-sdk-cli/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchPypi
|
||||
, nix-update-script
|
||||
, testers
|
||||
, aws-encryption-sdk-cli
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "aws-encryption-sdk-cli";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OCbt0OkDVfpzUIogbsKzaPAle2L6l6N3cmZoS2hEaSM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
attrs
|
||||
aws-encryption-sdk
|
||||
base64io
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
mock
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires networking
|
||||
"test/integration"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
package = aws-encryption-sdk-cli;
|
||||
command = "aws-encryption-cli --version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://aws-encryption-sdk-cli.readthedocs.io/";
|
||||
changelog = "https://github.com/aws/aws-encryption-sdk-cli/blob/v${version}/CHANGELOG.rst";
|
||||
description = "CLI wrapper around aws-encryption-sdk-python";
|
||||
license = licenses.apsl20;
|
||||
maintainers = with maintainers; [ anthonyroussel ];
|
||||
};
|
||||
}
|
@ -3246,6 +3246,8 @@ with pkgs;
|
||||
|
||||
aliyun-cli = callPackage ../tools/admin/aliyun-cli { };
|
||||
|
||||
aws-encryption-sdk-cli = callPackage ../tools/admin/aws-encryption-sdk-cli { };
|
||||
|
||||
aws-iam-authenticator = callPackage ../tools/security/aws-iam-authenticator { };
|
||||
|
||||
awscli = callPackage ../tools/admin/awscli { };
|
||||
|
Loading…
Reference in New Issue
Block a user