guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/424: gnu: Add rust-gdk-pixbuf-sys-0.19.


From: guix-commits
Subject: 15/424: gnu: Add rust-gdk-pixbuf-sys-0.19.
Date: Sun, 10 Nov 2024 05:40:55 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 273959546b3990fa786f37142bbe797ec878fe46
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Sep 18 14:09:23 2024 +0300

    gnu: Add rust-gdk-pixbuf-sys-0.19.
    
    * gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-sys-0.19): New variable.
    (rust-gdk-pixbuf-sys-0.18): Inherit from rust-gdk-pixbuf-sys-0.19.
    
    Change-Id: I7c1aac7883ad0c1fef523fcd8f34ae804e4c1d36
---
 gnu/packages/crates-gtk.scm | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index c6d5e8ac06..480dacfd83 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -765,8 +765,37 @@
        #:cargo-development-inputs
        (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
 
+(define-public rust-gdk-pixbuf-sys-0.19
+  (package
+    (name "rust-gdk-pixbuf-sys")
+    (version "0.19.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk-pixbuf-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y93g24mdgskvyhva46xv3qyb1cvj5xpi0yqnh7cb31wz2j0byjf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.19)
+                       ("rust-glib-sys" ,rust-glib-sys-0.19)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-system-deps" ,rust-system-deps-6))
+       #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config))
+    (inputs (list gdk-pixbuf gtk+))
+    (home-page "https://gtk-rs.org/";)
+    (synopsis "FFI bindings to libgdk_pixbuf-2.0")
+    (description
+     "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
+    (license license:expat)))
+
 (define-public rust-gdk-pixbuf-sys-0.18
   (package
+    (inherit rust-gdk-pixbuf-sys-0.19)
     (name "rust-gdk-pixbuf-sys")
     (version "0.18.0")
     (source
@@ -776,7 +805,6 @@
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xya543c4ffd2n7aiwwrdxsyc9casdbasafi6ixcknafckm3k61z"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-gio-sys" ,rust-gio-sys-0.18)
@@ -786,13 +814,7 @@
         ("rust-system-deps" ,rust-system-deps-6))
        #:cargo-development-inputs
        (("rust-shell-words" ,rust-shell-words-1)
-        ("rust-tempfile" ,rust-tempfile-3))))
-    (native-inputs (list pkg-config))
-    (inputs (list gdk-pixbuf gtk+))
-    (home-page "https://gtk-rs.org/";)
-    (synopsis "FFI bindings to libgdk_pixbuf-2.0")
-    (description "This package provides FFI bindings to 
@code{libgdk_pixbuf-2.0}.")
-    (license license:expat)))
+        ("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gdk-pixbuf-sys-0.17
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]