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

38 lines
889 B
Nix

{ 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 ];
};
}