My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/os-specific/linux/tunctl/default.nix

24 lines
580 B

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "tunctl";
version = "1.5";
src = fetchurl {
url = "mirror://sourceforge/tunctl/tunctl-${version}.tar.gz";
sha256 = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff";
};
makeFlags = [ "tunctl" ];
installPhase = ''
mkdir -p $out/bin
cp tunctl $out/bin
'';
meta = {
homepage = "http://tunctl.sourceforge.net/";
description = "Utility to set up and maintain TUN/TAP network interfaces";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}