33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
607 B
Nix
27 lines
607 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub
|
|
, django }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-sesame";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aaugustin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0k8s44zn2jmasp0w064vrx685fn4pbmdfx8qmhkab1hd5ys6pi44";
|
|
};
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|