2018-01-14 16:22:04 +00:00
|
|
|
{ stdenv, fetchurl, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2012-05-31";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "woof";
|
2019-06-19 16:45:34 +01:00
|
|
|
|
2018-01-14 16:22:04 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.home.unix-ag.org/simon/woof-${version}.py";
|
|
|
|
sha256 = "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
2019-06-19 16:45:34 +01:00
|
|
|
dontUnpack = true;
|
2018-01-14 16:22:04 +00:00
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp $src $out/bin/woof
|
|
|
|
chmod +x $out/bin/woof
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.home.unix-ag.org/simon/woof.html";
|
2018-01-14 16:22:04 +00:00
|
|
|
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;
|
2020-10-28 13:32:36 +00:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2018-01-14 16:22:04 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|