Adding 'wakelan', to use UDP wake on lan on ethernet.
svn path=/nixpkgs/trunk/; revision=26912
This commit is contained in:
parent
815c121458
commit
ee8b05eb70
@ -246,4 +246,10 @@ rec {
|
||||
ftp://ftp-archives.postgresql.org/pub/
|
||||
];
|
||||
|
||||
metalab = [
|
||||
ftp://mirrors.kernel.org/metalab/
|
||||
ftp://ftp.gwdg.de/pub/linux/metalab/
|
||||
ftp://ftp.xemacs.org/sites/metalab.unc.edu/
|
||||
];
|
||||
|
||||
}
|
||||
|
29
pkgs/tools/networking/wakelan/default.nix
Normal file
29
pkgs/tools/networking/wakelan/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wakelan-1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://metalab/system/network/misc/${name}.tar.gz";
|
||||
sha256 = "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
ensureDir $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 = "GPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1426,6 +1426,8 @@ let
|
||||
|
||||
vlan = callPackage ../tools/networking/vlan { };
|
||||
|
||||
wakelan = callPackage ../tools/networking/wakelan { };
|
||||
|
||||
w3cCSSValidator = callPackage ../tools/misc/w3c-css-validator {
|
||||
tomcat = tomcat6;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user