pythonPackages.django-sesame: init at 1.4 (#54926)

This commit is contained in:
Enno Lohmeier 2019-01-30 13:59:33 +01:00 committed by Robert Schütz
parent f5dbe5de07
commit edbb9922c4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi
, django }:
buildPythonPackage rec {
pname = "django-sesame";
version = "1.4";
src = fetchPypi {
inherit pname version;
sha256 = "081q3vd9waiajiipg99flw0vlzk920sz07067v3n5774gx0qhbaa";
};
checkInputs = [ django ];
checkPhase = ''
PYTHONPATH="$(pwd):$PYTHONPATH" \
DJANGO_SETTINGS_MODULE=sesame.test_settings \
django-admin test sesame
'';
meta = with lib; {
description = "URLs with authentication tokens for automatic login";
homepage = http://github.com/aaugustin/django-sesame;
license = licenses.bsd3;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -276,6 +276,8 @@ in {
braintree = callPackage ../development/python-modules/braintree { };
django-sesame = callPackage ../development/python-modules/django-sesame { };
breathe = callPackage ../development/python-modules/breathe { };
brotli = callPackage ../development/python-modules/brotli { };