2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python3 }:
|
2018-01-14 16:22:04 +00:00
|
|
|
|
2023-05-16 14:30:00 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "woof";
|
2023-05-16 14:30:00 +00:00
|
|
|
version = "2022-01-13";
|
2019-06-19 15:45:34 +00:00
|
|
|
|
2020-12-17 17:52:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simon-budig";
|
|
|
|
repo = "woof";
|
2023-05-16 14:30:00 +00:00
|
|
|
rev = "f51e9db264118d4cbcd839348c4a6223fda49813";
|
|
|
|
sha256 = "sha256-tk55q2Ew2mZkQtkxjWCuNgt9t+UbjH4llIJ42IruqGY=";
|
2018-01-14 16:22:04 +00:00
|
|
|
};
|
|
|
|
|
2020-12-17 17:52:52 +00:00
|
|
|
propagatedBuildInputs = [ python3 ];
|
2018-01-14 16:22:04 +00:00
|
|
|
|
2020-12-17 17:52:52 +00:00
|
|
|
installPhase = ''
|
2023-05-16 14:30:00 +00:00
|
|
|
runHook preInstall
|
|
|
|
install -Dm555 -t $out/bin woof
|
|
|
|
runHook postInstall
|
2020-12-17 17:52:52 +00:00
|
|
|
'';
|
2018-01-14 16:22:04 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-10-28 13:32:36 +00:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "woof";
|
2018-01-14 16:22:04 +00:00
|
|
|
};
|
|
|
|
}
|