Files
nixpkgs/pkgs/by-name/wo/wol/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
818 B
Nix

{
lib,
stdenv,
fetchurl,
autoreconfHook,
perl,
}:
stdenv.mkDerivation rec {
pname = "wol";
version = "0.7.1";
src = fetchurl {
url = "mirror://sourceforge/wake-on-lan/${pname}-${version}.tar.gz";
sha256 = "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270";
};
patches = [
./gcc-14.patch
./macos-10_7-getline.patch
];
nativeBuildInputs = [
perl # for pod2man in order to get a manpage
autoreconfHook # for the patch
];
enableParallelBuilding = true;
meta = with lib; {
description = "Implements Wake On LAN functionality in a small program";
homepage = "https://sourceforge.net/projects/wake-on-lan/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ makefu ];
mainProgram = "wol";
platforms = platforms.unix;
};
}