1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, jupyterhub
6}:
7
8buildPythonPackage rec {
9 pname = "jupyterhub-tmpauthenticator";
10 version = "0.6";
11 disabled = pythonOlder "3.5";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "064x1ypxwx1l270ic97p8czbzb7swl9758v40k3w2gaqf9762f0l";
16 };
17
18 propagatedBuildInputs = [ jupyterhub ];
19
20 # No tests available in the package
21 doCheck = false;
22
23 pythonImportsCheck = [ "tmpauthenticator" ];
24
25 meta = with lib; {
26 description = "Simple Jupyterhub authenticator that allows anyone to log in.";
27 license = with licenses; [ bsd3 ];
28 homepage = "https://github.com/jupyterhub/tmpauthenticator";
29 maintainers = with maintainers; [ chiroptical ];
30 };
31}