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