1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/networking/wakelan/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

30 lines
667 B
Nix

{ 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 = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
}