1{ lib, buildPythonPackage, fetchFromGitHub
2, django }:
3
4buildPythonPackage rec {
5 pname = "django-sesame";
6 version = "1.7";
7
8 src = fetchFromGitHub {
9 owner = "aaugustin";
10 repo = pname;
11 rev = version;
12 sha256 = "0k8s44zn2jmasp0w064vrx685fn4pbmdfx8qmhkab1hd5ys6pi44";
13 };
14
15 checkInputs = [ django ];
16
17 checkPhase = ''
18 make test
19 '';
20
21 meta = with lib; {
22 description = "URLs with authentication tokens for automatic login";
23 homepage = "https://github.com/aaugustin/django-sesame";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ elohmeier ];
26 };
27}