diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-03-01 21:34:39 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-03-01 21:34:39 +0000 |
commit | 301c3d31c9e28eb84582c61ea4b8f4d153f41ad6 (patch) | |
tree | 4dad605f755250adb7303b3f3192d6a20c7c2a3c /pkgs/os-specific/linux/tunctl | |
parent | 247ad8bfcf84e7b7d7c7608bb79ed06f2fd27155 (diff) |
Adding tunctl. I didn't know how to build the manpage, though.
svn path=/nixpkgs/trunk/; revision=14290
Diffstat (limited to 'pkgs/os-specific/linux/tunctl')
-rw-r--r-- | pkgs/os-specific/linux/tunctl/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/tunctl/default.nix b/pkgs/os-specific/linux/tunctl/default.nix new file mode 100644 index 0000000000000..f4c3aad938f2c --- /dev/null +++ b/pkgs/os-specific/linux/tunctl/default.nix @@ -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"; + }; +} |