1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 jupyterhub,
7}:
8
9buildPythonPackage rec {
10 pname = "jupyterhub-tmpauthenticator";
11 version = "1.0.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-7TuAYP6mRffsZL+O+AMgt5HBu6PhwLYj5A8X8DnMfl0=";
19 };
20
21 propagatedBuildInputs = [ jupyterhub ];
22
23 # No tests available in the package
24 doCheck = false;
25
26 pythonImportsCheck = [ "tmpauthenticator" ];
27
28 meta = with lib; {
29 description = "Simple Jupyterhub authenticator that allows anyone to log in";
30 homepage = "https://github.com/jupyterhub/tmpauthenticator";
31 changelog = "https://github.com/jupyterhub/tmpauthenticator/blob/v${version}/CHANGELOG.md";
32 license = with licenses; [ bsd3 ];
33 maintainers = with maintainers; [ chiroptical ];
34 };
35}