nixpkgs/pkgs/by-name/tu/tunctl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
613 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{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 = "https://tunctl.sourceforge.net/";
description = "Utility to set up and maintain TUN/TAP network interfaces";
mainProgram = "tunctl";
2024-05-26 12:16:07 +00:00
license = lib.licenses.gpl2Only;
2021-01-15 14:45:37 +00:00
platforms = lib.platforms.linux;
};
}