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