diff options
Diffstat (limited to 'nix/wesher.nix')
-rw-r--r-- | nix/wesher.nix | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/nix/wesher.nix b/nix/wesher.nix index 81be055..c39a3e6 100644 --- a/nix/wesher.nix +++ b/nix/wesher.nix @@ -1,23 +1,25 @@ -pkgs: -pkgs.buildGoModule rec { - pname = "wesher"; - version = "0.2.6"; +self: super: +{ + wesher = super.buildGoModule rec { + pname = "wesher"; + version = "0.2.6"; - src = pkgs.fetchFromGitHub { - owner = "costela"; - repo = "wesher"; - rev = "v${version}"; - sha256 = "1fnclr556avxay6pvgw5ya3xbxfnf2gv4njq2hr4fd6fcjyslq5h"; - }; + src = super.fetchFromGitHub { + owner = "costela"; + repo = "wesher"; + rev = "v${version}"; + sha256 = "1iagmnw2yf15r0fpikk610w0lm0gcxw83lcwfjyr2jv1q2ys71hh"; + }; - vendorSha256 = null; + vendorSha256 = "0nyg0wzn8d4rzjs8yrxxj3gha94043ll80s1ql0fml025q2f3705"; - checkPhase = "true"; + checkPhase = "true"; - meta = with pkgs.lib; { - description = "wireguard overlay mesh network manager"; - homepage = "https://github.com/costela/wesher"; - license = licenses.gpl3Plus; - platforms = platforms.linux; + meta = with super.lib; { + description = "wireguard overlay mesh network manager"; + homepage = "https://github.com/costela/wesher"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + }; }; } |