nixpkgs/pkgs/development/python-modules/adal/default.nix
2020-05-11 22:12:09 +02:00

22 lines
690 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, requests, pyjwt, dateutil }:
buildPythonPackage rec {
pname = "adal";
version = "1.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "2ae7e02cea4552349fed6d8c9912da400f7e643fc30098defe0dcd01945e7c54";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];
meta = with stdenv.lib; {
description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python";
license = licenses.mit;
maintainers = with maintainers; [ phreedom ];
};
}