nixpkgs/pkgs/development/python-modules/adal/default.nix

22 lines
690 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, requests, pyjwt, dateutil }:
buildPythonPackage rec {
pname = "adal";
2020-05-09 12:01:42 +02:00
version = "1.2.3";
src = fetchPypi {
inherit pname version;
2020-05-09 12:01:42 +02:00
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 ];
};
}