package iproute2 { description = "routing commands and utilities"; website = "https://wiki.linuxfoundation.org/networking/iproute2"; anitya = 1392; version# = "7.0.0"; source = remoteTar { url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/"+ "snapshot/iproute2-"+version+".tar.gz"; checksum = "6SNrMEKYMO-Nt4u_Ni-qOnBpzuokkf515ya-75l6APNbZwihXy8Utv1snbUpHx3T"; compress = gzip; }; env = [ "CC=cc", "PREFIX=/system", "SBINDIR=/system/sbin", ]; enterSource = true; writable = true; chmod = true; exec = make { inPlace = true; // drop default autoconf options configureName = "./configure"; configure = { "prefix": "/system"; "color": "auto"; }; make = [ "CC=cc" ]; // wants root skipCheck = true; }; inputs = [ pkg-config, m4, bison, flex, libbpf, libmnl, libcap, kernel-headers, ]; runtime = [ libbpf, libmnl, libcap, ]; }