1 { lib, stdenv, fetchurl, lynx }:
3 stdenv.mkDerivation rec {
8 url = "http://0pointer.de/lennart/projects/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "1v0s5x81jzwnnl7hr254d4nkyc8qcv983pzr6vqmbr9l9q553a0g";
12 buildInputs = [ lynx ];
15 # Fixes an issue related to the netlink API.
16 # Upstream is largely inactive; this is a Debian patch.
18 url = "https://launchpadlibrarian.net/85974387/10_netlink_fix.patch";
19 sha256 = "1pnlcr0qvk0bd5243wpg14i387zp978f4xhwwkcqn1cir91x7fbc";
24 description = "Tool for setting IP interface metrics";
26 ifmetric is a Linux tool for setting the metrics of all IPv4 routes
27 attached to a given network interface at once. This may be used to change
28 the priority of routing IPv4 traffic over the interface. Lower metrics
29 correlate with higher priorities.
31 homepage = "http://0pointer.de/lennart/projects/ifmetric";
32 license = licenses.gpl2Plus;
33 maintainers = [ maintainers.anna328p ];
34 platforms = platforms.linux;
35 mainProgram = "ifmetric";