diff options
-rw-r--r-- | pkgs/tools/networking/mktuntap/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mktuntap/default.nix b/pkgs/tools/networking/mktuntap/default.nix new file mode 100644 index 00000000000..4f77c4ffc82 --- /dev/null +++ b/pkgs/tools/networking/mktuntap/default.nix @@ -0,0 +1,22 @@ +{ stdenv, lib, fetchgit }: + +stdenv.mkDerivation rec { + pname = "mktuntap"; + version = "1.0"; + + src = fetchgit { + url = "https://spectrum-os.org/git/mktuntap"; + rev = version; + sha256 = "136ichzd5811n289xqjyha81mln89yxq4a14w46ixnnx69905r47"; + }; + + installFlags = [ "prefix=$(out)" ]; + + meta = with lib; { + description = "Utility program for creating TAP and TUN devices"; + homepage = "https://spectrum-os.org/git/mktaptun"; + maintainers = with maintainers; [ qyliss ]; + license = licenses.gpl2; + platform = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4a294c4020d..711af667fae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8015,6 +8015,8 @@ with pkgs; mkrand = callPackage ../tools/security/mkrand { }; + mktuntap = callPackage ../tools/networking/mktuntap { }; + mktemp = callPackage ../tools/security/mktemp { }; mktorrent = callPackage ../tools/misc/mktorrent { }; |