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