blob: 29b51a678dbf9c919c69a76b3a9d197fb8a2aca5 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 ];
};
}
|