diff --git a/pkgs/applications/networking/p2p/tremotesf/default.nix b/pkgs/applications/networking/p2p/tremotesf/default.nix new file mode 100644 index 000000000000..6880d8472167 --- /dev/null +++ b/pkgs/applications/networking/p2p/tremotesf/default.nix @@ -0,0 +1,52 @@ +{stdenv +,lib +, cmake +, pkg-config +, fetchFromGitHub +, qtbase +, qttools +, kwidgetsaddons +, kwindowsystem +, fmt +, libpsl +, cxxopts +, wrapQtAppsHook +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "tremotesf"; + version = "2.4.0"; + + src = fetchFromGitHub { + owner = "equeim"; + repo = "tremotesf2"; + rev = finalAttrs.version; + hash = "sha256-TKtBgMpCWIUl1bohAKCbTcZX2uaPmzeWut/OeNs/rME="; + # We need this for src/libtremotesf + fetchSubmodules = true; + }; + + buildInputs = [ + qtbase + qttools + fmt + libpsl + kwidgetsaddons + kwindowsystem + cxxopts + ]; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + propagatedBuildInputs = [ wrapQtAppsHook ]; + + meta = with lib; { + description = "Remote GUI for transmission-daemon"; + license = licenses.gpl3Plus; + homepage = "https://github.com/equeim/tremotesf2"; + maintainers = with maintainers; [ sochotnicky ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 720682eadfc8..321c7b353917 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -40571,5 +40571,7 @@ with pkgs; isolate = callPackage ../tools/security/isolate { }; + tremotesf = libsForQt5.callPackage ../applications/networking/p2p/tremotesf { }; + reindeer = callPackage ../development/tools/reindeer { }; }