1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/azure-keyvault-keys/default.nix
2019-12-30 16:46:49 +01:00

48 lines
981 B
Nix

{ lib, buildPythonPackage, isPy27, fetchPypi
, aiohttp
, azure-common
, azure-core
, azure-nspkg
, cryptography
, msrest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1l1fwm8plzr5zbv02nlvs0i8ssmd88cxm5lb19i54b3scci77hiq";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
cryptography
];
# requires relative paths to utilities in the mono-repo
doCheck = false;
checkInputs = [ aiohttp pytestCheckHook ];
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 ];
};
}