lilyp pushed a commit to branch gnome-team
in repository guix.

commit b0d98ef40571e4c2745cd29aa487e35aa05d9e11
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sat Dec 28 20:22:21 2024 +0100

    gnu: Add libpeas-2.
    
    * gnu/packages/gnome.scm (libpeas-2): New variable.
    
    Reviewed-by: Maxim Cournoyer <[email protected]>
---
 gnu/packages/gnome.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index bf664c7888..d859f0aeda 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3233,6 +3233,33 @@ features including, but not limited to: multiple 
extension points; on-demand
 API.")
     (license license:lgpl2.0+)))
 
+(define-public libpeas-2
+  (package
+    (inherit libpeas)
+    (name "libpeas")
+    (version "2.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://gnome/sources/" name "/"
+                           (version-major+minor version)  "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1pg6km41bp9ayr6z9pi40nc6mkw2ccdxkcdsvl9lxd9isxrjyvrp"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments libpeas)
+       ((#:configure-flags flags #~(list))
+        #~(cons* "-Dlua51=false" #$flags))))
+    (inputs
+     (list gtk
+           gjs
+           glade3
+           ;; lua-5.1
+           ;; lua5.1-lgi
+           python
+           python-pygobject))))
+
 (define-public gtkglext
   (package
     (name "gtkglext")

Reply via email to