2009-03-01 22:34:39 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "tunctl-1.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/tunctl/tunctl-1.5.tar.gz;
|
|
|
|
sha256 = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "tunctl" ];
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2009-03-01 22:34:39 +01:00
|
|
|
cp tunctl $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://tunctl.sourceforge.net/;
|
|
|
|
description = "Utility to set up and maintain TUN/TAP network interfaces";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-03-01 22:34:39 +01:00
|
|
|
};
|
|
|
|
}
|