From 4800e3a8c7e9f6bbb668c50a29f689a83de223c7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Feb 2023 15:01:09 +0100 Subject: ... --- overlays/batman-adv.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 overlays/batman-adv.nix (limited to 'overlays') 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 @@ +{ final, prev, sources, ... }: { + linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { + batman_adv = super.batman_adv.overrideAttrs (oldAttrs: let + version = "2023.0"; + in { + version = "${version}-${self.kernel.version}"; + + src = prev.fetchurl { + url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"; + hash = "sha256-LOTsBAYyUue/7DorP6KmGztCx7BNaYumATK/qx1gpc0="; + }; + }); + }); +} -- cgit v1.2.3