diff --git a/pkgs/tools/networking/wol/default.nix b/pkgs/tools/networking/wol/default.nix new file mode 100644 index 00000000000..5349abec161 --- /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 ccfccbadea6..f43e63136ab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4175,6 +4175,8 @@ in wml = callPackage ../development/web/wml { }; + wol = callPackage ../tools/networking/wol { }; + wring = nodePackages.wring; wrk = callPackage ../tools/networking/wrk { };