nixpkgs/pkgs/development/python-modules/azure-keyvault-administration/default.nix

48 lines
955 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, azure-common
, azure-core
, msrest
, six
}:
buildPythonPackage rec {
pname = "azure-keyvault-administration";
version = "4.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-2Xuyx1dAJRgiDEetQu1qnzTua7l/G5eSWOTI/UI/z00=";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
six
];
# 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 ];
};
}