Wesher package now works

This commit is contained in:
Alex 2022-04-19 18:09:56 +02:00
parent 3d8989b9c9
commit 9ff81afd7e
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
2 changed files with 23 additions and 21 deletions

View file

@ -19,15 +19,15 @@
./node.nix
];
nixpkgs.overlays = [
(import ./wesher.nix)
];
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
nixpkgs.overlays = [
(import ./wesher.nix)
];
# Set your time zone.
time.timeZone = "Europe/Paris";

View file

@ -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;
};
};
}