diff options
Diffstat (limited to 'pkgs/tools/misc/woof/default.nix')
-rw-r--r-- | pkgs/tools/misc/woof/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/misc/woof/default.nix b/pkgs/tools/misc/woof/default.nix new file mode 100644 index 000000000000..1fd9f4567054 --- /dev/null +++ b/pkgs/tools/misc/woof/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, python }: + +stdenv.mkDerivation rec { + version = "2012-05-31"; + name = "woof-${version}"; + + src = fetchurl { + url = "http://www.home.unix-ag.org/simon/woof-${version}.py"; + sha256 = "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572"; + }; + + buildInputs = [ python ]; + + unpackPhase = "true"; + + installPhase = + '' + mkdir -p $out/bin + cp $src $out/bin/woof + chmod +x $out/bin/woof + ''; + + meta = with stdenv.lib; { + homepage = http://www.home.unix-ag.org/simon/woof.html; + description = "Web Offer One File - Command-line utility to easily exchange files over a local network"; + license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ lschuermann ]; + }; +} + |