aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/jupyterhub-tmpauthenticator/default.nix
blob: 2aef23fe4a4ab9d6de6523b58dbff51f461523f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, jupyterhub
}:

buildPythonPackage rec {
  pname = "jupyterhub-tmpauthenticator";
  version = "0.6";
  disabled = pythonOlder "3.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "064x1ypxwx1l270ic97p8czbzb7swl9758v40k3w2gaqf9762f0l";
  };

  propagatedBuildInputs = [ jupyterhub ];

  # No tests available in the package
  doCheck = false;

  pythonImportsCheck = [ "tmpauthenticator" ];

  meta = with lib; {
    description = "Simple Jupyterhub authenticator that allows anyone to log in.";
    license = with licenses; [ bsd3 ];
    homepage = "https://github.com/jupyterhub/tmpauthenticator";
    maintainers = with maintainers; [ chiroptical ];
  };
}