Files
nixpkgs/pkgs/development/python-modules/msrestazure/default.nix
T
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

55 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
];
};
}