[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
284/470: gnu: rust-ring-0.16: Remove pregenerated files.
From: |
guix-commits |
Subject: |
284/470: gnu: rust-ring-0.16: Remove pregenerated files. |
Date: |
Sun, 30 Apr 2023 14:04:32 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c6a931e97069c11a2b9f45cfcd18fa09e7255b86
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 13 13:24:56 2023 +0200
gnu: rust-ring-0.16: Remove pregenerated files.
* gnu/packages/crates-io.scm (rust-ring-0.16)[source]: Add snippet to
remove pregenerated files and add fake .git directory.
[native-inputs]: Add perl.
[supported-systems]: New field.
* gnu/packages/rust-apps.scm (tealdeer)[native-inputs]: Add perl.
---
gnu/packages/crates-io.scm | 17 ++++++++++++++++-
gnu/packages/rust-apps.scm | 3 ++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 655a3dc1c1..6433fa347e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81,6 +81,7 @@
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
@@ -49089,7 +49090,15 @@ functionality as retain but gives mutable borrow to
the predicate.")
(uri (crate-uri "ring" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1z682xp7v38ayq9g9nkbhhfpj6ygralmlx7wdmsfv8rnw99cylrh"))))
+ (base32 "1z682xp7v38ayq9g9nkbhhfpj6ygralmlx7wdmsfv8rnw99cylrh"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "pregenerated")
+ ;; Pretend this isn't a relase tarball.
+ (with-output-to-file ".git"
+ (lambda _
+ (format #t "")))))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;missing file
@@ -49105,9 +49114,15 @@ functionality as retain but gives mutable borrow to
the predicate.")
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (native-inputs
+ (list perl))
(home-page "https://github.com/briansmith/ring")
(synopsis "Safe, fast, small crypto using Rust")
(description "This package provided safe, fast, small crypto using Rust.")
+ ;; For a mostly complete list of supported systems see:
+ ;;
https://github.com/briansmith/ring/blob/main/.github/workflows/ci.yml#L170
+ (supported-systems (list "aarch64-linux" "armhf-linux"
+ "i686-linux" "x86_64-linux"))
(license (list license:isc license:openssl))))
(define-public rust-ring-0.14
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index ffc3247d43..e5efaaa179 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -71,6 +71,7 @@
#:use-module (gnu packages networking)
#:use-module (gnu packages ssh)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python-xyz)
@@ -2204,7 +2205,7 @@ daemon which executes them.")
("rust-predicates" ,rust-predicates-2)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs
- (list pkg-config))
+ (list perl pkg-config))
(inputs
(list openssl))
(home-page "https://github.com/dbrgn/tealdeer/")
- 246/470: etc: teams: Add sequoia.scm to the rust team., (continued)
- 246/470: etc: teams: Add sequoia.scm to the rust team., guix-commits, 2023/04/30
- 249/470: gnu: Add rust-crossterm-0.25., guix-commits, 2023/04/30
- 256/470: gnu: Add rust-lscolors-0.13., guix-commits, 2023/04/30
- 280/470: gnu: rust-bytes-1: Update to 1.4.0., guix-commits, 2023/04/30
- 287/470: gnu: Add rust-dns-sd-0.1., guix-commits, 2023/04/30
- 288/470: gnu: Add rust-if-addrs-sys-0.3., guix-commits, 2023/04/30
- 289/470: gnu: Add rust-if-addrs-0.6., guix-commits, 2023/04/30
- 310/470: gnu: Add rust-funty-2., guix-commits, 2023/04/30
- 313/470: gnu: Add rust-pyo3-build-config-0.18., guix-commits, 2023/04/30
- 315/470: gnu: Add rust-markup-proc-macro-0.13., guix-commits, 2023/04/30
- 284/470: gnu: rust-ring-0.16: Remove pregenerated files.,
guix-commits <=
- 329/470: gnu: rust-typenum-1: Update to 1.16.0., guix-commits, 2023/04/30
- 337/470: gnu: rust-rkyv-0.7: Update to 0.7.40., guix-commits, 2023/04/30
- 342/470: gnu: Add rust-castaway-0.2., guix-commits, 2023/04/30
- 352/470: gnu: rust-bytecount-0.6: Update to 0.6.2., guix-commits, 2023/04/30
- 356/470: gnu: rust-1.68: Update to 1.68.2., guix-commits, 2023/04/30
- 359/470: gnu: rust-lexopt: Update to 0.3.0., guix-commits, 2023/04/30
- 360/470: gnu: rust-once-cell-1: Update to 1.17.1., guix-commits, 2023/04/30
- 362/470: gnu: newsboat: Update to 2.31., guix-commits, 2023/04/30
- 363/470: gnu: rust-boxxy-0.11: Update to 0.12.1., guix-commits, 2023/04/30
- 365/470: gnu: rust-nom-derive-0.7: Update to 0.10.1., guix-commits, 2023/04/30