diff options
author | Alex Auvolat <alex@adnab.me> | 2022-04-19 18:09:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-04-19 18:09:56 +0200 |
commit | 9ff81afd7ea75c583adaef3a49e9b28b45185d99 (patch) | |
tree | ff2af1d01eb4336da52bb4375527beb9af00c76d /nix/wesher.nix | |
parent | 3d8989b9c918bd4e4b1f8b9a8d294c308fc0b8d9 (diff) | |
download | nixcfg-9ff81afd7ea75c583adaef3a49e9b28b45185d99.tar.gz nixcfg-9ff81afd7ea75c583adaef3a49e9b28b45185d99.zip |
Wesher package now works
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; + }; }; } |