From 303a2b2bb0102f414d3eae773616e10a720f5cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Ochotnick=C3=BD?= Date: Tue, 20 Jun 2023 21:20:20 +0200 Subject: [PATCH] tremotesf: init at 2.4.0 (#232488) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * maintainers: add sochotnicky * tremotesf: init at 2.4.0 --------- Co-authored-by: Stanislav Ochotnický --- maintainers/maintainer-list.nix | 6 +++ .../networking/p2p/tremotesf/default.nix | 52 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 60 insertions(+) create mode 100644 pkgs/applications/networking/p2p/tremotesf/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a2cfa44e43c8..649e9dd542d4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -15052,6 +15052,12 @@ githubId = 1437166; name = "Xia Bin"; }; + sochotnicky = { + email = "stanislav+github@ochotnicky.com"; + github = "sochotnicky"; + githubId = 55726; + name = "Stanislav Ochotnický"; + }; softinio = { email = "code@softinio.com"; github = "softinio"; 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 e7a432c67f0c..7d4e01917f72 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -40957,6 +40957,8 @@ with pkgs; isolate = callPackage ../tools/security/isolate { }; + tremotesf = libsForQt5.callPackage ../applications/networking/p2p/tremotesf { }; + reindeer = callPackage ../development/tools/reindeer { }; charasay = callPackage ../tools/misc/charasay { };