guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 82311f08581e2c1389b21a8a09d81ebefef08948
Author: bdunahu <[email protected]>
AuthorDate: Wed Jul 15 22:39:57 2026 -0400

    gnu: Add qpropgen.
    
    * gnu/packages/qt.scm (qpropgen): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/qt.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 480184cca7..976bf6f5b9 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024, 2026 Sughosha <[email protected]>
 ;;; Copyright © 2025 Brice Waegeneire <[email protected]>
 ;;; Copyright © 2025 Laura Kirsch <[email protected]>
+;;; Copyright © 2026 bdunahu <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -281,6 +282,40 @@ your QtWidgets application.")
       (home-page "https://github.com/moonlight-stream/moonlight-common-c";)
       (license license:expat))))
 
+(define-public qpropgen
+  (package
+    (name "qpropgen")
+    (version "0.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/agateau/qpropgen";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0rrd7dbmhycqcxs2pkzcadjh2khhzqc69xzha003161hjdf3vh9f"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: 0.1.2 does not have tests/, examples are manual and require C++.
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'install-cmake
+            (lambda _
+              (install-file "cmake/qpropgen.cmake"
+                            (string-append #$output "/share/"
+                                           #$name "/cmake")))))))
+    (propagated-inputs (list python-jinja2 python-pyyaml python-strictyaml))
+    (native-inputs (list python-pytest python-setuptools))
+    (home-page "https://github.com/agateau/qpropgen";)
+    (synopsis "Generates QObject properties from a YAML file")
+    (description "This package provides a tool to generate QML-friendly
+QObject-based C++ classes from class definition files.")
+    (license license:asl2.0)))
+
 (define-public qite
   (let ((commit "e9d33c84a0b346185b27efb44189f18acaa53906")
         (revision "75"))

Reply via email to