1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/os-specific/linux/tunctl/default.nix
Lluís Batlle i Rossell 301c3d31c9 Adding tunctl. I didn't know how to build the manpage, though.
svn path=/nixpkgs/trunk/; revision=14290
2009-03-01 21:34:39 +00:00

22 lines
497 B
Nix

{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";
};
}