diff options
Diffstat (limited to 'overlays/batman-adv.nix')
-rw-r--r-- | overlays/batman-adv.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/overlays/batman-adv.nix b/overlays/batman-adv.nix new file mode 100644 index 00000000..a408a284 --- /dev/null +++ b/overlays/batman-adv.nix | |||
@@ -0,0 +1,14 @@ | |||
1 | { final, prev, sources, ... }: { | ||
2 | linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { | ||
3 | batman_adv = super.batman_adv.overrideAttrs (oldAttrs: let | ||
4 | version = "2023.0"; | ||
5 | in { | ||
6 | version = "${version}-${self.kernel.version}"; | ||
7 | |||
8 | src = prev.fetchurl { | ||
9 | url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"; | ||
10 | hash = "sha256-LOTsBAYyUue/7DorP6KmGztCx7BNaYumATK/qx1gpc0="; | ||
11 | }; | ||
12 | }); | ||
13 | }); | ||
14 | } | ||