summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-09-28 18:00:39 +0200
committerGitHub <noreply@github.com>2016-09-28 18:00:39 +0200
commitc166675b534f7e9b62485d5a58b5054e7c0ac0bf (patch)
treea77e504cb742748f6e900e4b359e46db2557f908
parentae9d65eb219e02925fbdc280443233ddd804b783 (diff)
parent16547d49da77e4645d922172332f7a53cbb8aa36 (diff)
downloadnixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar.gz
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar.bz2
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar.lz
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar.xz
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.tar.zst
nixlib-c166675b534f7e9b62485d5a58b5054e7c0ac0bf.zip
Merge pull request #19033 from makefu/init-wol
wol: init at 0.7.1
-rw-r--r--pkgs/tools/networking/wol/default.nix22
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/wol/default.nix b/pkgs/tools/networking/wol/default.nix
new file mode 100644
index 000000000000..5349abec1614
--- /dev/null
+++ b/pkgs/tools/networking/wol/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "wol-${version}";
+  version = "0.7.1";
+  proj = "wake-on-lan";
+
+  enableParallelBuilding = true;
+
+  src = fetchurl {
+    url = "mirror://sourceforge/${proj}/${name}.tar.gz";
+    sha256 = "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270";
+  };
+
+  meta = {
+    description = "Implements Wake On LAN functionality in a small program";
+    homepage = https://sourceforge.net/projects/wake-on-lan/;
+    license = stdenv.lib.licenses.gpl2;
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = with stdenv.lib.maintainers; [ makefu ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9daa6dc5fdc0..32561aa5fdb8 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4177,6 +4177,8 @@ in
 
   wml = callPackage ../development/web/wml { };
 
+  wol = callPackage ../tools/networking/wol { };
+
   wring = nodePackages.wring;
 
   wrk = callPackage ../tools/networking/wrk { };