10 perlPackages.buildPerlPackage rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-zCOpp5iNrWwh2knBGWhiEyG9IPAnFRwH5jJLEVLBISM=";
25 ] ++ lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
28 perlPackages.TestPerlCritic
30 perlPackages.TestPodCoverage
32 # Linting and formatting checks are of no interest for us.
34 rm -f t/93_pod_spell.t
39 install -Dt $out/bin wakeonlan
40 installManPage blib/man1/wakeonlan.1
42 + lib.optionalString stdenv.hostPlatform.isDarwin ''
43 shortenPerlShebang $out/bin/wakeonlan
47 description = "Perl script for waking up computers via Wake-On-LAN magic packets";
48 homepage = "https://github.com/jpoliv/wakeonlan";
49 license = licenses.artistic1;
50 maintainers = with maintainers; [ SuperSandro2000 ];
51 mainProgram = "wakeonlan";