1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/tools/networking/iodine/default.nix
Florian Friesdorf 113f2c851f iodine-0.6.0-rc1
svn path=/nixpkgs/trunk/; revision=29429
2011-09-21 20:05:38 +00:00

23 lines
592 B
Nix

{ stdenv, fetchurl, zlib, nettools }:
stdenv.mkDerivation rec {
name = "iodine-0.6.0-rc1";
src = fetchurl {
url = "http://code.kryo.se/iodine/${name}.tar.gz";
sha256 = "dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60";
};
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 = "Tool to tunnel IPv4 data through a DNS server";
license = "ISC";
};
}