[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74344] [PATCH v2 2/7] gnu: Add qcodeeditor.
From: |
Sughosha |
Subject: |
[bug#74344] [PATCH v2 2/7] gnu: Add qcodeeditor. |
Date: |
Thu, 28 Nov 2024 15:37:41 +0530 |
* gnu/packages/qt.scm (qcodeeditor): New variable.
Change-Id: I822ad152ce0a2304fe428bd383ea79d036452fc7
---
gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 722448b4e4..5181691b78 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -4761,6 +4761,42 @@ (define-public dotherside
@end itemize\n")
(license license:lgpl3))) ;version 3 only (+ exception)
+(define-public qcodeeditor
+ (let ((commit "dc644d41b68978ab9a5591ba891a223221570e74") ;no tags
+ (revision "0"))
+ (package
+ (name "qcodeeditor")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Megaxela/QCodeEditor")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bpvfwbgp275w79dzrd7d9k3md1ch7n88rh59mxdfj8s911n42j8"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (install-file "libQCodeEditor.a"
+ (string-append #$output "/lib"))
+ (for-each
+ (lambda (file)
+ (install-file file
+ (string-append #$output
+ "/include/QCodeEditor")))
+ (find-files "../source/include/internal" "\\.hpp")))))))
+ (home-page "https://github.com/Megaxela/QCodeEditor")
+ (synopsis "Qt code editor widget")
+ (description
+ "QCodeEditor is a Qt widget for editing/viewing code.")
+ (license license:expat))))
+
(define-public qtcolorwidgets
(package
(name "qtcolorwidgets")
--
2.46.0
- [bug#74344] [PATCH 7/7] gnu: Add jamesdsp., (continued)
[bug#74344] [PATCH v2 0/7] gnu: Add jamesdsp., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 1/7] gnu: Add asyncplusplus., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 3/7] gnu: Add qt-advanced-docking-system., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 6/7] gnu: Add qt-widget-animation-framework., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 7/7] gnu: Add jamesdsp., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 5/7] gnu: Add qtpromise., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 4/7] gnu: Add qtcsv., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 2/7] gnu: Add qcodeeditor.,
Sughosha <=