1{ buildPythonPackage
2, fetchPypi
3, lib
4, isPy27
5
6# pythonPackages
7, msal
8, portalocker
9, pathlib2
10}:
11
12buildPythonPackage rec {
13 pname = "msal-extensions";
14 version = "0.2.2";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "31414753c484679bb3b6c6401623eb4c3ccab630af215f2f78c1d5c4f8e1d1a9";
19 };
20
21 propagatedBuildInputs = [
22 msal
23 portalocker
24 ] ++ lib.optionals isPy27 [
25 pathlib2
26 ];
27
28 # No tests found
29 doCheck = false;
30
31 meta = with lib; {
32 description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
33 homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
34 license = licenses.mit;
35 maintainers = with maintainers; [
36 kamadorueda
37 ];
38 };
39}