3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/wakelan/default.nix

30 lines
686 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "wakelan-1.1";
src = fetchurl {
url = "mirror://metalab/system/network/misc/${name}.tar.gz";
sha256 = "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x";
};
preInstall = ''
mkdir -p $out/man/man1 $out/bin
'';
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.
'';
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.unix;
};
}