summary refs log tree commit diff
path: root/pkgs/tools/networking/mktuntap/default.nix
blob: 4f77c4ffc828dbdf1b9ecb165dd46d17e063686d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
  };
}