{ pkgs ? import { }, lint ? false }: pkgs.python3Packages.callPackage ({ autopep8, buildPythonPackage, curl, lib, mypy, pylint, }: buildPythonPackage rec { pname = "hellowebpy"; version = "1.0.1"; src = lib.cleanSource ./.; PIP_DISABLE_PIP_VERSION_CHECK = 1; nativeCheckInputs = [ curl mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; meta = { description = "A minimal 'hello world' python web server."; homepage = "https://git.scottworley.com/hellowebpy"; license = pkgs.lib.licenses.gpl3; maintainers = with pkgs.lib.maintainers; [ chkno ]; }; }) { }