summaryrefslogtreecommitdiff
path: root/overlays/batman-adv.nix
blob: a408a28454f3919dd7a9c661098cdf638cdbc732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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=";
      };
    });
  });
}