2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-04-20 20:55:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-01 18:11:18 +00:00
|
|
|
pname = "wakelan";
|
|
|
|
version = "1.1";
|
2011-04-20 20:55:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-13 20:27:23 +00:00
|
|
|
url = "mirror://ibiblioPubLinux/system/network/misc/${pname}-${version}.tar.gz";
|
|
|
|
hash = "sha256-PfXrj4d2SHmatiPPFxjsxvhusML1HTRNjoYEQtzFzW8=";
|
2011-04-20 20:55:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/man/man1 $out/bin
|
2011-04-20 20:55:46 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Send a wake-on-lan packet";
|
2022-03-13 20:27:23 +00:00
|
|
|
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;
|
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.unix;
|
2011-04-20 20:55:46 +00:00
|
|
|
};
|
|
|
|
}
|