mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
pythonPackages.django-sesame: init at 1.4 (#54926)
This commit is contained in:
parent
f5dbe5de07
commit
edbb9922c4
27
pkgs/development/python-modules/django-sesame/default.nix
Normal file
27
pkgs/development/python-modules/django-sesame/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user