Files
nixpkgs/pkgs/development/python-modules/msal-extensions/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

45 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
msal,
portalocker,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "msal-extensions";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AzureAD";
repo = "microsoft-authentication-extensions-for-python";
rev = "refs/tags/${version}";
hash = "sha256-ScInTvOgFxP5mgep5FRu6YZHPTtXhrcZGFE7Wdvcm4c=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
msal
portalocker
];
# No tests found
doCheck = false;
pythonImportsCheck = [ "msal_extensions" ];
meta = with lib; {
description = "Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python";
changelog = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}