1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/tools/networking/iodine/iodine-0.4.1.nix
Nicolas Pierron b96a83dc06 Add iodine-0.4.1
svn path=/nixpkgs/trunk/; revision=11824
2008-05-14 08:01:03 +00:00

22 lines
561 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "iodine-0.4.1";
src = fetchurl {
url = "http://code.kryo.se/iodine/${name}.tar.gz";
sha256 = "1d0v6wbrciwd0xi9khrna956v5wy7wy1inllzrn187as358kiiv5";
};
buildInputs = [zlib];
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/sbin/ifconfig,; s,/sbin/route,${nettools}/sbin/route," src/tun.c'';
installFlags = "prefix=\${out}";
meta = {
homepage = http://code.kryo.se/iodine/;
description = "iodine lets you tunnel IPv4 data through a DNS server.";
license = "ISC";
};
}