From: "Antoine Côté" <antoine.cote@posteo.net>
To: 45076@debbugs.gnu.org
Cc: "Antoine Côté" <antoine.cote@posteo.net>
Subject: [bug#45076] [PATCH 2/3] gnu: Add rust-nasm-rs-0.2.
Date: Sun, 6 Dec 2020 02:59:32 -0500 [thread overview]
Message-ID: <20201206075933.25646-2-antoine.cote@posteo.net> (raw)
In-Reply-To: <20201206075933.25646-1-antoine.cote@posteo.net>
* gnu/packages/crate-io.scm (rust-nasm-rs-0.2): New variable.
(rust-nasm-rs-0.1): Inherit from rust-nasm-rs-0.2.
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb39a04e23..09a4dfdccc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -16177,8 +16178,32 @@ a default trait implementation you've defined.")
libmysqlclient.")
(license (list license:expat license:asl2.0))))
+(define-public rust-nasm-rs-0.2
+ (package
+ (name "rust-nasm-rs")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nasm-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-rayon" ,rust-rayon-1))))
+ (home-page "https://github.com/medek/nasm-rs")
+ (synopsis "Run NASM during your Cargo build")
+ (description "Run NASM during your Cargo build.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-nasm-rs-0.1
(package
+ (inherit rust-nasm-rs-0.2)
(name "rust-nasm-rs")
(version "0.1.7")
(source
@@ -16194,11 +16219,7 @@ libmysqlclient.")
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-rayon" ,rust-rayon-1))))
- (home-page "https://github.com/medek/nasm-rs")
- (synopsis "Run NASM during your Cargo build")
- (description "Run NASM during your Cargo build.")
- (license (list license:expat license:asl2.0))))
+ (("rust-rayon" ,rust-rayon-1))))))
(define-public rust-nalgebra-0.21
(package
--
2.29.2
next prev parent reply other threads:[~2020-12-06 16:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-06 7:59 [bug#45077] [PATCH 1/3] gnu: Add rust-aom-sys-0.2 Antoine Côté
2020-12-06 7:59 ` Antoine Côté [this message]
2020-12-07 8:49 ` bug#45076: [PATCH 2/3] gnu: Add rust-nasm-rs-0.2 Nicolas Goaziou
2020-12-06 7:59 ` [bug#45078] [PATCH 3/3] gnu: rav1e: Update to 0.3.4 Antoine Côté
2020-12-06 17:23 ` [bug#45079] " Antoine Côté
2020-12-07 8:50 ` bug#45079: " Nicolas Goaziou
2020-12-07 8:49 ` bug#45078: " Nicolas Goaziou
2020-12-06 14:45 ` [bug#45079] [PATCH 1/3] gnu: Add rust-aom-sys-0.2 Antoine Côté
2020-12-07 8:48 ` bug#45077: " Nicolas Goaziou
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=20201206075933.25646-2-antoine.cote@posteo.net \
--to=antoine.cote@posteo.net \
--cc=45076@debbugs.gnu.org \
/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).