2011-04-20 22:55:46 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wakelan-1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://metalab/system/network/misc/${name}.tar.gz";
|
|
|
|
sha256 = "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/man/man1 $out/bin
|
2011-04-20 22:55:46 +02: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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-04-20 22:55:46 +02:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
2016-12-26 21:56:34 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-04-20 22:55:46 +02:00
|
|
|
};
|
|
|
|
}
|