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