Wesher package now works
This commit is contained in:
parent
3d8989b9c9
commit
9ff81afd7e
2 changed files with 23 additions and 21 deletions
|
@ -19,15 +19,15 @@
|
||||||
./node.nix
|
./node.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(import ./wesher.nix)
|
||||||
|
];
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# 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
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
# replicates the default behaviour.
|
# replicates the default behaviour.
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import ./wesher.nix)
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,25 @@
|
||||||
pkgs:
|
self: super:
|
||||||
pkgs.buildGoModule rec {
|
{
|
||||||
|
wesher = super.buildGoModule rec {
|
||||||
pname = "wesher";
|
pname = "wesher";
|
||||||
version = "0.2.6";
|
version = "0.2.6";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = super.fetchFromGitHub {
|
||||||
owner = "costela";
|
owner = "costela";
|
||||||
repo = "wesher";
|
repo = "wesher";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1fnclr556avxay6pvgw5ya3xbxfnf2gv4njq2hr4fd6fcjyslq5h";
|
sha256 = "1iagmnw2yf15r0fpikk610w0lm0gcxw83lcwfjyr2jv1q2ys71hh";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = "0nyg0wzn8d4rzjs8yrxxj3gha94043ll80s1ql0fml025q2f3705";
|
||||||
|
|
||||||
checkPhase = "true";
|
checkPhase = "true";
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with super.lib; {
|
||||||
description = "wireguard overlay mesh network manager";
|
description = "wireguard overlay mesh network manager";
|
||||||
homepage = "https://github.com/costela/wesher";
|
homepage = "https://github.com/costela/wesher";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue