Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3684b6b
commit 5b2a71f
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ stdenv, lib, fetchFromGitHub, wrapPython }: | ||
|
||
with lib; | ||
|
||
stdenv.mkDerivation rec { | ||
name = "droopy-${version}"; | ||
version = "20160830"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "stackp"; | ||
repo = "Droopy"; | ||
rev = "7a9c7bc46c4ff8b743755be86a9b29bd1a8ba1d9"; | ||
sha256 = "03i1arwyj9qpfyyvccl21lbpz3rnnp1hsadvc0b23nh1z2ng9sff"; | ||
}; | ||
|
||
nativeBuildInputs = [ wrapPython ]; | ||
|
||
installPhase = '' | ||
install -vD droopy $out/bin/droopy | ||
install -vD -m 644 man/droopy.1 $out/share/man/man1/droopy.1 | ||
wrapPythonPrograms | ||
''; | ||
|
||
meta = { | ||
description = "Mini Web server that let others upload files to your computer"; | ||
homepage = http://stackp.online.fr/droopy; | ||
license = licenses.bsd3; | ||
maintainers = maintainers.profpatsch; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters