summary refs log tree commit diff
path: root/pkgs/tools/networking/mktuntap/default.nix
blob: bb1b29dbc11389cf16a7ffcc7aa448c19b4fb7b7 (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 {
  pname = "mktuntap-unstable";
  version = "2019-12-15";

  src = fetchgit {
    url = "https://spectrum-os.org/git/mktuntap";
    rev = "d37b0ea1f794a4d195323b16484ecc4f04cc4306";
    sha256 = "17ygj3z91llkav5bclrd6cizqhrhpdjgfyyqhdxg8wwpcx8gs7xd";
  };

  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;
  };
}