diff options
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/updog/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/updog/default.nix b/pkgs/tools/networking/updog/default.nix new file mode 100644 index 000000000000..22942891d6a0 --- /dev/null +++ b/pkgs/tools/networking/updog/default.nix @@ -0,0 +1,26 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "updog"; + version = "1.4"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "7n/ddjF6eJklo+T79+/zBxSHryebc2W9gxwxsb2BbF4="; + }; + + propagatedBuildInputs = with python3Packages; [ + colorama flask flask-httpauth werkzeug pyopenssl + ]; + + checkPhase = '' + $out/bin/updog --help > /dev/null + ''; + + meta = with lib; { + description = "Updog is a replacement for Python's SimpleHTTPServer"; + homepage = "https://github.com/sc0tfree/updog"; + license = licenses.mit; + maintainers = with maintainers; [ ethancedwards8 ]; + }; +} |