blob: 0c7fad002e89f9f2a9bd38b459a86f08d33d84e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ 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 = "The 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 ];
};
}
|