unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sergio Pastor Pérez" <sergio.pastorperez@outlook.es>
To: 70787@debbugs.gnu.org
Cc: "Sergio Pastor Pérez" <sergio.pastorperez@outlook.es>,
	"Efraim Flashner" <efraim@flashner.co.il>
Subject: [bug#70787] [PATCH 3/4] gnu: Add rust-libheif-rs-0.15.
Date: Sun,  5 May 2024 16:44:07 +0200	[thread overview]
Message-ID: <PAXP251MB0348A6861A5879D22D6EB604F31D2@PAXP251MB0348.EURP251.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <cover.1714919491.git.sergio.pastorperez@outlook.es>

* gnu/packages/crates-io.scm (rust-libheif-rs-0.15): New variable.

Change-Id: I14c4bfa1d3792f948687c199812da3be20ea6096
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fff81c265..8a894ffeee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33761,6 +33761,28 @@ (define-public rust-libfuzzer-sys-0.3
        (("rust-arbitrary" ,rust-arbitrary-0.4)
         ("rust-cc" ,rust-cc-1))))))
 
+(define-public rust-libheif-rs-0.15
+  (package
+    (name "rust-libheif-rs")
+    (version "0.15.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libheif-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mhhyak12ysnv9f6s0mp99i8z15z7qv5x9z28va1777w059qpxgd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-enumn" ,rust-enumn-0.1)
+                       ("rust-libheif-sys" ,rust-libheif-sys-1))))
+    (home-page "https://github.com/cykooz/libheif-rs")
+    (synopsis "Wrapper around libheif-sys")
+    (description "This package provides a safe wrapper around the libheif-sys
+crate for parsing heif/heic files.")
+    (license license:expat)))
+
 (define-public rust-libheif-sys-1
   (package
     (name "rust-libheif-sys")
-- 
2.41.0





  parent reply	other threads:[~2024-05-05 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1714919491.git.sergio.pastorperez@outlook.es>
2024-05-05 14:44 ` [bug#70787] [PATCH 1/4] gnu: Add rust-enumn-0.1 Sergio Pastor Pérez
2024-05-05 14:44 ` [bug#70787] [PATCH 2/4] gnu: Add rust-libheif-sys-1 Sergio Pastor Pérez
2024-05-05 14:44 ` Sergio Pastor Pérez [this message]
2024-05-05 14:44 ` [bug#70787] [PATCH 4/4] gnu: Add heic-to-dynamic-gnome-wallpaper Sergio Pastor Pérez

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=PAXP251MB0348A6861A5879D22D6EB604F31D2@PAXP251MB0348.EURP251.PROD.OUTLOOK.COM \
    --to=sergio.pastorperez@outlook.es \
    --cc=70787@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /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).