lol
1{ lib, python3Packages }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "updog";
5 version = "1.4";
6
7 src = python3Packages.fetchPypi {
8 inherit pname version;
9 sha256 = "7n/ddjF6eJklo+T79+/zBxSHryebc2W9gxwxsb2BbF4=";
10 };
11
12 propagatedBuildInputs = with python3Packages; [
13 colorama flask flask-httpauth werkzeug pyopenssl
14 ];
15
16 checkPhase = ''
17 $out/bin/updog --help > /dev/null
18 '';
19
20 meta = with lib; {
21 description = "Updog is a replacement for Python's SimpleHTTPServer";
22 homepage = "https://github.com/sc0tfree/updog";
23 license = licenses.mit;
24 maintainers = with maintainers; [ ethancedwards8 ];
25 };
26}