c7a567315f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/batctl/versions. These checks were done: - built on NixOS - ran ‘/nix/store/8djn6psqrxjc66chnig215c5z8il9zaw-batctl-2018.1/bin/batctl -h’ got 0 exit code - found 2018.1 with grep in /nix/store/8djn6psqrxjc66chnig215c5z8il9zaw-batctl-2018.1 - directory tree listing: https://gist.github.com/13f600b1fb0404e8b5b78d0e2e32f5c5
28 lines
808 B
Nix
28 lines
808 B
Nix
{ stdenv, fetchurl, pkgconfig, libnl }:
|
|
|
|
let
|
|
ver = "2018.1";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "batctl-${ver}";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz";
|
|
sha256 = "0lxm0vb0w1gxyi5k553jgkpmhifc4cykzfybrsk8hvwilq6pv1r7";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libnl ];
|
|
|
|
preBuild = ''
|
|
makeFlags="PREFIX=$out PKG_CONFIG=${pkgconfig}/bin/pkg-config"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://www.open-mesh.org/projects/batman-adv/wiki/Wiki;
|
|
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ viric fpletz ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|