2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-04-20 21:55:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wakelan-1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://metalab/system/network/misc/${name}.tar.gz";
|
|
|
|
sha256 = "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/man/man1 $out/bin
|
2011-04-20 21:55:46 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Send a wake-on-lan packet";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' WakeLan sends a properly formatted UDP packet across the
|
|
|
|
network which will cause a wake-on-lan enabled computer to
|
|
|
|
power on.
|
|
|
|
'';
|
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2011-04-20 21:55:46 +01:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.unix;
|
2011-04-20 21:55:46 +01:00
|
|
|
};
|
|
|
|
}
|