forked from mirrors/nixpkgs
updog: init at 1.4
This commit is contained in:
parent
35aa6b0fd8
commit
494ba50fc3
26
pkgs/tools/networking/updog/default.nix
Normal file
26
pkgs/tools/networking/updog/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -4380,6 +4380,8 @@ in
|
|||
|
||||
trompeloeil = callPackage ../development/libraries/trompeloeil { };
|
||||
|
||||
updog = callPackage ../tools/networking/updog { };
|
||||
|
||||
uudeview = callPackage ../tools/misc/uudeview { };
|
||||
|
||||
uusi = haskell.lib.justStaticExecutables haskellPackages.uusi;
|
||||
|
|
Loading…
Reference in a new issue