2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, jupyterhub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterhub-tmpauthenticator";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-7TuAYP6mRffsZL+O+AMgt5HBu6PhwLYj5A8X8DnMfl0=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
jupyterhub
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
# No tests available in the package
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"tmpauthenticator"
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-08-22 20:05:09 +00:00
|
|
|
description = "Simple Jupyterhub authenticator that allows anyone to log in";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/jupyterhub/tmpauthenticator";
|
2023-08-22 20:05:09 +00:00
|
|
|
changelog = "https://github.com/jupyterhub/tmpauthenticator/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = with licenses; [ bsd3 ];
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ chiroptical ];
|
|
|
|
};
|
|
|
|
}
|