Adding tunctl. I didn't know how to build the manpage, though.
svn path=/nixpkgs/trunk/; revision=14290
This commit is contained in:
parent
247ad8bfcf
commit
301c3d31c9
21
pkgs/os-specific/linux/tunctl/default.nix
Normal file
21
pkgs/os-specific/linux/tunctl/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "tunctl-1.5";
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/tunctl/tunctl-1.5.tar.gz;
|
||||||
|
sha256 = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "tunctl" ];
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
cp tunctl $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://tunctl.sourceforge.net/;
|
||||||
|
description = "Utility to set up and maintain TUN/TAP network interfaces";
|
||||||
|
license = "GPLv2";
|
||||||
|
};
|
||||||
|
}
|
@ -7248,6 +7248,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tunctl = import ../os-specific/linux/tunctl {
|
||||||
|
inherit stdenv fetchurl;
|
||||||
|
};
|
||||||
|
|
||||||
/*tuxracer = builderDefsPackage (import ../games/tuxracer) {
|
/*tuxracer = builderDefsPackage (import ../games/tuxracer) {
|
||||||
inherit mesa tcl freeglut;
|
inherit mesa tcl freeglut;
|
||||||
inherit (xlibs) libX11 xproto;
|
inherit (xlibs) libX11 xproto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user