1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://debian/pool/main/i/ifenslave-2.6/ifenslave-2.6_${version}.orig.tar.gz";
9 sha256 = "0h9hrmy19zdksl7ys250r158b943ihbgkb95n8p4k8l0vqsby5vr";
13 gcc -o ifenslave ifenslave.c
18 cp -a ifenslave $out/bin
21 hardeningDisable = [ "format" ];
24 description = "Utility for enslaving networking interfaces under a bond";
25 mainProgram = "ifenslave";
26 license = lib.licenses.gpl2Only;
27 platforms = lib.platforms.linux;