2021-01-05 17:05:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-01-05 17:05:55 +00:00
|
|
|
version = "2020-12-17";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "woof";
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simon-budig";
|
|
|
|
repo = "woof";
|
|
|
|
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
|
|
|
|
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
propagatedBuildInputs = [ python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp $src/woof $out/bin/woof
|
|
|
|
chmod +x $out/bin/woof
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
2020-11-03 02:18:15 +00:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|