diff options
Diffstat (limited to 'pkgs/development/python-modules/adal/default.nix')
-rw-r--r-- | pkgs/development/python-modules/adal/default.nix | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/adal/default.nix b/pkgs/development/python-modules/adal/default.nix index cbce5d2af1484..bb6b018fd8490 100644 --- a/pkgs/development/python-modules/adal/default.nix +++ b/pkgs/development/python-modules/adal/default.nix @@ -1,17 +1,19 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, httpretty -, pyjwt -, pytestCheckHook -, python-dateutil -, requests +{ + lib, + buildPythonPackage, + fetchFromGitHub, + httpretty, + pyjwt, + pytestCheckHook, + python-dateutil, + requests, + setuptools, }: buildPythonPackage rec { pname = "adal"; version = "1.2.7"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "AzureAD"; @@ -24,7 +26,9 @@ buildPythonPackage rec { sed -i '/cryptography/d' setup.py ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ pyjwt python-dateutil requests @@ -40,14 +44,12 @@ buildPythonPackage rec { "test_failed_request" ]; - pythonImportsCheck = [ - "adal" - ]; + pythonImportsCheck = [ "adal" ]; meta = with lib; { description = "Python module 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; [ ]; + maintainers = [ ]; }; } |