2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tunctl";
|
|
|
|
version = "1.5";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-09-26 12:46:18 +00:00
|
|
|
url = "mirror://sourceforge/tunctl/tunctl-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|