summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-sesame/default.nix
blob: e24fff1efe77592e4d5ba22c20ff4bafce00ea26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildPythonPackage, fetchFromGitHub
, django }:

buildPythonPackage rec {
  pname = "django-sesame";
  version = "1.7";

  src = fetchFromGitHub {
    owner = "aaugustin";
    repo = pname;
    rev = version;
    sha256 = "0k8s44zn2jmasp0w064vrx685fn4pbmdfx8qmhkab1hd5ys6pi44";
  };

  checkInputs = [ django ];

  checkPhase = ''
    make test
  '';

  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 ];
  };
}