nixpkgs-suyu/pkgs/os-specific/linux/ifplugd/default.nix

17 lines
561 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, libdaemon}:
stdenv.mkDerivation {
name = "ifplugd-0.28";
src = fetchurl {
url = http://0pointer.de/lennart/projects/ifplugd/ifplugd-0.28.tar.gz;
sha256 = "1w21cpyzkr7igp6vsf4a0jwp2b0axs3kwjiapy676bdk9an58is7";
};
buildInputs = [pkgconfig libdaemon];
configureFlags = "--with-initdir=$out/etc/init.d --disable-lynx";
patches = [
# From http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-apps/ifplugd/files/ifplugd-0.28-interface.patch?rev=1.1.
./interface.patch
];
patchFlags = "-p0";
}