mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 21:16:35 +05:30
add derivation for go-wol
This commit is contained in:
27
pkgs/go-wol/default.nix
Normal file
27
pkgs/go-wol/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}: let
|
||||
version = "2.0.1";
|
||||
in
|
||||
buildGoModule {
|
||||
pname = "go-wol";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sabhiram";
|
||||
repo = "go-wol";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iV3p0PjRK0ItfOaRJoS30iZC+O3lNPWfcRb3pfv60RY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Ze928UnuvScA32fglTYkQx+XE15BxSB6vNa9OSyhN3w=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sabhiram/go-wol";
|
||||
description = "Simple wake on LAN magic packet generator for golang";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user