depot/third_party/nixpkgs/pkgs/development/python-modules/msrestazure/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

54 lines
986 B
Nix

{
lib,
adal,
buildPythonPackage,
fetchFromGitHub,
httpretty,
mock,
msrest,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "msrestazure";
version = "0.6.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Azure";
repo = "msrestazure-for-python";
rev = "refs/tags/v${version}";
hash = "sha256-ZZVZi0v1ucD2g5FpLaNhfNBf6Ab10fUEcEdkY4ELaEY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
adal
msrest
];
nativeCheckInputs = [
httpretty
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "msrest" ];
meta = with lib; {
description = "Runtime library 'msrestazure' for AutoRest generated Python clients";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.mit;
maintainers = with maintainers; [
bendlas
jonringer
];
};
}