[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74344] [PATCH v2 5/7] gnu: Add qtpromise.
From: |
Sughosha |
Subject: |
[bug#74344] [PATCH v2 5/7] gnu: Add qtpromise. |
Date: |
Thu, 28 Nov 2024 15:37:44 +0530 |
* 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
- [bug#74344] [PATCH 5/7] gnu: Add qtpromise., (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 <=
- [bug#74344] [PATCH v2 4/7] gnu: Add qtcsv., Sughosha, 2024/11/28
- [bug#74344] [PATCH v2 2/7] gnu: Add qcodeeditor., Sughosha, 2024/11/28