GNU bug report logs - #45077
[PATCH 1/3] gnu: Add rust-aom-sys-0.2.

Previous Next

Package: guix-patches;

Reported by: Antoine Côté <antoine.cote <at> posteo.net>

Date: Sun, 6 Dec 2020 16:41:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45077: closed ([PATCH 1/3] gnu: Add rust-aom-sys-0.2.)
Date: Mon, 07 Dec 2020 08:49:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 07 Dec 2020 09:48:31 +0100
with message-id <87lfeaypb4.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#45077] [PATCH 1/3] gnu: Add rust-aom-sys-0.2.
has caused the debbugs.gnu.org bug report #45077,
regarding [PATCH 1/3] gnu: Add rust-aom-sys-0.2.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45077: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45077
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Antoine Côté <antoine.cote <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Antoine Côté <antoine.cote <at> posteo.net>
Subject: [PATCH 1/3] gnu: Add rust-aom-sys-0.2.
Date: Sun,  6 Dec 2020 02:59:31 -0500
* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): New variable.
(rust-aom-sys-0.1): Inherit from rust-aom-sys-0.2.
---
 gnu/packages/crates-graphics.scm | 37 +++++++++++++++++++++++++++-----
 1 file changed, 32 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 9a755d46b4..02bf7b27a4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2020 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
+;;; Copyright © 2020 Antoine Côté <antoine.cote <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -167,8 +168,38 @@ text or blue underlined text, on ANSI terminals.")
          "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
     (arguments `())))
 
+(define-public rust-aom-sys-0.2
+  (package
+    (name "rust-aom-sys")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "aom-sys" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-bindgen" ,rust-bindgen-0.54)
+         ("rust-metadeps" ,rust-metadeps-1.1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libaom" ,libaom)
+       ("clang" ,clang)
+       ("llvm" ,llvm)))
+    (home-page "https://github.com/rust-av/aom-rs")
+    (synopsis "FFI bindings to aom")
+    (description "This package provides FFI bindings to aom.")
+    (license license:expat)))
+
 (define-public rust-aom-sys-0.1
   (package
+    (inherit rust-aom-sys-0.2)
     (name "rust-aom-sys")
     (version "0.1.4")
     (source
@@ -190,11 +221,7 @@ text or blue underlined text, on ANSI terminals.")
     (inputs
      `(("libaom" ,libaom)
        ("clang" ,clang)
-       ("llvm" ,llvm)))
-    (home-page "https://github.com/rust-av/aom-rs")
-    (synopsis "FFI bindings to aom")
-    (description "This package provides FFI bindings to aom.")
-    (license license:expat)))
+       ("llvm" ,llvm)))))
 
 (define-public rust-ascii-canvas-2
   (package
-- 
2.29.2



[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Antoine Côté <antoine.cote <at> posteo.net>
Cc: 45077-done <at> debbugs.gnu.org
Subject: Re: [bug#45077] [PATCH 1/3] gnu: Add rust-aom-sys-0.2.
Date: Mon, 07 Dec 2020 09:48:31 +0100
Hello,

Antoine Côté <antoine.cote <at> posteo.net> writes:

> * gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): New variable.
> (rust-aom-sys-0.1): Inherit from rust-aom-sys-0.2.

All patches applied. Thank you.

Regards,
-- 
Nicolas Goaziou


This bug report was last modified 4 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.