depot/third_party/nixpkgs/pkgs/development/python-modules/msal-extensions/default.nix
Default email d6cfb865ad Project import generated by Copybara.
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
2020-10-18 20:13:06 -04:00

39 lines
759 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, isPy27
# pythonPackages
, msal
, pathlib2
, portalocker
}:
buildPythonPackage rec {
pname = "msal-extensions";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "31414753c484679bb3b6c6401623eb4c3ccab630af215f2f78c1d5c4f8e1d1a9";
};
propagatedBuildInputs = [
msal
portalocker
] ++ lib.optionals isPy27 [
pathlib2
];
# No tests found
doCheck = false;
meta = with lib; {
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda
];
};
}