diff --git a/pkgs/development/python-modules/azure-keyvault-administration/default.nix b/pkgs/development/python-modules/azure-keyvault-administration/default.nix new file mode 100644 index 000000000000..e72dc036989b --- /dev/null +++ b/pkgs/development/python-modules/azure-keyvault-administration/default.nix @@ -0,0 +1,37 @@ +{ lib, buildPythonPackage, fetchPypi, isPy27 +, azure-common +, azure-core +, msrest +}: + +buildPythonPackage rec { + pname = "azure-keyvault-administration"; + version = "4.0.0b1"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "1kmf2x3jdmfm9c7ldvajzckkm79gxxvl1l2968lizjwiyjbbsih5"; + }; + + propagatedBuildInputs = [ + azure-common + azure-core + msrest + ]; + + # no tests in pypi tarball + doCheck = false; + + pythonNamespaces = [ "azure.keyvault" ]; + + pythonImportsCheck = [ "azure.keyvault.administration" ]; + + meta = with lib; { + description = "Microsoft Azure Key Vault Administration Client Library for Python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-administration"; + license = licenses.mit; + maintainers = with maintainers; [ jonringer ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 61b50ea9ac6b..702727e8bb82 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -520,6 +520,8 @@ in { azure-keyvault = callPackage ../development/python-modules/azure-keyvault { }; + azure-keyvault-administration = callPackage ../development/python-modules/azure-keyvault-administration { }; + azure-keyvault-certificates = callPackage ../development/python-modules/azure-keyvault-certificates { }; azure-keyvault-keys = callPackage ../development/python-modules/azure-keyvault-keys { };