ktailctl: init at 0.9.0

Finally a native Qt Tailscale client.

K900 e7ebeb75 aff5032d

+85
+83
pkgs/applications/networking/ktailctl/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , buildGo121Module 5 + , cmake 6 + , extra-cmake-modules 7 + , git 8 + , go_1_21 9 + , wrapQtAppsHook 10 + , qtbase 11 + , qtquickcontrols2 12 + , kconfig 13 + , kcoreaddons 14 + , kguiaddons 15 + , ki18n 16 + , kirigami2 17 + , kirigami-addons 18 + , knotifications 19 + }: 20 + 21 + let 22 + version = "0.9.0"; 23 + 24 + src = fetchFromGitHub { 25 + owner = "f-koehler"; 26 + repo = "KTailctl"; 27 + rev = "v${version}"; 28 + hash = "sha256-nY6DEHkDVWIlvc64smXb9KshrhNgNLKiilYydbMKCqc="; 29 + }; 30 + 31 + goDeps = (buildGo121Module { 32 + pname = "tailwrap"; 33 + inherit src version; 34 + modRoot = "tailwrap"; 35 + vendorHash = "sha256-Y9xhoTf3vCtiNi5qOPg020EQmASo58BZI3rAoUEC8qE="; 36 + }).goModules; 37 + in stdenv.mkDerivation { 38 + pname = "ktailctl"; 39 + inherit version src; 40 + 41 + postPatch = '' 42 + cp -r --reflink=auto ${goDeps} tailwrap/vendor 43 + ''; 44 + 45 + # needed for go build to work 46 + preBuild = '' 47 + export HOME=$TMPDIR 48 + ''; 49 + 50 + cmakeFlags = [ 51 + # actually just disables Go vendoring updates 52 + "-DKTAILCTL_FLATPAK_BUILD=ON" 53 + ]; 54 + 55 + nativeBuildInputs = [ 56 + cmake 57 + extra-cmake-modules 58 + git 59 + go_1_21 60 + wrapQtAppsHook 61 + ]; 62 + 63 + buildInputs = [ 64 + qtbase 65 + qtquickcontrols2 66 + kconfig 67 + kcoreaddons 68 + kguiaddons 69 + ki18n 70 + kirigami2 71 + kirigami-addons 72 + knotifications 73 + ]; 74 + 75 + meta = with lib; { 76 + description = "A GUI to monitor and manage Tailscale on your Linux desktop"; 77 + homepage = "https://github.com/f-koehler/KTailctl"; 78 + license = licenses.gpl3Only; 79 + maintainers = with maintainers; [ k900 ]; 80 + mainProgram = "ktailctl"; 81 + platforms = platforms.all; 82 + }; 83 + }
+2
pkgs/top-level/all-packages.nix
··· 10316 10317 keama = callPackage ../tools/networking/keama { }; 10318 10319 iredis = callPackage ../tools/admin/iredis { }; 10320 10321 ispell = callPackage ../tools/text/ispell { };
··· 10316 10317 keama = callPackage ../tools/networking/keama { }; 10318 10319 + ktailctl = libsForQt5.callPackage ../applications/networking/ktailctl {}; 10320 + 10321 iredis = callPackage ../tools/admin/iredis { }; 10322 10323 ispell = callPackage ../tools/text/ispell { };