Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / jupyterhub-tmpauthenticator / default.nix
blob0c18569c4b5c5659564951bdb5aaa7e826888486
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , jupyterhub
6 }:
8 buildPythonPackage rec {
9   pname = "jupyterhub-tmpauthenticator";
10   version = "1.0.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.8";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-7TuAYP6mRffsZL+O+AMgt5HBu6PhwLYj5A8X8DnMfl0=";
18   };
20   propagatedBuildInputs = [
21     jupyterhub
22   ];
24   # No tests available in the package
25   doCheck = false;
27   pythonImportsCheck = [
28     "tmpauthenticator"
29   ];
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   };