depot/third_party/nixpkgs/pkgs/development/python-modules/azure-keyvault-certificates/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

48 lines
898 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, azure-core
, msrest
, msrestazure
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-keyvault-certificates";
version = "4.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-DAFU84AbI4Tdf6TtYDZvSwrpERxf/MqHjQU2igBLh88=";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
msrestazure
];
pythonNamespaces = [
"azure.keyvault"
];
# has no tests
doCheck = false;
pythonImportsCheck = [
"azure.keyvault.certificates"
];
meta = with lib; {
description = "Microsoft Azure Key Vault Certificates Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}