2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-04-20 22:55:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-01 20:11:18 +02:00
|
|
|
pname = "wakelan";
|
|
|
|
version = "1.1";
|
2011-04-20 22:55:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-13 21:27:23 +01:00
|
|
|
url = "mirror://ibiblioPubLinux/system/network/misc/${pname}-${version}.tar.gz";
|
|
|
|
hash = "sha256-PfXrj4d2SHmatiPPFxjsxvhusML1HTRNjoYEQtzFzW8=";
|
2011-04-20 22:55:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2022-03-13 21:27:23 +01: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 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.unix;
|
2011-04-20 22:55:46 +02:00
|
|
|
};
|
|
|
|
}
|