2019-04-29 22:54:49 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-10-23 11:01:41 +01:00
|
|
|
, python
|
|
|
|
, isPy3k
|
2019-04-29 22:54:49 +01:00
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
|
|
|
, azure-nspkg
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault";
|
2019-12-19 19:31:05 +00:00
|
|
|
version = "4.0.0";
|
2019-04-29 22:54:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2019-12-19 19:31:05 +00:00
|
|
|
sha256 = "e85f5bd6cb4f10b3248b99bbf02e3acc6371d366846897027d4153f18025a2d7";
|
2019-04-29 22:54:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-nspkg
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
cryptography
|
|
|
|
];
|
|
|
|
|
2019-10-23 11:01:41 +01:00
|
|
|
postInstall = lib.optionalString isPy3k ''
|
|
|
|
rm $out/${python.sitePackages}/azure/__init__.py
|
|
|
|
'';
|
|
|
|
|
2019-04-29 22:54:49 +01:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Key Vault Client Library";
|
2019-10-19 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:54:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
|
|
};
|
|
|
|
}
|