2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "updog";
|
|
|
|
version = "1.4";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-06-28 23:13:55 +00:00
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "updog";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/sc0tfree/updog";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
|
|
|
};
|
|
|
|
}
|