2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python3 }:
|
2018-01-14 17:22:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-12-17 18:52:52 +01:00
|
|
|
version = "2020-12-17";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "woof";
|
2019-06-19 17:45:34 +02:00
|
|
|
|
2020-12-17 18:52:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simon-budig";
|
|
|
|
repo = "woof";
|
|
|
|
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
|
|
|
|
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
|
2018-01-14 17:22:04 +01:00
|
|
|
};
|
|
|
|
|
2020-12-17 18:52:52 +01:00
|
|
|
propagatedBuildInputs = [ python3 ];
|
2018-01-14 17:22:04 +01:00
|
|
|
|
2019-06-19 17:45:34 +02:00
|
|
|
dontUnpack = true;
|
2018-01-14 17:22:04 +01:00
|
|
|
|
2020-12-17 18:52:52 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp $src/woof $out/bin/woof
|
|
|
|
chmod +x $out/bin/woof
|
|
|
|
'';
|
2018-01-14 17:22:04 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.home.unix-ag.org/simon/woof.html";
|
2018-01-14 17:22:04 +01:00
|
|
|
description = "Web Offer One File - Command-line utility to easily exchange files over a local network";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-10-28 14:32:36 +01:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2018-01-14 17:22:04 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|