about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/tremotesf
diff options
context:
space:
mode:
authorStanislav Ochotnický <stanislav+github@ochotnicky.com>2023-06-20 21:20:20 +0200
committerGitHub <noreply@github.com>2023-06-20 21:20:20 +0200
commit303a2b2bb0102f414d3eae773616e10a720f5cc6 (patch)
tree1a75b8d25534761c0ea695aeb6cdc3ceec0d6c3f /pkgs/applications/networking/p2p/tremotesf
parent25d2daf3179336e4c4348ddae26aba60031da6c0 (diff)
tremotesf: init at 2.4.0 (#232488)
* maintainers: add sochotnicky

* tremotesf: init at 2.4.0

---------

Co-authored-by: Stanislav Ochotnický <stanislav@ochotnicky.com>
Diffstat (limited to 'pkgs/applications/networking/p2p/tremotesf')
-rw-r--r--pkgs/applications/networking/p2p/tremotesf/default.nix52
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/tremotesf/default.nix b/pkgs/applications/networking/p2p/tremotesf/default.nix
new file mode 100644
index 0000000000000..6880d8472167d
--- /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 ];
+  };
+})