1 { pkgs ? import <nixpkgs> { }, lint ? false }:
3 pkgs.python3Packages.callPackage
4 ({ autopep8, buildPythonPackage, curl, lib, mypy, pylint, }:
5 buildPythonPackage rec {
8 src = lib.cleanSource ./.;
9 PIP_DISABLE_PIP_VERSION_CHECK = 1;
10 checkInputs = [ curl mypy ] ++ lib.optionals lint [ autopep8 pylint ];
12 checkPhase = "./test.sh";
14 description = "A minimal 'hello world' python web server.";
15 homepage = "https://git.scottworley.com/hellowebpy";
16 license = pkgs.lib.licenses.gpl3;
17 maintainers = with pkgs.lib.maintainers; [ chkno ];