1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/django-sesame/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

28 lines
657 B
Nix

{ 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 = https://github.com/aaugustin/django-sesame;
license = licenses.bsd3;
maintainers = with maintainers; [ elohmeier ];
};
}