all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 56775@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#56775] [PATCH 1/4] gnu: Add rust-adler-1.
Date: Tue, 26 Jul 2022 09:26:04 +0200	[thread overview]
Message-ID: <20220726072607.7356-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <20220726064157.27906-1-ngraves@ngraves.fr>

* gnu/packages/crates-io.scm
(rust-adler-1): New variable.
(rust-adler-0.2): Add development-inputs.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30e2db0777..8ddceaabfc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1815,23 +1815,24 @@ (define-public rust-addr2line-0.9
         ("rust-memmap" ,rust-memmap-0.7)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
-(define-public rust-adler-0.2
+(define-public rust-adler-1
   (package
     (name "rust-adler")
-    (version "0.2.3")
+    (version "1.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "adler" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
+        (base32 "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
-        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
     (home-page "https://github.com/jonas-schievink/adler")
     (synopsis "Implementation of the Adler-32 checksum")
     (description
@@ -1842,6 +1843,20 @@ (define-public rust-adler-0.2
            license:asl2.0
            (license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
 
+(define-public rust-adler-0.2
+  (package
+    (inherit rust-adler-1)
+    (name "rust-adler")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "adler" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
+    (build-system cargo-build-system)))
+
 (define-public rust-adler32-1
   (package
     (name "rust-adler32")
-- 
2.37.1





  reply	other threads:[~2022-07-26  7:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  6:41 [bug#56775] [PATCH] gnu: rust-miniz-oxide: Do not skip build Nicolas Graves via Guix-patches via
2022-07-26  7:26 ` Nicolas Graves via Guix-patches via [this message]
2022-07-26  7:26   ` [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0 Nicolas Graves via Guix-patches via
2022-07-26 10:14     ` Maxime Devos
2022-07-26 10:21       ` ( via Guix-patches via
2022-07-26 10:47         ` Maxime Devos
2022-07-26 10:51           ` ( via Guix-patches via
2022-07-26 16:33             ` Nicolas Graves via Guix-patches via
2022-07-27  9:45     ` Marius Bakke
2022-07-26  7:26   ` [bug#56775] [PATCH 3/4] gnu: Add rust-simd-adler32-0.3 Nicolas Graves via Guix-patches via
2022-07-26  7:26   ` [bug#56775] [PATCH 4/4] gnu: Add rust-miniz-oxide-0.5 Nicolas Graves via Guix-patches via
2022-07-26 10:17     ` Maxime Devos
2022-07-26 17:06 ` [bug#56775] [PATCH] " Nicolas Graves via Guix-patches via
2022-07-26 18:17   ` Nicolas Graves via Guix-patches via
2022-07-27  9:52   ` bug#56775: " Marius Bakke

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220726072607.7356-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=56775@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.