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