2020-02-08 23:53:33 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
2019-01-30 13:59:33 +01:00
|
|
|
, django }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-sesame";
|
2019-10-24 08:47:29 +02:00
|
|
|
version = "1.7";
|
2019-01-30 13:59:33 +01:00
|
|
|
|
2020-02-08 23:53:33 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aaugustin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0k8s44zn2jmasp0w064vrx685fn4pbmdfx8qmhkab1hd5ys6pi44";
|
2019-01-30 13:59:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ django ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2020-02-08 23:53:33 +01:00
|
|
|
make test
|
2019-01-30 13:59:33 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "URLs with authentication tokens for automatic login";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://github.com/aaugustin/django-sesame;
|
2019-01-30 13:59:33 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
|
|
};
|
|
|
|
}
|