nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, isPy27, fetchPypi
2, aiohttp
3, azure-common
4, azure-core
5, azure-nspkg
6, cryptography
7, msrest
8, pytestCheckHook
9}:
10
11buildPythonPackage rec {
12 pname = "azure-keyvault-keys";
13 version = "4.3.1";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "fbf67bca913ebf68b9075ee9d2e2b899dc3c7892cc40abfe1b08220a382f6ed9";
20 };
21
22 propagatedBuildInputs = [
23 azure-common
24 azure-core
25 msrest
26 cryptography
27 ];
28
29 pythonNamespaces = [ "azure.keyvault" ];
30
31 # requires relative paths to utilities in the mono-repo
32 doCheck = false;
33 checkInputs = [ aiohttp pytestCheckHook ];
34
35 pythonImportsCheck = [
36 "azure"
37 "azure.core"
38 "azure.common"
39 "azure.keyvault"
40 "azure.keyvault.keys"
41 ];
42
43 meta = with lib; {
44 description = "Microsoft Azure Key Vault Keys Client Library for Python";
45 homepage = "https://github.com/Azure/azure-sdk-for-python";
46 license = licenses.mit;
47 maintainers = with maintainers; [ jonringer ];
48 };
49}