7 pname = "sleep-on-lan";
10 src = fetchFromGitHub {
13 rev = "${version}-RELEASE";
14 sha256 = "sha256-WooFGIdXIIoJPMqmPpnT+bc+P+IARMSxa3CvXY9++mw=";
17 sourceRoot = "${src.name}/src";
18 vendorHash = "sha256-JqDDG53khtDdMLVOscwqi0oGviF+3DMkv5tkHvp1gJc=";
23 "-X main.BuildVersion=${version}"
24 "-X main.BuildVersionLabel=nixpkgs"
28 homepage = "https://github.com/SR-G/sleep-on-lan";
29 description = "Multi-platform process allowing to sleep on LAN a Linux or Windows computer, through wake-on-lan (reversed) magic packets or through HTTP REST requests";
30 license = licenses.asl20;
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ devusb ];
33 mainProgram = "sleep-on-lan";