[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
443/470: gnu: rust-ring-0.16: Remove pregenerated files.
From: |
guix-commits |
Subject: |
443/470: gnu: rust-ring-0.16: Remove pregenerated files. |
Date: |
Thu, 16 Mar 2023 03:02:36 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 884835786d212e99a090963d2ac3261dce970318
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 4a2bc1824e..5bf45bb4e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82,6 +82,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)
@@ -48924,7 +48925,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
@@ -48940,9 +48949,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 188bf5627c..4d157b2dd8 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)
@@ -2239,7 +2240,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/")
- 414/470: gnu: Add rust-lscolors-0.13., (continued)
- 414/470: gnu: Add rust-lscolors-0.13., guix-commits, 2023/03/16
- 393/470: gnu: Remove rust-gl-generator-0.10., guix-commits, 2023/03/16
- 399/470: gnu: gdk-pixbuf: Remove extra inputs., guix-commits, 2023/03/16
- 418/470: gnu: rust-similar-2: Update to 2.2.1., guix-commits, 2023/03/16
- 419/470: gnu: Add rust-test-case-2., guix-commits, 2023/03/16
- 406/470: gnu: rust-console-0.15: Update to 0.15.5., guix-commits, 2023/03/16
- 410/470: gnu: rust-insta-1: Update to 1.28.0., guix-commits, 2023/03/16
- 423/470: gnu: Add rust-option-set-0.1., guix-commits, 2023/03/16
- 436/470: gnu: rust-anyhow-1: Update to 1.0.69., guix-commits, 2023/03/16
- 434/470: gnu: rust-gif-0.11: Remove duplicate definition., guix-commits, 2023/03/16
- 443/470: gnu: rust-ring-0.16: Remove pregenerated files.,
guix-commits <=
- 445/470: gnu: rust-ring-0.13: Remove pregenerated files., guix-commits, 2023/03/16
- 461/470: gnu: rust-pyo3-macros-backend-0.15: Update to 0.15.2., guix-commits, 2023/03/16
- 463/470: gnu: rust-pyo3-0.15: Update to 0.15.2., guix-commits, 2023/03/16
- 83/470: gnu: rust-dota-short-0.3: Update to 0.3.3., guix-commits, 2023/03/16
- 207/470: gnu: rust-time-macros-0.2: Update to 0.2.7., guix-commits, 2023/03/16
- 208/470: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/03/16
- 215/470: gnu: Add rust-trust-dns-resolver-0.22., guix-commits, 2023/03/16
- 239/470: gnu: Add rust-prettyplease-0.1., guix-commits, 2023/03/16
- 253/470: gnu: Add rust-botan-0.8., guix-commits, 2023/03/16
- 297/470: gnu: rust-reqwest-0.11: Fix build., guix-commits, 2023/03/16