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

60 lines
1 KiB
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
, azure-common
, azure-core
, cryptography
, msrest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.5.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-x1AhiARXZXcky3A+DJXoCrvkqsonlkgdrdr6es/VY3s=";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
cryptography
];
checkInputs = [
aiohttp
pytestCheckHook
];
pythonNamespaces = [
"azure.keyvault"
];
# requires relative paths to utilities in the mono-repo
doCheck = false;
pythonImportsCheck = [
"azure"
"azure.core"
"azure.common"
"azure.keyvault"
"azure.keyvault.keys"
];
meta = with lib; {
description = "Microsoft Azure Key Vault Keys Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}