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

38 lines
886 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, azure-core
, msrest
}:
buildPythonPackage rec {
pname = "azure-keyvault-administration";
version = "4.1.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-m5dkKUZoPkpUzSW1K39+wpIfWHc2oRyxMetOf/Ybzuc=";
};
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 ];
};
}