unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: Gabriel Wicki <gabriel@erlikon.ch>
Cc: Sughosha <sughosha@disroot.org>,
	74344@debbugs.gnu.org,
	"Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
	宋文武 <iyzsong@envs.net>
Subject: [bug#74344] [PATCH v2 5/7] gnu: Add qtpromise.
Date: Thu, 28 Nov 2024 15:37:44 +0530	[thread overview]
Message-ID: <5efe1ba7b1b470a7138fe636d3b3ee8c0e431ca5.1732788466.git.sughosha@disroot.org> (raw)
In-Reply-To: <cover.1732788466.git.sughosha@disroot.org>

* gnu/packages/qt.scm (qtpromise): New variable.

Change-Id: I3779d3128079a7f859ee348cad1a7e74f772b085
---
 gnu/packages/qt.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 8213381b1f..030625fbf8 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -4852,6 +4852,43 @@ (define-public qtcsv
      "qtcsv is a library for reading and writing csv-files in Qt.")
     (license license:expat)))
 
+(define-public qtpromise
+  (package
+    (name "qtpromise")
+    (version "0.7.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/simonbrunel/qtpromise")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0nsh6v5k4kdrrhcd6adz947n0dka4rrbx8f8rvm1175545nbi67s"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:test-target "tests"
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'install 'fix-include-path
+                 (lambda _
+                   (substitute* "../source/include/QtPromise"
+                     (("../src/") ""))))
+               (replace 'install
+                 (lambda _
+                   (let ((include (string-append #$output "/include")))
+                     (with-directory-excursion "../source"
+                       (install-file "include/QtPromise"
+                                     (string-append include))
+                       (copy-recursively "src/qtpromise"
+                                         (string-append include
+                                                        "/qtpromise")))))))))
+    (home-page "https://qtpromise.netlify.app/")
+    (synopsis "Promises/A+ implementation for Qt/C++")
+    (description
+     "This package provides Promises/A+ implementation for Qt/C++.")
+    (license license:expat)))
+
 (define-public qtcolorwidgets
   (package
     (name "qtcolorwidgets")
-- 
2.46.0





  parent reply	other threads:[~2024-11-28 10:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 15:37 [bug#74344] [PATCH 0/7] gnu: Add jamesdsp Sughosha via Guix-patches via
2024-11-13 15:46 ` [bug#74344] [PATCH 1/7] gnu: Add asyncplusplus Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 2/7] gnu: Add qcodeeditor Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 3/7] gnu: Add qt-advanced-docking-system Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 4/7] gnu: Add qtcsv Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 5/7] gnu: Add qtpromise Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 6/7] gnu: Add widgetanimationframework Sughosha via Guix-patches via
2024-11-13 15:46   ` [bug#74344] [PATCH 7/7] gnu: Add jamesdsp Sughosha via Guix-patches via
2024-11-26 22:52     ` [bug#74344] Review Gabriel Wicki
2024-11-28  8:19       ` Sughosha via Guix-patches via
2024-11-28 10:07 ` [bug#74344] [PATCH v2 0/7] gnu: Add jamesdsp Sughosha via Guix-patches via
2024-11-28 10:07   ` [bug#74344] [PATCH v2 1/7] gnu: Add asyncplusplus Sughosha via Guix-patches via
2024-11-28 10:07   ` [bug#74344] [PATCH v2 2/7] gnu: Add qcodeeditor Sughosha via Guix-patches via
2024-11-28 10:07   ` [bug#74344] [PATCH v2 3/7] gnu: Add qt-advanced-docking-system Sughosha via Guix-patches via
2024-11-28 10:07   ` [bug#74344] [PATCH v2 4/7] gnu: Add qtcsv Sughosha via Guix-patches via
2024-11-28 10:07   ` Sughosha via Guix-patches via [this message]
2024-11-28 10:07   ` [bug#74344] [PATCH v2 6/7] gnu: Add qt-widget-animation-framework Sughosha via Guix-patches via
2024-11-28 10:07   ` [bug#74344] [PATCH v2 7/7] gnu: Add jamesdsp Sughosha via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5efe1ba7b1b470a7138fe636d3b3ee8c0e431ca5.1732788466.git.sughosha@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=74344@debbugs.gnu.org \
    --cc=gabriel@erlikon.ch \
    --cc=iyzsong@envs.net \
    --cc=maxim.cournoyer@gmail.com \
    --cc=sughosha@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).