summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jupyterhub-tmpauthenticator/default.nix
blob: 70f3ac436c2fa7bfd83c71f8feb9aebaa74c7b69 (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
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  jupyterhub,
}:

buildPythonPackage rec {
  pname = "jupyterhub-tmpauthenticator";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7TuAYP6mRffsZL+O+AMgt5HBu6PhwLYj5A8X8DnMfl0=";
  };

  propagatedBuildInputs = [ jupyterhub ];

  # No tests available in the package
  doCheck = false;

  pythonImportsCheck = [ "tmpauthenticator" ];

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