Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 720 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, requests, pyjwt, dateutil }: 3 4buildPythonPackage rec { 5 pname = "adal"; 6 version = "0.4.7"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "114046ac85d0054791c21b00922f26286822bc6f2ba3716db42e7e57f762ef20"; 12 }; 13 14 propagatedBuildInputs = [ requests pyjwt dateutil ]; 15 16 meta = with stdenv.lib; { 17 description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources"; 18 homepage = https://github.com/AzureAD/azure-activedirectory-library-for-python; 19 license = licenses.mit; 20 maintainers = with maintainers; [ phreedom ]; 21 }; 22}