* [bug#72871] [PATCH] gnu: Add emacs-qt-pro-mode.
@ 2024-08-29 11:34 gemmaro
2024-09-05 17:52 ` bug#72871: " Nicolas Goaziou via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: gemmaro @ 2024-08-29 11:34 UTC (permalink / raw)
To: 72871; +Cc: gemmaro, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-qt-pro-mode): New variable.
Change-Id: I49db0f62280aa86830eb535c4b179be1bb692db4
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 79ea0955d4..5589d16d49 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14358,6 +14358,35 @@ (define-public emacs-qml-mode
builtin JavaScript mode.")
(license license:gpl2+)))
+(define-public emacs-qt-pro-mode
+ (let ((revision "0")
+ (commit "7a2da323de834294b413cbbb3c92f42f54913643"))
+ (package
+ (name "emacs-qt-pro-mode")
+ (version (git-version "1.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacsorphanage/qt-pro-mode")
+ (commit commit)))
+ (sha256
+ (base32 "07054hzl7gd0wfibcqvij2wx9zji330gsryn53qad9gyalvlavpa"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #t
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "test")))))))
+ (home-page "https://github.com/emacsorphanage/qt-pro-mode")
+ (synopsis "Emacs major mode for Qt build-system files")
+ (description
+ "This package provides a major mode for editing Qt build-system files.")
+ (license license:gpl2+))))
+
(define-public emacs-queue
(package
(name "emacs-queue")
base-commit: 09fe58e08cb1ff9be93752b018c5dd55c8ef9498
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#72871: [PATCH] gnu: Add emacs-qt-pro-mode.
2024-08-29 11:34 [bug#72871] [PATCH] gnu: Add emacs-qt-pro-mode gemmaro
@ 2024-09-05 17:52 ` Nicolas Goaziou via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-09-05 17:52 UTC (permalink / raw)
To: 72871-done; +Cc: gemmaro
Hello,
> * gnu/packages/emacs-xyz.scm (emacs-qt-pro-mode): New variable.
Thank you. I applied the patch with the following changes:
> + (package
> + (name "emacs-qt-pro-mode")
> + (version (git-version "1.0.1" revision commit))
I set base version to 1.0.0, as specified in the main file. I'm not sure
where 1.0.1 is coming from.
> + (list
> + #:tests? #t
> + #:phases #~(modify-phases %standard-phases
> + (replace 'check
> + (lambda* (#:key tests? #:allow-other-keys)
> + (when tests?
> + (invoke "make" "test")))))))
I replaced the whole phase with #:test-command keyword.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-05 17:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 11:34 [bug#72871] [PATCH] gnu: Add emacs-qt-pro-mode gemmaro
2024-09-05 17:52 ` bug#72871: " Nicolas Goaziou via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).