nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 azure-common,
4 azure-core,
5 buildPythonPackage,
6 cryptography,
7 fetchPypi,
8 isodate,
9 setuptools,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-keyvault-keys";
15 version = "4.11.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 pname = "azure_keyvault_keys";
20 inherit version;
21 hash = "sha256-8lexkXosOoiYPj9WdaZBlEnrJiMYiI1bUeHLO+15d5o=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 azure-common
28 azure-core
29 cryptography
30 isodate
31 typing-extensions
32 ];
33
34 pythonNamespaces = [ "azure.keyvault" ];
35
36 # Tests require relative paths to utilities in the mono-repo
37 doCheck = false;
38
39 pythonImportsCheck = [
40 "azure"
41 "azure.core"
42 "azure.common"
43 "azure.keyvault"
44 "azure.keyvault.keys"
45 ];
46
47 meta = {
48 description = "Microsoft Azure Key Vault Keys Client Library for Python";
49 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-keys";
50 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-keyvault-keys_${version}/sdk/keyvault/azure-keyvault-keys";
51 license = lib.licenses.mit;
52 maintainers = [ ];
53 };
54}