2021-01-11 07:54:33 +00:00
{ lib , stdenv , buildPythonPackage , fetchFromGitHub
2020-10-25 12:49:32 +00:00
, django , requests , oauthlib
2019-09-23 11:19:03 +01:00
} :
buildPythonPackage rec {
pname = " d j a n g o - o a u t h - t o o l k i t " ;
version = " 1 . 2 . 0 " ;
src = fetchFromGitHub {
owner = " j a z z b a n d " ;
repo = pname ;
rev = version ;
sha256 = " 1 z b k s x r c x l q n a p m l v x 4 r g v p q c 4 p l g n q 0 x n f 4 5 c j w z w i 1 6 2 6 z s 8 g 6 " ;
} ;
2020-10-25 12:49:32 +00:00
propagatedBuildInputs = [ django requests oauthlib ] ;
2019-09-23 11:19:03 +01:00
# django.core.exceptions.ImproperlyConfigured: Requested setting OAUTH2_PROVIDER, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false ;
2021-01-11 07:54:33 +00:00
meta = with lib ; {
2019-09-23 11:19:03 +01:00
description = " O A u t h 2 g o o d i e s f o r t h e D j a n g o n a u t s " ;
2020-04-01 02:11:51 +01:00
homepage = " h t t p s : / / g i t h u b . c o m / j a z z b a n d / d j a n g o - o a u t h - t o o l k i t " ;
2019-09-23 11:19:03 +01:00
license = licenses . bsd2 ;
maintainers = with maintainers ; [ mmai ] ;
} ;
}