mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
b96a83dc06
svn path=/nixpkgs/trunk/; revision=11824
22 lines
561 B
Nix
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";
|
|
};
|
|
}
|