summary refs log tree commit diff
path: root/pkgs/development/libraries/qmltermwidget/default.nix
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2023-11-12 21:27:43 +0100
committerOPNA2608 <christoph.neidahl@gmail.com>2023-11-12 21:27:43 +0100
commitcd28d787492db857bca08f80ef105a7fc2721be9 (patch)
treebadb1d2135d9fbe0fa7f036bd2b9fbeeb718e91f /pkgs/development/libraries/qmltermwidget/default.nix
parent427d085756583df00689c2188c715c8479739e1a (diff)
downloadnixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar.gz
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar.bz2
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar.lz
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar.xz
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.tar.zst
nixpkgs-cd28d787492db857bca08f80ef105a7fc2721be9.zip
libsForQt5.qmltermwidget: Apply Lomiri patches
So we can use it for lomiri-terminal-app
Diffstat (limited to 'pkgs/development/libraries/qmltermwidget/default.nix')
-rw-r--r--pkgs/development/libraries/qmltermwidget/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qmltermwidget/default.nix b/pkgs/development/libraries/qmltermwidget/default.nix
index b84460b4df1..a8aec285a98 100644
--- a/pkgs/development/libraries/qmltermwidget/default.nix
+++ b/pkgs/development/libraries/qmltermwidget/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , qmake
 , qtbase
 , qtquick1
@@ -30,6 +31,15 @@ stdenv.mkDerivation {
   ] ++ lib.optional stdenv.isDarwin utmp;
 
   patches = [
+    # Changes required to make it compatible with lomiri-terminal-app
+    # QML-exposed colorscheme, scrollbar & clipboard functionality
+    # Remove when https://github.com/Swordfish90/qmltermwidget/pull/39 merged
+    (fetchpatch {
+      name = "0001-qmltermwidget-lomiri-submissions.patch";
+      url = "https://github.com/Swordfish90/qmltermwidget/compare/63228027e1f97c24abb907550b22ee91836929c5..ffc6b2b2a20ca785f93300eca93c25c4b74ece17.patch";
+      hash = "sha256-1GjC2mdfP3NpePDWZaT8zvIq3vwWIZs+iQ9o01iQtD4=";
+    })
+
     # Some files are copied twice to the output which makes the build fails
     ./do-not-copy-artifacts-twice.patch
   ];