Merge remote-tracking branch 'origin/rust-team'

Change-Id: I6d5c28252f060eeb69eb02fd281e7268bb885b29
This commit is contained in:
Efraim Flashner 2024-12-02 14:13:39 +02:00
commit 541abedc0a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
28 changed files with 14576 additions and 2756 deletions

View file

@ -0,0 +1,46 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
;;; This file returns a manifest of packages built using the cargo-build-system
;;; which are NOT prefixed with 'rust-' and the packages which use rust itself
;;; as an input. This is a short list of packages which can be checked to see
;;; if a rust update has gone smoothly. It is used to assist continuous
;;; integration of the rust-team branch.
(use-modules (guix packages)
(guix profiles)
(guix build-system)
(srfi srfi-1))
(manifest
(map package->manifest-entry
(fold-packages
(lambda (package lst)
(if (or
(and (eq? (build-system-name (package-build-system package))
(quote cargo))
(not (string-prefix? "rust-" (package-name package))))
(any
(lambda (pkg)
(member (specification->package "rust") pkg))
(append (package-native-inputs package)
(package-propagated-inputs package)
(package-inputs package))))
(cons package lst)
lst))
(list))))

View file

@ -2132,6 +2132,8 @@ dist_patch_DATA = \
%D%/packages/patches/rustc-1.54.0-src.patch \
%D%/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch \
%D%/packages/patches/rust-1.70-fix-rustix-build.patch \
%D%/packages/patches/rust-1.78-unwinding-fix.patch \
%D%/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch \
%D%/packages/patches/rust-cargo-edit-remove-ureq.patch \
%D%/packages/patches/rust-ring-0.17-ring-core.patch \
%D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \

View file

@ -3960,7 +3960,9 @@ compressed files.")
"0wg1s927g32k25j967kfr8l30nmr4c0p4zvy5igvy7cs6chd60lh"))))
(build-system cargo-build-system)
(arguments
`(#:phases
`(#:tests? #f
#:install-source? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-writable
(lambda _

View file

@ -63,8 +63,30 @@
extension of blocks.")
(license license:expat)))
(define-public rust-block2-0.5
(package
(name "rust-block2")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "block2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0pyiha5his2grzqr3mynmq244laql2j20992i59asp0gy7mjw4rc"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-objc2" ,rust-objc2-0.5))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Apple's C language extension of blocks")
(description "This package contains Apple's C language extension of blocks.")
(license license:expat)))
(define-public rust-block2-0.3
(package
(inherit rust-block2-0.5)
(name "rust-block2")
(version "0.3.0")
(source
@ -74,15 +96,10 @@ extension of blocks.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0s2ywcis2xf9444vmdgzr7ankrrkpchn8zimaw950cszm1imdd8m"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
#:cargo-inputs (("rust-block-sys" ,rust-block-sys-0.2)
("rust-objc2" ,rust-objc2-0.4))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Apple's C language extension of blocks")
(description "This package contains Apple's C language extension of blocks.")
(license license:expat)))
("rust-objc2" ,rust-objc2-0.4))))))
(define-public rust-block2-0.2
(package
@ -143,14 +160,14 @@ extension of blocks.")
(define-public rust-cargo-credential-macos-keychain-0.4
(package
(name "rust-cargo-credential-macos-keychain")
(version "0.4.3")
(version "0.4.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "cargo-credential-macos-keychain" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ls1ak7xmjw5h04h1sqxz8fyiq7w6xva5kavfkrs7rgplgh0049n"))))
(base32 "1mb5ckal65llh7c0p2a3ivwbv8802s9ysrr0wsjn82fj8jv05kla"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4)
@ -462,8 +479,31 @@ CommonCrypto library.")
"Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.")
(license license:expat)))
(define-public rust-core-foundation-0.10
(package
(name "rust-core-foundation")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qscay14s2rwkg8nd8ljhiaf149hj8sfy95d70zssy64r3jp2lmm"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; link kind `framework` is only supported on Apple targets
#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
("rust-uuid" ,rust-uuid-1))))
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
(description "This package provides bindings to Core Foundation for macOS.")
(license (list license:expat license:asl2.0))))
(define-public rust-core-foundation-0.9
(package
(inherit rust-core-foundation-0.10)
(name "rust-core-foundation")
(version "0.9.4")
(source
@ -473,18 +513,13 @@ CommonCrypto library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13zvbbj07yk3b61b8fhwfzhy35535a583irf23vlcg59j7h9bqci"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;tests fail with a lot of "undefined reference"
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
("rust-uuid" ,rust-uuid-0.5))))
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
(description "This package provides bindings to Core Foundation for macOS.")
(license (list license:expat license:asl2.0))))
("rust-uuid" ,rust-uuid-0.5))))))
(define-public rust-core-foundation-0.7
(package
@ -551,14 +586,14 @@ CommonCrypto library.")
(define-public rust-core-foundation-sys-0.8
(package
(name "rust-core-foundation-sys")
(version "0.8.6")
(version "0.8.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13w6sdf06r0hn7bx2b45zxsg1mm2phz34jikm6xc5qrbr6djpsh6"))))
(base32 "12w8j73lazxmr1z0h98hf3z623kl8ms7g07jch7n4p8f9nwlhdkp"))))
(build-system cargo-build-system)
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
@ -1055,17 +1090,18 @@ Foundation framework.")
(define-public rust-objc-sys-0.3
(package
(name "rust-objc-sys")
(version "0.3.2")
(version "0.3.5")
(source (origin
(method url-fetch)
(uri (crate-uri "objc-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0nbl4p4dmajhm0ji1z09jrlrxhqs4jfkvj1zjschh38qwhj17iy7"))))
"0423gry7s3rmz8s3pzzm1zy5mdjif75g6dbzc2lf2z0c77fipffd"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Needs gcc-objc
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-cc" ,rust-cc-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Raw bindings to the Objective-C runtime and ABI")
@ -1114,8 +1150,40 @@ Foundation framework.")
"This package provides utilities for testing Objective-C interop.")
(license license:expat)))
(define-public rust-objc2-0.5
(package
(name "rust-objc2")
(version "0.5.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "015qa2d3vh7c1j2736h5wjrznri7x5ic35vl916c22gzxva8b9s6"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-malloc-buf" ,rust-malloc-buf-1)
("rust-objc-sys" ,rust-objc-sys-0.3)
("rust-objc2-encode" ,rust-objc2-encode-4)
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1))
#:cargo-development-inputs
(("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-iai" ,rust-iai-0.1)
("rust-memoffset" ,rust-memoffset-0.9)
("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis
"Objective-C interface and bindings to the Cocoa Foundation framework")
(description "This package provides Objective-C interface and bindings to
the Cocoa Foundation framework.")
(license license:expat)))
(define-public rust-objc2-0.4
(package
(inherit rust-objc2-0.5)
(name "rust-objc2")
(version "0.4.1")
(source
@ -1125,7 +1193,6 @@ Foundation framework.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13gr3zqv8gzlylff5d4za91f50asb7vsrkpv8kiva3nkzm05m72m"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
#:cargo-inputs (("rust-malloc-buf" ,rust-malloc-buf-1)
@ -1134,13 +1201,7 @@ Foundation framework.")
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1))
#:cargo-development-inputs
(("rust-iai" ,rust-iai-0.1)
("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis
"Objective-C interface and bindings to the Cocoa Foundation framework")
(description "This package provides Objective-C interface and bindings to
the Cocoa Foundation framework.")
(license license:expat)))
("rust-static-assertions" ,rust-static-assertions-1))))))
(define-public rust-objc2-0.3
(package
@ -1163,8 +1224,180 @@ the Cocoa Foundation framework.")
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1)
("rust-uuid" ,rust-uuid-1))))))
(define-public rust-objc2-app-kit-0.2
(package
(name "rust-objc2-app-kit")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-app-kit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1zqyi5l1bm26j1bgmac9783ah36m5kcrxlqp5carglnpwgcrms74"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-core-data" ,rust-objc2-core-data-0.2)
("rust-objc2-core-image" ,rust-objc2-core-image-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the AppKit framework")
(description
"This package provides bindings to the @code{AppKit} framework.")
(license license:expat)))
(define-public rust-objc2-cloud-kit-0.2
(package
(name "rust-objc2-cloud-kit")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-cloud-kit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02dhjvmcq8c2bwj31jx423jygif1scs9f0lmlab0ayhw75b3ppbl"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the CloudKit framework")
(description
"This package provides bindings to the @code{CloudKit} framework.")
(license license:expat)))
(define-public rust-objc2-contacts-0.2
(package
(name "rust-objc2-contacts")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-contacts" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12a8m927xrrxa54xhqhqnkkl1a6l07pyrpnqfk9jz09kkh755zx5"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the Contacts framework")
(description "This package provides bindings to the Contacts framework.")
(license license:expat)))
(define-public rust-objc2-core-data-0.2
(package
(name "rust-objc2-core-data")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-core-data" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vvk8zjylfjjj04dzawydmqqz5ajvdkhf22cnb07ihbiw14vyzv1"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the CoreData framework")
(description
"This package provides bindings to the @code{CoreData} framework.")
(license license:expat)))
(define-public rust-objc2-core-image-0.2
(package
(name "rust-objc2-core-image")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-core-image" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "102csfb82zi2sbzliwsfd589ckz0gysf7y6434c9zj97lmihj9jm"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
("rust-objc2-metal" ,rust-objc2-metal-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the CoreImage framework")
(description
"This package provides bindings to the @code{CoreImage} framework.")
(license license:expat)))
(define-public rust-objc2-core-location-0.2
(package
(name "rust-objc2-core-location")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-core-location" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10apgsrigqryvi4rcc0f6yfjflvrl83f4bi5hkr48ck89vizw300"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-contacts" ,rust-objc2-contacts-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the CoreLocation framework")
(description
"This package provides bindings to the @code{CoreLocation} framework.")
(license license:expat)))
(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")
(version "4.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-encode" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1y7hjg4k828zhn4fjnbidrz3vzw4llk9ldy92drj47ydjc9yg4bq"))))
(build-system cargo-build-system)
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Objective-C type-encoding representation and parsing")
(description
"This package provides Objective-C type-encoding representation and parsing.")
(license license:expat)))
(define-public rust-objc2-encode-3
(package
(inherit rust-objc2-encode-4)
(name "rust-objc2-encode")
(version "3.0.0")
(source
@ -1173,13 +1406,7 @@ the Cocoa Foundation framework.")
(uri (crate-uri "objc2-encode" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rknhkcnyj4qv1pzqp5j8l80726phz8fcxpsbpz9nhmg6xdq8yfh"))))
(build-system cargo-build-system)
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Objective-C type-encoding representation and parsing")
(description "This package provides objective-C type-encoding
representation and parsing.")
(license license:expat)))
(base32 "0rknhkcnyj4qv1pzqp5j8l80726phz8fcxpsbpz9nhmg6xdq8yfh"))))))
(define-public rust-objc2-encode-2
(package
@ -1197,23 +1424,232 @@ representation and parsing.")
`(#:tests? #f ; Test suite wants gcc-objc
#:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2))))))
(define-public rust-objc2-foundation-0.2
(package
(name "rust-objc2-foundation")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1a6mi77jsig7950vmx9ydvsxaighzdiglk5d229k569pvajkirhf"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-dispatch" ,rust-dispatch-0.2)
("rust-libc" ,rust-libc-0.2)
("rust-objc2" ,rust-objc2-0.5))
#:cargo-development-inputs
(("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the Foundation framework")
(description "This package provides bindings to the Foundation framework.")
(license license:expat)))
(define-public rust-objc2-link-presentation-0.2
(package
(name "rust-objc2-link-presentation")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-link-presentation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "160k4qh00yrx57dabn3hzas4r98kmk9bc0qsy1jvwday3irax8d1"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the LinkPresentation framework")
(description
"This package provides bindings to the @code{LinkPresentation} framework.")
(license license:expat)))
(define-public rust-objc2-metal-0.2
(package
(name "rust-objc2-metal")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-metal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mmdga66qpxrcfq3gxxhysfx3zg1hpx4z886liv3j0pnfq9bl36x"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the Metal framework")
(description "This package provides bindings to the Metal framework.")
(license license:expat)))
(define-public rust-objc2-proc-macros-0.1
(package
(name "rust-objc2-proc-macros")
(version "0.1.1")
(version "0.1.3")
(source (origin
(method url-fetch)
(uri (crate-uri "objc2-proc-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"07j3snswvj6532x32zgn4llc2xaf31rj4iw18n6dsrf2p0jvh1xr"))))
"1w335fj58k76z94d242xq18qkj7iw082lpy3kxnisaa5r7q4aaa6"))))
(build-system cargo-build-system)
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Procedural macros for the objc2 project")
(description "This package provides procedural macros for the objc2 project.")
(license license:expat)))
(define-public rust-objc2-quartz-core-0.2
(package
(name "rust-objc2-quartz-core")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-quartz-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ynw8819c36l11rim8n0yzk0fskbzrgaqayscyqi8swhzxxywaz4"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
("rust-objc2-metal" ,rust-objc2-metal-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the QuartzCore/CoreAnimation framework")
(description
"This package provides bindings to the @code{QuartzCore/CoreAnimation}
framework.")
(license license:expat)))
(define-public rust-objc2-ui-kit-0.2
(package
(name "rust-objc2-ui-kit")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-ui-kit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vrb5r8z658l8c19bx78qks8c5hg956544yirf8npk90idwldfxq"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-cloud-kit" ,rust-objc2-cloud-kit-0.2)
("rust-objc2-core-data" ,rust-objc2-core-data-0.2)
("rust-objc2-core-image" ,rust-objc2-core-image-0.2)
("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
("rust-objc2-link-presentation" ,rust-objc2-link-presentation-0.2)
("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2)
("rust-objc2-symbols" ,rust-objc2-symbols-0.2)
("rust-objc2-uniform-type-identifiers" ,rust-objc2-uniform-type-identifiers-0.2)
("rust-objc2-user-notifications" ,rust-objc2-user-notifications-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the UIKit framework")
(description "This package provides bindings to the UIKit framework.")
(license license:expat)))
(define-public rust-objc2-symbols-0.2
(package
(name "rust-objc2-symbols")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-symbols" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p04hjkxan18g2b7h9n2n8xxsvazapv2h6mfmmdk06zc7pz4ws0a"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the Symbols framework")
(description "This package Provides Bindings to the Symbols framework.")
(license license:expat)))
(define-public rust-objc2-uniform-type-identifiers-0.2
(package
(name "rust-objc2-uniform-type-identifiers")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-uniform-type-identifiers" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ziv4wkbxcaw015ypg0q49ycl7m14l3x56mpq2k1rznv92bmzyj4"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the UniformTypeIdentifiers framework")
(description
"This package provides bindings to the @code{UniformTypeIdentifiers} framework.")
(license license:expat)))
(define-public rust-objc2-user-notifications-0.2
(package
(name "rust-objc2-user-notifications")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-user-notifications" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1cscv2w3vxzaslz101ddv0z9ycrrs4ayikk4my4qd3im8bvcpkvn"))))
(build-system cargo-build-system)
(arguments
;; Must specify the desired runtime using Cargo features on non-Apple platforms
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-block2" ,rust-block2-0.5)
("rust-objc2" ,rust-objc2-0.5)
("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the UserNotifications framework")
(description
"This package provides bindings to the @code{UserNotifications} framework.")
(license license:expat)))
(define-public rust-readkey-0.1
(package
(name "rust-readkey")
@ -1237,19 +1673,19 @@ currently pressed on macOS.")
(define-public rust-security-framework-2
(package
(name "rust-security-framework")
(version "2.9.2")
(version "2.11.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "security-framework" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1pplxk15s5yxvi2m1sz5xfmjibp96cscdcl432w9jzbk0frlzdh5"))))
(base32 "00ldclwx78dm61v7wkach9lcx76awlrv0fdgjdwch4dmy12j4yw9"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;missing files
`(#:tests? #f ; unresolved import `security_framework::secure_transport`
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
(("rust-bitflags" ,rust-bitflags-2)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
@ -1261,7 +1697,7 @@ currently pressed on macOS.")
("rust-hex" ,rust-hex-0.4)
("rust-tempdir" ,rust-tempdir-0.3)
("rust-time" ,rust-time-0.3)
("rust-x509-parser" ,rust-x509-parser-0.15))))
("rust-x509-parser" ,rust-x509-parser-0.16))))
(home-page "https://lib.rs/crates/security_framework")
(synopsis "@code{Security.framework} bindings for macOS and iOS")
(description "This package provides @code{Security.framework} bindings for
@ -1349,14 +1785,14 @@ macOS and iOS.")
(define-public rust-security-framework-sys-2
(package
(name "rust-security-framework-sys")
(version "2.9.1")
(version "2.12.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "security-framework-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0yhciwlsy9dh0ps1gw3197kvyqx1bvc4knrhiznhid6kax196cp9"))))
(base32 "18pafp0bn41bcbm66qrhb3pg4c8dddvc28jdr51mb2y57lqcffgs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs

View file

@ -3345,6 +3345,42 @@ secp384r1) elliptic curve as defined in SP 800-186 with support for ECDH, ECDSA
signing/verification, and general purpose curve arithmetic support.")
(license (list license:asl2.0 license:expat))))
(define-public rust-p521-0.13
(package
(name "rust-p521")
(version "0.13.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "p521" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1cl5y2aypa1vxg181a0na3abndz1981pfdp2zkyml88z3wbf5j8g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.2)
("rust-ecdsa" ,rust-ecdsa-0.16)
("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-primeorder" ,rust-primeorder-0.13)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-serdect" ,rust-serdect-0.2)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3)
("rust-ecdsa" ,rust-ecdsa-0.16)
("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-primeorder" ,rust-primeorder-0.13)
("rust-proptest" ,rust-proptest-1)
("rust-rand-core" ,rust-rand-core-0.6))))
(home-page
"https://github.com/RustCrypto/elliptic-curves/tree/master/p521")
(synopsis
"Pure Rust implementation of the NIST P-521 (a.k.a. secp521r1) elliptic curve")
(description
"This package provides Pure Rust implementation of the NIST P-521 (a.k.a.
secp521r1) elliptic curve as defined in SP 800-186.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pbkdf2-0.12
(package
(name "rust-pbkdf2")
@ -4010,7 +4046,7 @@ for constructing a Message Authentication Code (MAC).")
(define-public rust-ppv-lite86-0.2
(package
(name "rust-ppv-lite86")
(version "0.2.17")
(version "0.2.20")
(source
(origin
(method url-fetch)
@ -4018,8 +4054,10 @@ for constructing a Message Authentication Code (MAC).")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1pp6g52aw970adv3x2310n7glqnji96z0a9wiamzw89ibf0ayh2v"))))
"017ax9ssdnpww7nrl1hvqh2lzncpv04nnsibmnw9nxjnaqlpp5bp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-zerocopy" ,rust-zerocopy-0.7))))
(home-page "https://github.com/cryptocorrosion/cryptocorrosion")
(synopsis "Implementation of the crypto-simd API for x86")
(description "This crate provides an implementation of the crypto-simd API
@ -4029,14 +4067,14 @@ for x86.")
(define-public rust-primeorder-0.13
(package
(name "rust-primeorder")
(version "0.13.1")
(version "0.13.6")
(source (origin
(method url-fetch)
(uri (crate-uri "primeorder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg"))))
"1rp16710mxksagcjnxqjjq9r9wf5vf72fs8wxffnvhb6i6hiqgim"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@ -5100,8 +5138,36 @@ traits with cryptographic algorithm implementations from @code{ring}.")
("rust-sha2" ,rust-sha2-0.9)
("rust-sha3" ,rust-sha3-0.9))))))
(define-public rust-rust-argon2-2
(package
(name "rust-rust-argon2")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rust-argon2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1s66kgbvnv5vaq4vlglx587bq93c662whrniz6ycpjb03m9li64x"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.21)
("rust-blake2b-simd" ,rust-blake2b-simd-1)
("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-hex" ,rust-hex-0.4))))
(home-page "https://github.com/sru-systems/rust-argon2")
(synopsis "Argon2 password hashing function in Rust")
(description
"This package provides a Rust implementation of the Argon2 password
hashing function.")
(license (list license:expat license:asl2.0))))
(define-public rust-rust-argon2-0.8
(package
(inherit rust-rust-argon2-2)
(name "rust-rust-argon2")
(version "0.8.3")
(source
@ -5111,7 +5177,6 @@ traits with cryptographic algorithm implementations from @code{ring}.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -5119,13 +5184,7 @@ traits with cryptographic algorithm implementations from @code{ring}.")
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/sru-systems/rust-argon2")
(synopsis "Argon2 password hashing function in Rust")
(description
"This package provides a Rust implementation of the Argon2 password
hashing function.")
(license (list license:expat license:asl2.0))))
("rust-serde" ,rust-serde-1))))))
(define-public rust-rust-argon2-0.7
(package

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -40,10 +40,12 @@
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages crypto)
#:use-module (gnu packages golang)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages tls))
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind))
(define-public rust-asn1-0.15
(package
@ -129,8 +131,44 @@
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-asn1-rs-0.6
(package
(name "rust-asn1-rs")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "asn1-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0j5h437ycgih5hnrma6kmaxi4zb8csynnd66h9rzvxxcvfzc74sl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.5)
("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.2)
("rust-bitvec" ,rust-bitvec-1)
("rust-colored" ,rust-colored-2)
("rust-cookie-factory" ,rust-cookie-factory-0.3)
("rust-displaydoc" ,rust-displaydoc-0.2)
("rust-nom" ,rust-nom-7)
("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rusticata-macros" ,rust-rusticata-macros-4)
("rust-thiserror" ,rust-thiserror-1)
("rust-time" ,rust-time-0.3))
#:cargo-development-inputs (("rust-colored" ,rust-colored-2)
("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-pem" ,rust-pem-3)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Parser/encoder for ASN.1 BER/DER data")
(description
"This package provides a parser/encoder for ASN.1 BER/DER data.")
(license (list license:expat license:asl2.0))))
(define-public rust-asn1-rs-0.5
(package
(inherit rust-asn1-rs-0.6)
(name "rust-asn1-rs")
(version "0.5.2")
(source (origin
@ -140,7 +178,6 @@
(sha256
(base32
"1w7zq0392qs7kkv0nzw50bfqvq7q9zxv48fsp3sxyl83mzfxavvz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.4)
@ -159,11 +196,7 @@
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-oid-registry" ,rust-oid-registry-0.6)
("rust-pem" ,rust-pem-1)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Parser/encoder for ASN.1 BER/DER data")
(description "Parser/encoder for ASN.1 BER/DER data")
(license (list license:expat license:asl2.0))))
("rust-trybuild" ,rust-trybuild-1))))))
(define-public rust-asn1-rs-0.3
(package
@ -195,8 +228,32 @@
("rust-pem" ,rust-pem-1)
("rust-trybuild" ,rust-trybuild-1))))))
(define-public rust-asn1-rs-derive-0.5
(package
(name "rust-asn1-rs-derive")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "asn1-rs-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "140ldl0vp1d0090bpm0w9j8g80dwc03wp928w5kv5diwwlrjsp4n"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2)
("rust-synstructure" ,rust-synstructure-0.13))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Derive macros for the `asn1-rs` crate")
(description
"This package provides derive macros for the @code{asn1-rs} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-asn1-rs-derive-0.4
(package
(inherit rust-asn1-rs-derive-0.5)
(name "rust-asn1-rs-derive")
(version "0.4.0")
(source (origin
@ -206,18 +263,12 @@
(sha256
(base32
"0v7fgmnzk7jjxv51grhwzcx5bf167nlqwk3vcmq7xblf5s4karbj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Derive macros for the `asn1-rs` crate")
(description
"This package provides derive macros for the @code{asn1-rs} crate.")
(license (list license:expat license:asl2.0))))
("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-asn1-rs-derive-0.1
(package
@ -237,8 +288,31 @@
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-asn1-rs-impl-0.2
(package
(name "rust-asn1-rs-impl")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "asn1-rs-impl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xv56m0wrwix4av3w86sih1nsa5g1dgfz135lz1qdznn5h60a63v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Implementation details for the `asn1-rs` crate")
(description
"This package provides implementation details for the @code{asn1-rs} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-asn1-rs-impl-0.1
(package
(inherit rust-asn1-rs-impl-0.2)
(name "rust-asn1-rs-impl")
(version "0.1.0")
(source (origin
@ -248,17 +322,11 @@
(sha256
(base32
"1va27bn7qxqp4wanzjlkagnynv6jnrhnwmcky2ahzb1r405p6xr7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rusticata/asn1-rs")
(synopsis "Implementation details for the `asn1-rs` crate")
(description
"This package provides implementation details for the @code{asn1-rs} crate.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-1))))))
(define-public rust-async-native-tls-0.3
(package
@ -362,27 +430,37 @@ version of AWS-LC.")
(define-public rust-aws-lc-rs-1
(package
(name "rust-aws-lc-rs")
(version "1.6.1")
(version "1.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "aws-lc-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jmwpin66yibpq0ha7i61g2ryz9gp4y6by4337fdjj2ckhwbm55v"))))
(base32 "0ifz8z5y4qg94ri9vybyv2pq0hr7ds3da1r6rmd08dk2nr02hz7y"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
(("\"[=~] ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-aws-lc-fips-sys" ,rust-aws-lc-fips-sys-0.12)
("rust-aws-lc-sys" ,rust-aws-lc-sys-0.13)
("rust-aws-lc-sys" ,rust-aws-lc-sys-0.23)
("rust-mirai-annotations" ,rust-mirai-annotations-1)
("rust-paste" ,rust-paste-1)
("rust-untrusted" ,rust-untrusted-0.7)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-clap" ,rust-clap-4)
("rust-hex" ,rust-hex-0.4)
("rust-home" ,rust-home-0.5)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-regex" ,rust-regex-1)
("rust-regex-automata" ,rust-regex-automata-0.3)
("rust-regex-syntax" ,rust-regex-syntax-0.7)
("rust-which" ,rust-which-5))))
(native-inputs (list cmake-minimal))
(home-page "https://github.com/awslabs/aws-lc-rs")
(synopsis "AWS-LC is a general-purpose cryptographic library")
@ -392,21 +470,21 @@ cryptographic operations. This library strives to be API-compatible with the
popular Rust library named ring.")
(license (list license:isc license:openssl license:asl2.0))))
;; TODO: Unbundle aws-lc.
(define-public rust-aws-lc-sys-0.13
(define-public rust-aws-lc-sys-0.23
(package
(name "rust-aws-lc-sys")
(version "0.13.0")
(version "0.23.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "aws-lc-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn"))))
(base32 "15igggl0xvzx212di0z4l1hxcvjhlk5ns67iw5yis7p8knd62fmd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
("rust-cc" ,rust-cc-1)
("rust-cmake" ,rust-cmake-0.1)
("rust-dunce" ,rust-dunce-1)
("rust-fs-extra" ,rust-fs-extra-1)
@ -421,6 +499,27 @@ Cryptography team for AWS and their customers. It is based on code from the
Google @code{BoringSSL} project and the @code{OpenSSL} project.")
(license (list license:isc license:openssl license:asl2.0))))
;; TODO: Unbundle aws-lc.
(define-public rust-aws-lc-sys-0.13
(package
(inherit rust-aws-lc-sys-0.23)
(name "rust-aws-lc-sys")
(version "0.13.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "aws-lc-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn"))))
(arguments
`(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
("rust-cmake" ,rust-cmake-0.1)
("rust-dunce" ,rust-dunce-1)
("rust-fs-extra" ,rust-fs-extra-1)
("rust-libc" ,rust-libc-0.2)
("rust-paste" ,rust-paste-1))))))
(define-public rust-der-0.7
(package
(name "rust-der")
@ -631,8 +730,40 @@ targets")
"This crate provides a macro to encode DER oids at compile time.")
(license (list license:expat license:asl2.0))))
(define-public rust-der-parser-9
(package
(name "rust-der-parser")
(version "9.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "der-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0lxmykajggvaq5mvpm2avgzwib4n9nyxii0kqaz2d5k88g3abl2w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6)
("rust-cookie-factory" ,rust-cookie-factory-0.3)
("rust-displaydoc" ,rust-displaydoc-0.2)
("rust-nom" ,rust-nom-7)
("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rusticata-macros" ,rust-rusticata-macros-4))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.4)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-test-case" ,rust-test-case-3))))
(home-page "https://github.com/rusticata/der-parser")
(synopsis "Parser/encoder for ASN.1 BER/DER data")
(description "This crate provides a parser for Basic Encoding Rules (BER
[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the
@code{nom} parser combinator framework.")
(license (list license:expat license:asl2.0))))
(define-public rust-der-parser-8
(package
(inherit rust-der-parser-9)
(name "rust-der-parser")
(version "8.2.0")
(source (origin
@ -642,7 +773,6 @@ targets")
(sha256
(base32
"07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-asn1-rs" ,rust-asn1-rs-0.5)
@ -655,13 +785,7 @@ targets")
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-test-case" ,rust-test-case-3))))
(home-page "https://github.com/rusticata/der-parser")
(synopsis "BER/DER parser written in pure Rust")
(description "This crate provides a parser for Basic Encoding Rules (BER
[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the
@code{nom} parser combinator framework.")
(license (list license:expat license:asl2.0))))
("rust-test-case" ,rust-test-case-3))))))
(define-public rust-der-parser-7
(package
@ -753,8 +877,55 @@ targets")
implementation.")
(license (list license:expat license:asl2.0))))
(define-public rust-oid-0.2
(package
(name "rust-oid")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "oid" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hh61lx2kr0ca2rvkhf5j94asxxvb6pfwfxm06hdn4w8b4y906cw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1))
#:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
("rust-serde-xml-rs" ,rust-serde-xml-rs-0.4)
("rust-serde-derive" ,rust-serde-derive-1))))
(home-page "https://labs.unnecessary.engineering/oid")
(synopsis
"Library for building, parsing, and formating Object Identifiers (OIDs)")
(description
"This package provides a Rust-native library for building, parsing, and
formating Object Identifiers (OIDs).")
(license (list license:expat license:asl2.0))))
(define-public rust-oid-registry-0.7
(package
(name "rust-oid-registry")
(version "0.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "oid-registry" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1navxdy0gx7f92ymwr6n02x35fypp2izdfcf49wszkc9ji6h7n58"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6))))
(home-page "https://github.com/rusticata/oid-registry")
(synopsis "Object Identifier (OID) database")
(description "This crate is a helper crate, containing a database of
OID objects. These objects are intended for use when manipulating ASN.1
grammars and BER/DER encodings, for example.")
(license (list license:expat license:asl2.0))))
(define-public rust-oid-registry-0.6
(package
(inherit rust-oid-registry-0.7)
(name "rust-oid-registry")
(version "0.6.1")
(source (origin
@ -764,15 +935,8 @@ implementation.")
(sha256
(base32
"1zwvjp3ad6gzn8g8w2hcn9a2xdap0lkzckhlnwp6rabbzdpz7vcv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5))))
(home-page "https://github.com/rusticata/oid-registry")
(synopsis "Object Identifier (OID) database")
(description "This crate is a helper crate, containing a database of
OID objects. These objects are intended for use when manipulating ASN.1
grammars and BER/DER encodings, for example.")
(license (list license:expat license:asl2.0))))
`(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5))))))
(define-public rust-oid-registry-0.4
(package
@ -820,8 +984,137 @@ grammars and BER/DER encodings, for example.")
`(#:skip-build? #t
#:cargo-inputs (("rust-der-parser" ,rust-der-parser-6))))))
(define-public rust-picky-asn1-0.8
(package
(name "rust-picky-asn1")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "picky-asn1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04mjb35z1g3dny8hjj6893fh8g6pskyhifcq58gf4sy16c7ylpi9"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; use of undeclared crate or module `picky_asn1_der`
#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
("rust-oid" ,rust-oid-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-time" ,rust-time-0.3)
("rust-zeroize" ,rust-zeroize-1))))
(home-page "https://github.com/Devolutions/picky-rs")
(synopsis "Provide ASN.1 simple types")
(description "This package provides ASN.1 simple types.")
(license (list license:expat license:asl2.0))))
(define-public rust-picky-asn1-der-0.4
(package
(name "rust-picky-asn1-der")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "picky-asn1-der" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gvrhb2nx17cnigsvbvjq69xg0zy27iabglknfnjvm1nkqx8gxsx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-picky-asn1" ,rust-picky-asn1-0.8)
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11))
#:cargo-development-inputs
(("rust-base64" ,rust-base64-0.21)
("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
("rust-oid" ,rust-oid-0.2)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11))))
(home-page "https://github.com/Devolutions/picky-rs")
(synopsis "ASN.1-DER subset for serde")
(description "This package provides an ASN.1-DER subset for serde.")
(license (list license:expat license:asl2.0))))
(define-public rust-picky-asn1-x509-0.12
(package
(name "rust-picky-asn1-x509")
(version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "picky-asn1-x509" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0232vn4i6x2w1hzysn983an6x0fqzak1ix0h4grryjb83bvj0prc"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-base64" ,rust-base64-0.21)
("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
("rust-oid" ,rust-oid-0.2)
("rust-picky-asn1" ,rust-picky-asn1-0.8)
("rust-picky-asn1-der" ,rust-picky-asn1-der-0.4)
("rust-serde" ,rust-serde-1)
("rust-widestring" ,rust-widestring-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-expect-test" ,rust-expect-test-1)
("rust-hex" ,rust-hex-0.4)
("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
("rust-pretty-assertions" ,rust-pretty-assertions-1))))
(home-page "https://github.com/Devolutions/picky-rs")
(synopsis "Provides ASN1 types defined by X.509 related RFCs")
(description
"This package provides ASN1 types defined by X.509 related RFCs.")
(license (list license:expat license:asl2.0))))
(define-public rust-rcgen-0.13
(package
(name "rust-rcgen")
(version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rcgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0yb7lg0pd1j66jr0kacs5z8q66fb9izkvsp11ma8hry4f8c7w1sl"))
(modules '((guix build utils)))
(snippet
'(begin
;; Don't use a vendored botan.
(substitute* "Cargo.toml"
((".*vendored.*") ""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
("rust-pem" ,rust-pem-3)
("rust-ring" ,rust-ring-0.17)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-time" ,rust-time-0.3)
("rust-x509-parser" ,rust-x509-parser-0.16)
("rust-yasna" ,rust-yasna-0.5)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-botan" ,rust-botan-0.10)
("rust-openssl" ,rust-openssl-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-ring" ,rust-ring-0.17)
("rust-rsa" ,rust-rsa-0.9)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-rustls-webpki" ,rust-rustls-webpki-0.102)
("rust-x509-parser" ,rust-x509-parser-0.16))))
(native-inputs (list pkg-config))
(inputs (list botan openssl))
(home-page "https://github.com/rustls/rcgen")
(synopsis "Rust X.509 certificate generator")
(description "This package provides Rust X.509 certificate generator.")
(license (list license:expat license:asl2.0))))
(define-public rust-rcgen-0.12
(package
(inherit rust-rcgen-0.13)
(name "rust-rcgen")
(version "0.12.1")
(source (origin
@ -837,7 +1130,6 @@ grammars and BER/DER encodings, for example.")
;; Don't use a vendored botan.
(substitute* "Cargo.toml"
((".*vendored.*") ""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
@ -854,15 +1146,7 @@ grammars and BER/DER encodings, for example.")
("rust-ring" ,rust-ring-0.17)
("rust-rsa" ,rust-rsa-0.9)
("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
("rust-x509-parser" ,rust-x509-parser-0.15))))
(native-inputs
(list pkg-config))
(inputs
(list botan openssl))
(home-page "https://github.com/rustls/rcgen")
(synopsis "Rust X.509 certificate generator")
(description "Rust X.509 certificate generator.")
(license (list license:expat license:asl2.0))))
("rust-x509-parser" ,rust-x509-parser-0.15))))))
(define-public rust-rcgen-0.11
(package
@ -997,8 +1281,67 @@ grammars and BER/DER encodings, for example.")
("rust-webpki" ,rust-webpki-0.22)
("rust-x509-parser" ,rust-x509-parser-0.12))))))
(define-public rust-rustls-0.23
(package
(name "rust-rustls")
(version "0.23.17")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07lg2b56s3gp3acd8a6yaqbpji8vv3xmv3ay8vaacjy525ap86kz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
("rust-brotli" ,rust-brotli-7)
("rust-brotli-decompressor" ,rust-brotli-decompressor-4)
("rust-hashbrown" ,rust-hashbrown-0.15)
("rust-log" ,rust-log-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-ring" ,rust-ring-0.17)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-rustls-webpki" ,rust-rustls-webpki-0.102)
("rust-rustversion" ,rust-rustversion-1)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1)
("rust-zlib-rs" ,rust-zlib-rs-0.4))
#:cargo-development-inputs
(("rust-base64" ,rust-base64-0.22)
("rust-bencher" ,rust-bencher-0.1)
("rust-clap" ,rust-clap-4)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-hex" ,rust-hex-0.4)
("rust-log" ,rust-log-0.4)
("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-rcgen" ,rust-rcgen-0.13)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.6)
("rust-time" ,rust-time-0.3)
("rust-webpki-roots" ,rust-webpki-roots-0.26))
#:phases
(modify-phases %standard-phases
(add-after 'configure 'override-jemalloc
(lambda* (#:key inputs #:allow-other-keys)
(let ((jemalloc (assoc-ref inputs "jemalloc")))
;; This flag is needed when not using the bundled jemalloc.
;; https://github.com/tikv/jemallocator/issues/19
(setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1")
(setenv "JEMALLOC_OVERRIDE"
(string-append jemalloc "/lib/libjemalloc_pic.a"))))))))
(inputs (list jemalloc))
(home-page "https://github.com/rustls/rustls")
(synopsis "Modern TLS library written in Rust")
(description
"This package provides a modern TLS library written in Rust.")
(license (list license:asl2.0 license:isc license:expat))))
(define-public rust-rustls-0.22
(package
(inherit rust-rustls-0.23)
(name "rust-rustls")
(version "0.22.2")
(source
@ -1008,7 +1351,6 @@ grammars and BER/DER encodings, for example.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hcxyhq6ynvws9v5b2h81s1nwmijmya7a3vyyyhsy1wqpmb9jz78"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
@ -1024,12 +1366,7 @@ grammars and BER/DER encodings, for example.")
("rust-env-logger" ,rust-env-logger-0.10)
("rust-log" ,rust-log-0.4)
("rust-rustls-pemfile" ,rust-rustls-pemfile-2)
("rust-webpki-roots" ,rust-webpki-roots-0.26))))
(home-page "https://github.com/rustls/rustls")
(synopsis "Modern TLS library written in Rust")
(description
"This package provides a modern TLS library written in Rust.")
(license (list license:asl2.0 license:isc license:expat))))
("rust-webpki-roots" ,rust-webpki-roots-0.26))))))
(define-public rust-rustls-0.21
(package
@ -1249,8 +1586,41 @@ grammars and BER/DER encodings, for example.")
("rust-untrusted" ,rust-untrusted-0.6)
("rust-webpki" ,rust-webpki-0.18))))))
(define-public rust-rustls-ffi-0.14
(package
(name "rust-rustls-ffi")
(version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-ffi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1cdpnx205m3bc7sn6gvaizlsb8ayipf1l061das37mf7n4sw157s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
"--skip=acceptor::tests::test_acceptor_success")
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-rustls" ,rust-rustls-0.23)
("rust-rustls-pemfile" ,rust-rustls-pemfile-2)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-rustls-platform-verifier" ,rust-rustls-platform-verifier-0.3)
("rust-rustls-webpki" ,rust-rustls-webpki-0.102))
#:cargo-development-inputs (("rust-regex" ,rust-regex-1)
("rust-toml" ,rust-toml-0.6))))
(home-page "https://github.com/rustls/rustls-ffi")
(synopsis "Rustls bindings for non-Rust languages")
(description
"This package provides Rustls bindings for non-Rust languages.")
(license (list license:asl2.0 license:isc license:expat))))
(define-public rust-rustls-ffi-0.8
(package
(inherit rust-rustls-ffi-0.14)
(name "rust-rustls-ffi")
(version "0.8.2")
(source (origin
@ -1259,7 +1629,6 @@ grammars and BER/DER encodings, for example.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
@ -1278,11 +1647,7 @@ grammars and BER/DER encodings, for example.")
;; a version requirement for cbindgen.
(lambda _
(substitute* "Cargo.toml"
(("0\\.19\\.0") "*")))))))
(home-page "https://github.com/rustls/rustls-ffi")
(synopsis "Rustls bindings for non-Rust languages")
(description "Rustls bindings for non-Rust languages")
(license (list license:asl2.0 license:isc license:expat))))
(("0\\.19\\.0") "*")))))))))
(define-public rust-rustls-native-certs-0.7
(package
@ -1452,47 +1817,122 @@ PEM-encodings commonly used to store keys and certificates at rest.")
(define-public rust-rustls-pki-types-1
(package
(name "rust-rustls-pki-types")
(version "1.7.0")
(version "1.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-pki-types" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0banlc9xzwqrx8n0h4bd0igmq3z5hc72rn941lf22cp3gkkraqlp"))))
(base32 "0jv78c32pgf1i0bn7rzf4xdr9qh5wsvigp6akc1yhzls7hdj1w8n"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-web-time" ,rust-web-time-1))))
(("rust-web-time" ,rust-web-time-1))
#:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1))))
(native-inputs (list valgrind))
(home-page "https://github.com/rustls/pki-types")
(synopsis "Shared types for the rustls PKI ecosystem")
(description
"This crate provides shared types for the rustls PKI ecosystem.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustls-platform-verifier-0.3
(package
(name "rust-rustls-platform-verifier")
(version "0.3.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-platform-verifier" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "145lhjn9w5khp0fn4lagaa8qqyjyhfqn2dg6llva6qyzvy5qgfxg"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
"--skip=tests::verification_mock::test_verification_without_mock_root"
"--skip=tests::verification_real_world::tests::_1password_com_valid"
"--skip=tests::verification_real_world::tests::letsencrypt"
"--skip=tests::verification_real_world::tests::my_1password_com_valid"
"--skip=tests::verification_real_world::tests::my_1password_com_valid_no_stapled"
"--skip=tests::verification_real_world::tests::unrelated_chain_not_valid_for_my_1password_com"
"--skip=tests::verification_real_world::tests::unrelated_chain_valid_for_unrelated_domain"
"--skip=tests::verification_real_world::tests::unrelated_domain_invalid")
#:cargo-inputs
(("rust-android-logger" ,rust-android-logger-0.13)
("rust-base64" ,rust-base64-0.22)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-jni" ,rust-jni-0.19)
("rust-log" ,rust-log-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-rustls" ,rust-rustls-0.23)
("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7)
("rust-rustls-platform-verifier-android" ,rust-rustls-platform-verifier-android-0.1)
("rust-rustls-webpki" ,rust-rustls-webpki-0.102)
("rust-security-framework" ,rust-security-framework-2)
("rust-security-framework-sys" ,rust-security-framework-sys-2)
("rust-webpki-roots" ,rust-webpki-roots-0.26)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs (("rust-rustls" ,rust-rustls-0.23)
("rust-webpki-roots" ,rust-webpki-roots-0.26))))
(home-page "https://github.com/rustls/rustls-platform-verifier")
(synopsis
"Verify TLS certificates in rustls with the operating system verifier")
(description
"This package provides rustls-platform-verifier a way to support verifying
TLS certificates in rustls with the operating system verifier.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustls-platform-verifier-android-0.1
(package
(name "rust-rustls-platform-verifier-android")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-platform-verifier-android" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13vq6sxsgz9547xm2zbdxiw8x7ad1g8n8ax6xvxsjqszk7q6awgq"))))
(build-system cargo-build-system)
(home-page "https://github.com/rustls/rustls-platform-verifier")
(synopsis "JVM support component of the rustls-platform-verifier crate")
(description
"This package provides the internal JVM support component of the
rustls-platform-verifier crate. You shouldn't depend on this directly.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustls-webpki-0.102
(package
(name "rust-rustls-webpki")
(version "0.102.1")
(version "0.102.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-webpki" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nz9d3xhy8cg6anmvq64scyiva8bglrc6j3v6bdxw2f96xha4k7g"))))
(base32 "1sdy8ks86b7jpabpnb2px2s7f1sq8v0nqf6fnlvwzm4vfk41pjk4"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
`(#:tests? #f ; file not found for module `test_utils`
#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
("rust-ring" ,rust-ring-0.17)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-untrusted" ,rust-untrusted-0.9))
#:cargo-development-inputs (("rust-base64" ,rust-base64-0.21)
#:cargo-development-inputs (("rust-base64" ,rust-base64-0.22)
("rust-bencher" ,rust-bencher-0.1)
("rust-bzip2" ,rust-bzip2-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-rcgen" ,rust-rcgen-0.12)
("rust-rcgen" ,rust-rcgen-0.13)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://github.com/rustls/webpki")
@ -1619,8 +2059,39 @@ PEM-encodings commonly used to store keys and certificates at rest.")
Public Key Infrastructure Certificate format as described in RFC 5280.")
(license (list license:asl2.0 license:expat))))
(define-public rust-x509-parser-0.16
(package
(name "rust-x509-parser")
(version "0.16.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "x509-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0s8zyl6fafkzpylcpcn08bmcmrzzcb6gfjx2h8zny3bh60pidg7w"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests not included in release tarball
#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6)
("rust-data-encoding" ,rust-data-encoding-2)
("rust-der-parser" ,rust-der-parser-9)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-nom" ,rust-nom-7)
("rust-oid-registry" ,rust-oid-registry-0.7)
("rust-ring" ,rust-ring-0.17)
("rust-rusticata-macros" ,rust-rusticata-macros-4)
("rust-thiserror" ,rust-thiserror-1)
("rust-time" ,rust-time-0.3))))
(home-page "https://github.com/rusticata/x509-parser")
(synopsis "Parser for the X.509 v3 format (RFC 5280 certificates)")
(description "This crate provides a parser for the X.509 v3 format (RFC
5280 certificates).")
(license (list license:expat license:asl2.0))))
(define-public rust-x509-parser-0.15
(package
(inherit rust-x509-parser-0.16)
(name "rust-x509-parser")
(version "0.15.1")
(source (origin
@ -1630,7 +2101,6 @@ Public Key Infrastructure Certificate format as described in RFC 5280.")
(sha256
(base32
"1nk3ryam7yzsza735xdypkv1i4c35gqlygax5jyr74bbnsjznsbh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-asn1-rs" ,rust-asn1-rs-0.5)
@ -1642,12 +2112,7 @@ Public Key Infrastructure Certificate format as described in RFC 5280.")
("rust-ring" ,rust-ring-0.16)
("rust-rusticata-macros" ,rust-rusticata-macros-4)
("rust-thiserror" ,rust-thiserror-1)
("rust-time" ,rust-time-0.3))))
(home-page "https://github.com/rusticata/x509-parser")
(synopsis "X.509 parser written in pure Rust")
(description "This crate provides a parser for the X.509 v3 format (RFC
5280 certificates).")
(license (list license:expat license:asl2.0))))
("rust-time" ,rust-time-0.3))))))
(define-public rust-x509-parser-0.14
(package

File diff suppressed because it is too large Load diff

View file

@ -2812,14 +2812,14 @@ transfer coding.")
(define-public rust-hickory-client-0.24
(package
(name "rust-hickory-client")
(version "0.24.0")
(version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0bj6g69h86d7mbclrwaj7cgl1plr6pvllv8qn69xmpgh9h90hgkz"))))
(base32 "0m8vnqgqg9vaanpphqccm9p8iqc0bm2kc0kvhmx9by6q10xnifds"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@ -2860,14 +2860,14 @@ into other software that also use those libraries.")
(define-public rust-hickory-proto-0.24
(package
(name "rust-hickory-proto")
(version "0.24.0")
(version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-proto" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kxvdzmwwi1d6wsp9bcs91ipmwxcyhpwbvz3an9h0q28ryy6y6h9"))))
(base32 "04p5jqp4mb1cp0vxgfwqlgrgpn45xjcsjss3g92ddw724228ns87"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
@ -2925,14 +2925,14 @@ DNS protocol library for all Hickory DNS projects.")
(define-public rust-hickory-recursor-0.24
(package
(name "rust-hickory-recursor")
(version "0.24.0")
(version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-recursor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "146ifrml22hjydrw16qgfw32kv3v9wvvl4dqh45pg6fymxvw8xgi"))))
(base32 "1a44l02v2ymxj10zkf46iak4y872zgwi9wyjp0710655jp1wgpg2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-async-recursion" ,rust-async-recursion-1)
@ -2968,14 +2968,14 @@ performing recursive lookups.")
(define-public rust-hickory-resolver-0.24
(package
(name "rust-hickory-resolver")
(version "0.24.0")
(version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-resolver" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1s3486qczv9gaw8dap06c0bwb2bpqm23a0ihj169hsjf2qhz1f1m"))))
(base32 "0hzjn5wpchljcsk51c1156rk3f15iinmwh7h9hjqzjbmm8ipyx98"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@ -2996,25 +2996,25 @@ performing recursive lookups.")
"--skip=resolver::tests::test_lookup"
"--skip=system_conf::unix::tests::test_read_resolv_conf")
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-ipconfig" ,rust-ipconfig-0.3)
("rust-lru-cache" ,rust-lru-cache-0.1)
("rust-once-cell" ,rust-once-cell-1)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-rand" ,rust-rand-0.8)
("rust-resolv-conf" ,rust-resolv-conf-0.7)
("rust-rustls" ,rust-rustls-0.21)
("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
("rust-tracing" ,rust-tracing-0.1)
("rust-webpki-roots" ,rust-webpki-roots-0.25))
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-ipconfig" ,rust-ipconfig-0.3)
("rust-lru-cache" ,rust-lru-cache-0.1)
("rust-once-cell" ,rust-once-cell-1)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-rand" ,rust-rand-0.8)
("rust-resolv-conf" ,rust-resolv-conf-0.7)
("rust-rustls" ,rust-rustls-0.21)
("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
("rust-tracing" ,rust-tracing-0.1)
("rust-webpki-roots" ,rust-webpki-roots-0.25))
#:cargo-development-inputs
(("rust-futures-executor" ,rust-futures-executor-0.3)
("rust-tokio" ,rust-tokio-1)
@ -3032,14 +3032,14 @@ intended to be a high-level library for any DNS record resolution, see
(define-public rust-hickory-server-0.24
(package
(name "rust-hickory-server")
(version "0.24.0")
(version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-server" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dbwsrmxgf9nxkn3cp5fpjw96wywrzihbirjax25dd6wqidv9fsg"))))
(base32 "0dqcwk7vy87517l3v7j109fjg8jk46isjwbwdkdkz6vbalyf9q4v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@ -3081,7 +3081,7 @@ intended to be a high-level library for any DNS record resolution, see
("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
("rust-http" ,rust-http-0.2)
("rust-openssl" ,rust-openssl-0.10)
("rust-rusqlite" ,rust-rusqlite-0.29)
("rust-rusqlite" ,rust-rusqlite-0.31)
("rust-rustls" ,rust-rustls-0.21)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1)
@ -4685,14 +4685,14 @@ in the Rust programming language.")
(package
(inherit rust-reqwest-0.12)
(name "rust-reqwest")
(version "0.11.23")
(version "0.11.27")
(source
(origin
(method url-fetch)
(uri (crate-uri "reqwest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p"))))
(base32 "0qjary4hpplpgdi62d2m0xvbn6lnzckwffm0rgkm2x51023m6ryx"))))
(arguments
`(#:cargo-test-flags
'("--release" "--"
@ -4707,8 +4707,8 @@ in the Rust programming language.")
(("rust-async-compression" ,rust-async-compression-0.4)
("rust-base64" ,rust-base64-0.21)
("rust-bytes" ,rust-bytes-1)
("rust-cookie" ,rust-cookie-0.16)
("rust-cookie-store" ,rust-cookie-store-0.16)
("rust-cookie" ,rust-cookie-0.17)
("rust-cookie-store" ,rust-cookie-store-0.20)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
@ -4716,6 +4716,7 @@ in the Rust programming language.")
("rust-h2" ,rust-h2-0.3)
("rust-h3" ,rust-h3-0.0.3)
("rust-h3-quinn" ,rust-h3-quinn-0.0.4)
("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
("rust-http" ,rust-http-0.2)
("rust-http-body" ,rust-http-body-0.4)
("rust-hyper" ,rust-hyper-0.14)
@ -4737,6 +4738,7 @@ in the Rust programming language.")
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
("rust-sync-wrapper" ,rust-sync-wrapper-0.1)
("rust-system-configuration" ,rust-system-configuration-0.5)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
@ -4744,18 +4746,18 @@ in the Rust programming language.")
("rust-tokio-socks" ,rust-tokio-socks-0.5)
("rust-tokio-util" ,rust-tokio-util-0.7)
("rust-tower-service" ,rust-tower-service-0.3)
("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.23)
("rust-url" ,rust-url-2)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
("rust-wasm-streams" ,rust-wasm-streams-0.3)
("rust-wasm-streams" ,rust-wasm-streams-0.4)
("rust-web-sys" ,rust-web-sys-0.3)
("rust-webpki-roots" ,rust-webpki-roots-0.25)
("rust-winreg" ,rust-winreg-0.50))
#:cargo-development-inputs
(("rust-brotli" ,rust-brotli-3)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-env-logger" ,rust-env-logger-0.8)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hyper" ,rust-hyper-0.14)
("rust-libflate" ,rust-libflate-1)
("rust-serde" ,rust-serde-1)

View file

@ -14,6 +14,7 @@
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
;;;
;;; This file is part of GNU Guix.
;;;
@ -44,18 +45,18 @@
(define-public rust-anstyle-wincon-3
(package
(name "rust-anstyle-wincon")
(version "3.0.2")
(version "3.0.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "anstyle-wincon" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w"))))
(base32 "099ir0w3lbpsp1nxdzbf4anq98ww8ykyc9pd1g03xgkj1v7dn291"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)
("rust-windows-sys" ,rust-windows-sys-0.52))
("rust-windows-sys" ,rust-windows-sys-0.59))
#:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3))))
(home-page "https://github.com/rust-cli/anstyle")
(synopsis "Styling legacy Windows terminals")
@ -101,18 +102,18 @@
(define-public rust-cargo-credential-wincred-0.4
(package
(name "rust-cargo-credential-wincred")
(version "0.4.3")
(version "0.4.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "cargo-credential-wincred" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0bb9yczmk3ral2r20v5c4jzf3l9qp0nmm11i20s0w5inprp9b228"))))
(base32 "1idydvigr3car3czf0mm27a5qq6qmci5dilskqh238fpyx8i7z2v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4)
("rust-windows-sys" ,rust-windows-sys-0.52))))
("rust-windows-sys" ,rust-windows-sys-0.59))))
(home-page "https://github.com/rust-lang/cargo")
(synopsis
"Cargo credential process that stores tokens with Windows Credential Manager")
@ -138,6 +139,33 @@ Windows Credential Manager.")
(("rust-cargo-credential" ,rust-cargo-credential-0.3)
("rust-windows-sys" ,rust-windows-sys-0.48))))))
(define-public rust-cfb-0.7
(package
(name "rust-cfb")
(version "0.7.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "cfb" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03y6p3dlm7gfds19bq4ba971za16rjbn7q2v0vqcri52l2kjv3yk"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
("rust-fnv" ,rust-fnv-1)
("rust-uuid" ,rust-uuid-1))
#:cargo-development-inputs (("rust-clap" ,rust-clap-2)
("rust-rand" ,rust-rand-0.8)
("rust-rand-pcg" ,rust-rand-pcg-0.3)
("rust-time" ,rust-time-0.3))))
(home-page "https://github.com/mdsteele/rust-cfb")
(synopsis "Read/write Compound File Binary files")
(description
"This package provides Read/write functionality for Compound File Binary
(structured storage) files.")
(license license:expat)))
(define-public rust-clipboard-win-5
(package
(name "rust-clipboard-win")
@ -337,6 +365,28 @@ inclusion of Windows resources in the most resilient fashion imaginable.")
API library @code{gdi32}.")
(license license:expat)))
(define-public rust-implib-0.3
(package
(name "rust-implib")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "implib" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1n1bcfcsnng54ssf4hjknx87amz61j0kdis94f9kk7gnva07v9r7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-memoffset" ,rust-memoffset-0.9)
("rust-object" ,rust-object-0.36))))
(home-page "https://github.com/messense/implib-rs")
(synopsis "Generate Windows import library from module definition file")
(description
"This package provides a way to generate a Windows import library from a
module definition file.")
(license license:expat)))
(define-public rust-ipconfig-0.3
(package
(name "rust-ipconfig")
@ -407,6 +457,26 @@ network configuration for Windows.")
kernel32.")
(license license:expat)))
(define-public rust-known-folders-1
(package
(name "rust-known-folders")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "known-folders" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0z4jlxfqv1jqp9g5m1dr23zpjpl5kpbqgdqfk8jnxd681isa3ndp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.59))))
(home-page "https://github.com/artichoke/known-folders-rs")
(synopsis "Safe wrapper around the Known Folders API on Windows")
(description
"This package provides a safe wrapper around the Known Folders API on Windows.")
(license (list license:asl2.0 license:expat))))
(define-public rust-miow-0.6
(package
(name "rust-miow")
@ -512,6 +582,33 @@ IOCP and Async I/O abstractions.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
(define-public rust-nt-time-0.6
(package
(name "rust-nt-time")
(version "0.6.13")
(source
(origin
(method url-fetch)
(uri (crate-uri "nt-time" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02sikab4va5gv2ja5rjd7fp1g1dh6l1pryjlsprxh0hcq247fmkf"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-time" ,rust-time-0.3)
("rust-zip" ,rust-zip-2))
#:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-clap" ,rust-clap-4)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/sorairolake/nt-time")
(synopsis "Windows file time library")
(description "This package provides a Windows file time library.")
(license (list license:asl2.0 license:expat))))
(define-public rust-output-vt100-0.1
(package
(name "rust-output-vt100")
@ -1309,8 +1406,48 @@ for Rust.")
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
(define-public rust-windows-0.58
(package
(name "rust-windows")
(version "0.58.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dkjj94b0gn91nn1n22cvm4afsj98f5qrhcl3112v6f4jcfx816x"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.58)
("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows")
(description "The windows crate lets you call any Windows API past,
present, and future using code generated on the fly directly from the metadata
describing the API and right into your Rust package where you can call them as
if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-0.57
(package
(inherit rust-windows-0.58)
(name "rust-windows")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hqid10bqvxa3pbpgvrh2cilf950lxsd9zqfv3rldc73v2s2qd0j"))))
(arguments
`(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.57)
("rust-windows-targets" ,rust-windows-targets-0.52))))))
(define-public rust-windows-0.52
(package
(inherit rust-windows-0.58)
(name "rust-windows")
(version "0.52.0")
(source
@ -1325,14 +1462,7 @@ for Rust.")
`(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52)
("rust-windows-implement" ,rust-windows-implement-0.52)
("rust-windows-interface" ,rust-windows-interface-0.52)
("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows")
(description "The windows crate lets you call any Windows API past,
present, and future using code generated on the fly directly from the metadata
describing the API and right into your Rust package where you can call them as
if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
("rust-windows-targets" ,rust-windows-targets-0.52))))))
(define-public rust-windows-0.48
(package
@ -1389,6 +1519,30 @@ if they were just another Rust module.")
("rust-windows-interface" ,rust-windows-interface-0.44)
("rust-windows-targets" ,rust-windows-targets-0.42))))))
(define-public rust-windows-0.43
(package
(inherit rust-windows-0.44)
(name "rust-windows")
(version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0i32alvc4n4l7abmv1fsvnd1lzw17f1cpr16kgx0sqz5wg82wrh4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.43)
("rust-windows-interface" ,rust-windows-interface-0.43)
("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.42)
("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.42)
("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.42)
("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.42)
("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.42)
("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.42)
("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.42))))))
(define-public rust-windows-0.39
(package
(inherit rust-windows-0.46)
@ -1454,14 +1608,14 @@ if they were just another Rust module.")
(define-public rust-windows-aarch64-gnullvm-0.52
(package
(name "rust-windows-aarch64-gnullvm")
(version "0.52.0")
(version "0.52.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows_aarch64_gnullvm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1shmn1kbdc0bpphcxz0vlph96bxz0h1jlmh93s9agf2dbpin8xyb"))
(base32 "1lrcq38cr2arvmz19v32qaggvj8bh1640mdm9c2fr877h0hn591j"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@ -1508,14 +1662,14 @@ if they were just another Rust module.")
(define-public rust-windows-aarch64-msvc-0.52
(package
(name "rust-windows-aarch64-msvc")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_aarch64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1vvmy1ypvzdvxn9yf0b8ygfl85gl2gpcyvsvqppsmlpisil07amv"))
"0sfl0nysnz32yyfh773hpi49b1q700ah6y7sacmjbqjjn5xjmv09"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)
@ -1616,8 +1770,53 @@ crate.")
(base32
"1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
(define-public rust-windows-bindgen-0.57
(package
(name "rust-windows-bindgen")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-bindgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1d67wwhbdwf3rmdbiyfsz55hky2a972y2xqg7iablxv27l8rdjqw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.57))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata compiler")
(description "This package provides Windows metadata compiler.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-bindgen-0.56
(package
(inherit rust-windows-bindgen-0.57)
(name "rust-windows-bindgen")
(version "0.56.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-bindgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0inv2w78qv6375ndrgm9vilkgscwak80igz8vkf7zw8c6fk3x3m2"))))
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.56))))))
(define-public rust-windows-bindgen-0.52
(package
(inherit rust-windows-bindgen-0.56)
(name "rust-windows-bindgen")
(version "0.52.0")
(source
@ -1627,16 +1826,11 @@ crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-rayon" ,rust-rayon-1)
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata compiler")
(description "Windows metadata compiler.")
(license (list license:expat license:asl2.0))))
("rust-windows-metadata" ,rust-windows-metadata-0.52))))))
(define-public rust-windows-bindgen-0.51
(package
@ -1656,8 +1850,53 @@ crate.")
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.51))))))
(define-public rust-windows-core-0.58
(package
(name "rust-windows-core")
(version "0.58.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "16czypy425jzmiys4yb3pwsh7cm6grxn9kjp889iqnf2r17d99kb"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.58)
("rust-windows-interface" ,rust-windows-interface-0.58)
("rust-windows-result" ,rust-windows-result-0.2)
("rust-windows-strings" ,rust-windows-strings-0.1)
("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows")
(description "This package provides Rust for Windows.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-core-0.57
(package
(inherit rust-windows-core-0.58)
(name "rust-windows-core")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0bc3jxw2jw76xkk3ddvnp5b2m76qmbzv1qncgvb6qrlhl8wj9vfj"))))
(arguments
`(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.57)
("rust-windows-interface" ,rust-windows-interface-0.57)
("rust-windows-result" ,rust-windows-result-0.1)
("rust-windows-targets" ,rust-windows-targets-0.52))
#:cargo-development-inputs
(("rust-windows-bindgen" ,rust-windows-bindgen-0.57))))))
(define-public rust-windows-core-0.52
(package
(inherit rust-windows-core-0.58)
(name "rust-windows-core")
(version "0.52.0")
(source
@ -1678,14 +1917,14 @@ crate.")
(define-public rust-windows-i686-gnu-0.52
(package
(name "rust-windows-i686-gnu")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_i686_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"04zkglz4p3pjsns5gbz85v4s5aw102raz4spj4b0lmm33z5kg1m2"))
"02zspglbykh1jh9pi7gn8g1f97jh1rrccni9ivmrfbl0mgamm6wf"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@ -1786,17 +2025,36 @@ crate.")
(base32
"12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm"))))))
(define-public rust-windows-i686-gnullvm-0.52
(package
(name "rust-windows-i686-gnullvm")
(version "0.52.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows_i686_gnullvm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rpdx1537mw6slcpqa0rm3qixmsb79nbhqy5fsm3q2q9ik9m5vhf"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Import lib for Windows")
(description "This package provides Import lib for Windows.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-i686-msvc-0.52
(package
(name "rust-windows-i686-msvc")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_i686_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"16kvmbvx0vr0zbgnaz6nsks9ycvfh5xp05bjrhq65kj623iyirgz"))
"0rkcqmp4zzmfvrrrx01260q3xkpzi6fzi2x2pgdcdry50ny4h294"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)
@ -1896,8 +2154,50 @@ crate.")
(base32
"0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
(define-public rust-windows-implement-0.58
(package
(name "rust-windows-implement")
(version "0.58.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-implement" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "16spr5z65z21qyv379rv2mb1s5q2i9ibd1p2pkn0dr9qr535pg9b"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The implement macro for the windows crate")
(description
"This package provides The @code{implement} macro for the
Windows crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-implement-0.57
(package
(inherit rust-windows-implement-0.58)
(name "rust-windows-implement")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-implement" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mqs7qypclnmx5r8yq5jy3g2d8i27vzag9yzzzxzpdnmb70ds1wi"))))
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))))
(define-public rust-windows-implement-0.52
(package
(inherit rust-windows-implement-0.58)
(name "rust-windows-implement")
(version "0.52.0")
(source
@ -1911,12 +2211,7 @@ crate.")
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The implement macro for the windows crate")
(description "This package provides the @code{implement} macro for the
windows crate.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-2))))))
(define-public rust-windows-implement-0.48
(package
@ -1973,6 +2268,24 @@ windows crate.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-implement-0.43
(package
(inherit rust-windows-implement-0.48)
(name "rust-windows-implement")
(version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-implement" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01zqmrdnz2j5qd4ahqjsz724mdabi577f400yywcahy7dl2rpqmp"))))
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-implement-0.39
(package
(inherit rust-windows-implement-0.46)
@ -2007,8 +2320,48 @@ windows crate.")
(("rust-syn" ,rust-syn-1)
("rust-windows-tokens" ,rust-windows-tokens-0.32))))))
(define-public rust-windows-interface-0.58
(package
(name "rust-windows-interface")
(version "0.58.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-interface" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "059mxmfvx3x88q74ms0qlxmj2pnidmr5mzn60hakn7f95m34qg05"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The interface macro for the Windows crate")
(description
"This package provides the interface macro for the Windows crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-interface-0.57
(package
(inherit rust-windows-interface-0.58)
(name "rust-windows-interface")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-interface" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19zwlzr0q1z9s692681yb5w2lhvwcyx4v95s25hfdkd3isry9gi9"))))
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))))
(define-public rust-windows-interface-0.52
(package
(inherit rust-windows-interface-0.58)
(name "rust-windows-interface")
(version "0.52.0")
(source
@ -2018,16 +2371,10 @@ windows crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The interface macro for the windows crate")
(description "This package provides the interface macro for the windows
crate.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-2))))))
(define-public rust-windows-interface-0.48
(package
@ -2084,6 +2431,24 @@ crate.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-interface-0.43
(package
(inherit rust-windows-interface-0.44)
(name "rust-windows-interface")
(version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-interface" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "06drakcacg4d680qa2sk62kqn7ini00xw3zz0hwqwx1my2z4z3dw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-interface-0.39
(package
(inherit rust-windows-interface-0.46)
@ -2097,8 +2462,39 @@ crate.")
(sha256
(base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2"))))))
(define-public rust-windows-metadata-0.57
(package
(name "rust-windows-metadata")
(version "0.57.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-metadata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1z1xl76p0zjwsvyj16w6pbp2layhjqz13y34pid9x7avh9vd0243"))))
(build-system cargo-build-system)
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata reader")
(description "This package provides Windows metadata reader.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-metadata-0.56
(package
(inherit rust-windows-metadata-0.57)
(name "rust-windows-metadata")
(version "0.56.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-metadata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0d1vizbp6b1wjh3qnjrh120w1iwqal3lfj52wdac847zgy1gg4rr"))))))
(define-public rust-windows-metadata-0.52
(package
(inherit rust-windows-metadata-0.56)
(name "rust-windows-metadata")
(version "0.52.0")
(source
@ -2107,12 +2503,7 @@ crate.")
(uri (crate-uri "windows-metadata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1"))))
(build-system cargo-build-system)
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata reader")
(description "Windows metadata reader.")
(license (list license:expat license:asl2.0))))
(base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1"))))))
(define-public rust-windows-metadata-0.51
(package
@ -2127,8 +2518,88 @@ crate.")
(sha256
(base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm"))))))
(define-public rust-windows-result-0.2
(package
(name "rust-windows-result")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-result" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03mf2z1xcy2slhhsm15z24p76qxgm2m74xdjp8bihyag47c4640x"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows error handling")
(description "This package provides Windows error handling.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-result-0.1
(package
(inherit rust-windows-result-0.2)
(name "rust-windows-result")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-result" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1y274q1v0vy21lhkgslpxpq1m08hvr1mcs2l88h1b1gcx0136f2y"))))
(arguments
`(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))
#:cargo-development-inputs
(("rust-windows-bindgen" ,rust-windows-bindgen-0.57))))))
(define-public rust-windows-strings-0.1
(package
(name "rust-windows-strings")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-strings" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "042dxvi3133f7dyi2pgcvknwkikk47k8bddwxbq5s0l6qhjv3nac"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-result" ,rust-windows-result-0.2)
("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows strings provides common string types")
(description "This package provides common string types when using
Rust for Windows.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-sys-0.59
(package
(name "rust-windows-sys")
(version "0.59.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0fw5672ziw8b3zpmnbp9pdv1famk74f1l9fcbc3zsrzdg56vqf0y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows")
(description "The windows crate lets you call any Windows API past,
present, and future using code generated on the fly directly from the metadata
describing the API and right into your Rust package where you can call them as
if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-sys-0.52
(package
(inherit rust-windows-sys-0.59)
(name "rust-windows-sys")
(version "0.52.0")
(source (origin
@ -2138,17 +2609,9 @@ crate.")
(sha256
(base32
"0gd3v4ji88490zgb6b5mq5zgbvwv7zx1ibn8v3x83rwcdbryaar8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Rust for Windows")
(description "The windows crate lets you call any Windows API past,
present, and future using code generated on the fly directly from the metadata
describing the API and right into your Rust package where you can call them as
if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))))
(define-public rust-windows-sys-0.48
(package
@ -2289,20 +2752,21 @@ if they were just another Rust module.")
(define-public rust-windows-targets-0.52
(package
(name "rust-windows-targets")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows-targets" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1kg7a27ynzw8zz3krdgy6w5gbqcji27j1sz4p7xk2j5j8082064a"))))
"0wwrx625nwlfp7k93r2rra568gad1mwd888h1jwnl0vfg5r4ywlv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.52)
("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.52)
("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.52)
("rust-windows-i686-gnullvm" ,rust-windows-i686-gnullvm-0.52)
("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.52)
("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.52)
("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.52)
@ -2415,14 +2879,14 @@ windows crate.")
(define-public rust-windows-x86-64-gnu-0.52
(package
(name "rust-windows-x86-64-gnu")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1zdy4qn178sil5sdm63lm7f0kkcjg6gvdwmcprd2yjmwn8ns6vrx"))
"0y0sifqcb56a56mvn7xjgs8g43p33mfqkd8wj1yhrgxzma05qyhl"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@ -2526,14 +2990,14 @@ windows crate.")
(define-public rust-windows-x86-64-gnullvm-0.52
(package
(name "rust-windows-x86-64-gnullvm")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnullvm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"17lllq4l2k1lqgcnw1cccphxp9vs7inq99kjlm2lfl9zklg7wr8s"))
"03gda7zjx1qh8k9nnlgb7m3w3s1xkysg55hkd1wjch8pqhyv5m94"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@ -2579,14 +3043,14 @@ windows crate.")
(define-public rust-windows-x86-64-msvc-0.52
(package
(name "rust-windows-x86-64-msvc")
(version "0.52.0")
(version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz"))
"1v7rb5cibyzx8vak29pdrk8nx9hycsjs4w0jgms08qk49jl6v7sq"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)

View file

@ -664,7 +664,7 @@ from a mounted file system.")
("rust-log" ,rust-log-0.4)
("rust-memoffset" ,rust-memoffset-0.8)
("rust-owo-colors" ,rust-owo-colors-4)
("rust-rustix" ,rust-rustix-for-bcachefs-tools)
("rust-rustix" ,rust-rustix-0.38)
("rust-strum" ,rust-strum-0.26)
("rust-strum-macros" ,rust-strum-macros-0.26)
("rust-udev" ,rust-udev-0.7)

View file

@ -3577,7 +3577,7 @@ for dealing with different structured file formats.")
(define-public librsvg
(package
(name "librsvg")
(version "2.56.4")
(version "2.58.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/librsvg/"
@ -3585,7 +3585,7 @@ for dealing with different structured file formats.")
"librsvg-" version ".tar.xz"))
(sha256
(base32
"1xa0cxdvc6vis5ssh1i0vi2rwgcx3bll6k5i135qyd2ra77zv1za"))))
"0ym2yg94sc7ralh1kwqqrhz3wcc51079z90mbx0qrls7wfh36hi2"))))
(build-system cargo-build-system)
(outputs '("out" "doc" "debug"))
(arguments
@ -3597,60 +3597,57 @@ for dealing with different structured file formats.")
((guix build gnu-build-system) #:prefix gnu:))
#:cargo-inputs
`(("rust-anyhow" ,rust-anyhow-1)
("rust-byteorder" ,rust-byteorder-1)
("rust-cairo-rs" ,rust-cairo-rs-0.17)
("rust-cairo-rs" ,rust-cairo-rs-0.19)
("rust-cast" ,rust-cast-0.3)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-cssparser" ,rust-cssparser-0.29)
("rust-data-url" ,rust-data-url-0.2)
("rust-cssparser" ,rust-cssparser-0.31)
("rust-cstr" ,rust-cstr-0.2)
("rust-data-url" ,rust-data-url-0.3)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-float-cmp" ,rust-float-cmp-0.9)
("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.17)
("rust-gio" ,rust-gio-0.17)
("rust-glib" ,rust-glib-0.17)
("rust-itertools" ,rust-itertools-0.10)
("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19)
("rust-gio" ,rust-gio-0.19)
("rust-glib" ,rust-glib-0.19)
("rust-image" ,rust-image-0.24)
("rust-itertools" ,rust-itertools-0.12)
("rust-language-tags" ,rust-language-tags-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-locale-config" ,rust-locale-config-0.3)
("rust-markup5ever" ,rust-markup5ever-0.11)
("rust-nalgebra" ,rust-nalgebra-0.32)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-pango" ,rust-pango-0.17)
("rust-pangocairo" ,rust-pangocairo-0.17)
("rust-pango" ,rust-pango-0.19)
("rust-pangocairo" ,rust-pangocairo-0.19)
("rust-rayon" ,rust-rayon-1)
("rust-rctree" ,rust-rctree-0.5)
("rust-rctree" ,rust-rctree-0.6)
("rust-regex" ,rust-regex-1)
("rust-rgb" ,rust-rgb-0.8)
("rust-selectors" ,rust-selectors-0.24)
("rust-selectors" ,rust-selectors-0.25)
("rust-string-cache" ,rust-string-cache-0.8)
("rust-system-deps" ,rust-system-deps-6)
("rust-thiserror" ,rust-thiserror-1)
("rust-tinyvec" ,rust-tinyvec-1)
("rust-url" ,rust-url-2)
("rust-xml5ever" ,rust-xml5ever-0.17))
("rust-xml5ever" ,rust-xml5ever-0.17)
("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-5))
#:cargo-development-inputs
`(("rust-anyhow" ,rust-anyhow-1)
("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-cairo-rs" ,rust-cairo-rs-0.17)
("rust-cast" ,rust-cast-0.3)
("rust-chrono" ,rust-chrono-0.4)
("rust-criterion" ,rust-criterion-0.4)
("rust-glib" ,rust-glib-0.17)
("rust-libc" ,rust-libc-0.2)
("rust-lopdf" ,rust-lopdf-0.29)
("rust-criterion" ,rust-criterion-0.5)
("rust-float-cmp" ,rust-float-cmp-0.9)
("rust-lopdf" ,rust-lopdf-0.32)
("rust-matches" ,rust-matches-0.1)
("rust-pango" ,rust-pango-0.17)
("rust-pangocairo" ,rust-pangocairo-0.17)
("rust-png" ,rust-png-0.17)
("rust-predicates" ,rust-predicates-2)
("rust-predicates" ,rust-predicates-3)
("rust-proptest" ,rust-proptest-1)
("rust-quick-error" ,rust-quick-error-2)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-4))
("rust-url" ,rust-url-2))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-gdk-pixbuf-thumbnailer
@ -3682,9 +3679,9 @@ for dealing with different structured file formats.")
;; Increase reftest tolerance a bit to account for different
;; harfbuzz, pango, etc.
(setenv "RSVG_TEST_TOLERANCE" "20")
;; This test fails even after loosening the tolerance.
(substitute* "tests/src/reference.rs"
((".*svg1_1_text_align_03_b_svg.*") ""))))
;; These tests fail even after loosening the tolerance.
(substitute* "rsvg/tests/reference.rs"
((".*svg1_1_filters_conv_0[24]_f_svg.*") ""))))
(add-before 'configure 'pre-configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "gdk-pixbuf-loader/Makefile.in"

View file

@ -775,7 +775,7 @@ variable defined below. It requires guile-json to be installed."
;; ,(search-patch "icecat-use-system-media-libs.patch"))
rust
`(,rust "cargo")
rust-cbindgen
rust-cbindgen-0.24
llvm-17
clang-17
perl
@ -815,7 +815,8 @@ variable defined below. It requires guile-json to be installed."
"--disable-debug"
"--disable-debug-symbols"
"--enable-rust-simd"
;; TODO: Re-enable after updating to the 128 ESR.
;"--enable-rust-simd"
"--enable-release"
"--enable-optimize"
"--enable-strip"
@ -1588,7 +1589,7 @@ ca495991b7852b855"))
pkg-config
python-wrapper
rust
rust-cbindgen
rust-cbindgen-0.24
which
yasm))
(home-page "https://www.thunderbird.net")

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013-2019, 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2021 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016-2019, 2021-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016-2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
@ -387,26 +387,32 @@ PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other
security standards.
This package tracks the Rapid Release channel, which updates frequently.")))
(define-public nsncd
(package
(name "nsncd")
(version "2024-04-09")
(version "1.5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/twosigma/nsncd")
(commit "7605e330d5a313a8656e6fcaf1c10cd6b5cdd427")))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hk8bh2a02nyk3rpzbjx1a2iiz15d0vx3ysa180wmr8gsc9ymph5"))))
(base32 "1qiphwlwbnni2vfqjbdzv2a1qgqv2ycmygmyrbx8pgaak9gl5hfi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--"
'("--release" "--"
;; These tests fail with the current builder network setup
"--skip=ffi::test_gethostbyaddr_r"
"--skip=ffi::test_gethostbyname2_r")
"--skip=ffi::test_gethostbyname2_r"
"--skip=handlers::test::test_handle_getservbyname_name"
"--skip=handlers::test::test_handle_getservbyname_name_proto"
"--skip=handlers::test::test_handle_getservbyport_port"
"--skip=handlers::test::test_handle_getservbyport_port_proto"
"--skip=handlers::test::test_handle_getservbyport_port_proto_aliases")
#:install-source? #f
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)

View file

@ -0,0 +1,29 @@
From ce49a9d9e52ca6062fe0894e72d954511fa8820f Mon Sep 17 00:00:00 2001
From: Shmuel Hazan <ShmuelHazan0@gmail.com>
Date: Sat, 1 Jun 2024 08:49:44 +0300
Subject: [PATCH] Add UWTable attr to functions with a personality function
Adding a personality function forces LLVM to generate unwinding info that might be incorrect.
To solve it, always apply the UWTable attribute when setting a personality function.
Fixes #123733
---
compiler/rustc_codegen_llvm/src/builder.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs
index 72ff9ea118e28..668f0a33a4e80 100644
--- a/compiler/rustc_codegen_llvm/src/builder.rs
+++ b/compiler/rustc_codegen_llvm/src/builder.rs
@@ -1029,6 +1029,11 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
}
fn set_personality_fn(&mut self, personality: &'ll Value) {
+ // Work around for https://github.com/rust-lang/rust/issues/123733
+ // add the UWTable attribute to every function with a personality function.
+ let uwtable = attributes::uwtable_attr(self.llcx, None);
+ attributes::apply_to_llfn(self.llfn(), llvm::AttributePlace::Function, &[uwtable]);
+
unsafe {
llvm::LLVMSetPersonalityFn(self.llfn(), personality);
}

View file

@ -0,0 +1,40 @@
From 99e6a28804eac57faa37134d61a2bb17069996a2 Mon Sep 17 00:00:00 2001
From: Nicholas Bishop <nicholasbishop@google.com>
Date: Thu, 30 May 2024 18:32:46 -0400
Subject: [PATCH] Add f16/f128 handling in a couple places
---
compiler/rustc_codegen_llvm/src/abi.rs | 2 ++
compiler/rustc_target/src/abi/call/mod.rs | 2 ++
2 files changed, 4 insertions(+)
diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs
index a6a3f0f964611..2e52d3f426a83 100644
--- a/compiler/rustc_codegen_llvm/src/abi.rs
+++ b/compiler/rustc_codegen_llvm/src/abi.rs
@@ -121,8 +121,10 @@ impl LlvmType for Reg {
match self.kind {
RegKind::Integer => cx.type_ix(self.size.bits()),
RegKind::Float => match self.size.bits() {
+ 16 => cx.type_f16(),
32 => cx.type_f32(),
64 => cx.type_f64(),
+ 128 => cx.type_f128(),
_ => bug!("unsupported float: {:?}", self),
},
RegKind::Vector => cx.type_vector(cx.type_i8(), self.size.bytes()),
diff --git a/compiler/rustc_target/src/abi/call/mod.rs b/compiler/rustc_target/src/abi/call/mod.rs
index fc79c9232d1bd..f83d0492004a2 100644
--- a/compiler/rustc_target/src/abi/call/mod.rs
+++ b/compiler/rustc_target/src/abi/call/mod.rs
@@ -236,8 +236,10 @@ impl Reg {
_ => panic!("unsupported integer: {self:?}"),
},
RegKind::Float => match self.size.bits() {
+ 16 => dl.f16_align.abi,
32 => dl.f32_align.abi,
64 => dl.f64_align.abi,
+ 128 => dl.f128_align.abi,
_ => panic!("unsupported float: {self:?}"),
},
RegKind::Vector => dl.vector_align(self.size).abi,

View file

@ -1327,7 +1327,7 @@ into dataclasses.")
(propagated-inputs
(list python-numpy))
(native-inputs
(list cmake
(list cmake-minimal
meson-python
pkg-config
pybind11

File diff suppressed because it is too large Load diff

View file

@ -987,8 +987,15 @@ safety and thread safety guarantees.")
"[build]\noptimized-compiler-builtins = false")))))))))))
(define-public rust-1.78
(rust-bootstrapped-package
rust-1.77 "1.78.0" "1afmj5g3bz7439w4i8zjhd68zvh0gqg7ymr8h5rz49ybllilhm7z"))
(let ((base-rust (rust-bootstrapped-package rust-1.77 "1.78.0"
"1afmj5g3bz7439w4i8zjhd68zvh0gqg7ymr8h5rz49ybllilhm7z")))
(package
(inherit base-rust)
(source
(origin
(inherit (package-source base-rust))
;; see https://github.com/rust-lang/rust/pull/125844
(patches (search-patches "rust-1.78-unwinding-fix.patch")))))))
(define-public rust-1.79
(let ((base-rust (rust-bootstrapped-package rust-1.78 "1.79.0"
@ -1016,6 +1023,74 @@ safety and thread safety guarantees.")
(("features = \\[\"fs\"" all)
(string-append all ", \"use-libc\""))))))))))
(define-public rust-1.80
(let ((base-rust (rust-bootstrapped-package rust-1.79 "1.80.1"
"1i1dbpwnv6ak244lapsxvd26w6sbas9g4l6crc8bip2275j8y2rc")))
(package
(inherit base-rust)
(source
(origin
(inherit (package-source base-rust))
(snippet
'(begin
(for-each delete-file-recursively
'("src/llvm-project"
"vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc"
"vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc"
"vendor/openssl-src-111.28.2+1.1.1w/openssl"
"vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/jemalloc"))
;; Remove vendored dynamically linked libraries.
;; find . -not -type d -executable -exec file {} \+ | grep ELF
;; Also remove the bundled (mostly Windows) libraries.
(for-each delete-file
(find-files "vendor" "\\.(a|dll|exe|lib)$"))
;; Adjust vendored dependency to explicitly use rustix with libc backend.
(substitute* '("vendor/tempfile-3.7.1/Cargo.toml"
"vendor/tempfile-3.10.1/Cargo.toml")
(("features = \\[\"fs\"" all)
(string-append all ", \"use-libc\""))))))))))
(define-public rust-1.81
(let ((base-rust (rust-bootstrapped-package rust-1.80 "1.81.0"
"19yggj1qivdhf68gx2652cfi7nxjkdgy39wh7h6facpzppz4h947")))
(package
(inherit base-rust)
(source
(origin
(inherit (package-source base-rust))
;; see https://github.com/rust-lang/rust/issues/129268#issuecomment-2430133779
(patches (search-patches "rust-1.81-fix-riscv64-bootstrap.patch")))))))
(define-public rust-1.82
(let ((base-rust (rust-bootstrapped-package rust-1.81 "1.82.0"
"0ajiryki2aqsg3ydx3nfhrb5i1mmxvasfszs9qblw66skr8g8lvw")))
(package
(inherit base-rust)
(source
(origin
(inherit (package-source base-rust))
(patches '())))
(arguments
(substitute-keyword-arguments (package-arguments base-rust)
((#:phases phases)
`(modify-phases ,phases
(replace 'patch-cargo-checksums
(lambda _
(substitute* (cons* "Cargo.lock"
"src/bootstrap/Cargo.lock"
"library/Cargo.lock"
(filter
;; Don't mess with the lock files in the
;; Cargo testsuite; it messes up the tests.
(lambda (path)
(not (string-contains
path "cargo/tests/testsuite")))
(find-files "src/tools" "Cargo.lock")))
(("(checksum = )\".*\"" all name)
(string-append name "\"" ,%cargo-reference-hash "\"")))
(generate-all-checksums "vendor"))))))))))
(define (make-ignore-test-list strs)
"Function to make creating a list to ignore tests a bit easier."
(map (lambda (str)
@ -1030,7 +1105,7 @@ safety and thread safety guarantees.")
;;; Here we take the latest included Rust, make it public, and re-enable tests
;;; and extra components such as rustfmt.
(define-public rust
(let ((base-rust rust-1.77))
(let ((base-rust rust-1.82))
(package
(inherit base-rust)
(properties (append
@ -1044,33 +1119,50 @@ safety and thread safety guarantees.")
'(begin
(for-each delete-file-recursively
'("src/llvm-project"
"vendor/jemalloc-sys/jemalloc"
"vendor/openssl-src/openssl"
"vendor/tikv-jemalloc-sys/jemalloc"
"vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc"
"vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc"
"vendor/openssl-src-111.17.0+1.1.1m/openssl"
"vendor/openssl-src-111.28.2+1.1.1w/openssl"
"vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/jemalloc"
;; These are referenced by the cargo output
;; so we unbundle them.
"vendor/curl-sys/curl"
"vendor/curl-sys-0.4.63+curl-8.1.2/curl"
"vendor/libffi-sys/libffi"
"vendor/libnghttp2-sys/nghttp2"
"vendor/libz-sys/src/zlib"
"vendor/libz-sys-1.1.9/src/zlib"))
"vendor/curl-sys-0.4.52+curl-7.81.0/curl"
"vendor/curl-sys-0.4.74+curl-8.9.0/curl"
"vendor/libffi-sys-2.3.0/libffi"
"vendor/libz-sys-1.1.3/src/zlib"
"vendor/libz-sys-1.1.18/src/zlib"
"vendor/libz-sys-1.1.19/src/zlib"))
;; Use the packaged nghttp2
(delete-file "vendor/libnghttp2-sys/build.rs")
(with-output-to-file "vendor/libnghttp2-sys/build.rs"
(lambda _
(format #t "fn main() {~@
(for-each
(lambda (ver)
(let ((vendored-dir (format #f "vendor/libnghttp2-sys-~a/nghttp2" ver))
(build-rs (format #f "vendor/libnghttp2-sys-~a/build.rs" ver)))
(delete-file-recursively vendored-dir)
(delete-file build-rs)
(with-output-to-file build-rs
(lambda _
(format #t "fn main() {~@
println!(\"cargo:rustc-link-lib=nghttp2\");~@
}~%")))
}~%")))))
'("0.1.10+1.61.0"
"0.1.7+1.45.0"))
;; Remove vendored dynamically linked libraries.
;; find . -not -type d -executable -exec file {} \+ | grep ELF
;; Also remove the bundled (mostly Windows) libraries.
(for-each delete-file
(find-files "vendor" "\\.(a|dll|exe|lib)$"))
;; Adjust vendored dependency to explicitly use rustix with libc backend.
(substitute* "vendor/tempfile/Cargo.toml"
(("features = \\[\"fs\"" all)
(string-append all ", \"use-libc\"")))))))
(for-each
(lambda (ver)
(let ((f (format #f "vendor/tempfile-~a/Cargo.toml" ver)))
(substitute* f
(("features = \\[\"fs\"" all)
(string-append all ", \"use-libc\"")))))
'("3.3.0"
"3.4.0"
"3.7.1"
"3.10.1"
"3.12.0"))))))
(arguments
(substitute-keyword-arguments
(strip-keyword-arguments '(#:tests?)
@ -1095,7 +1187,13 @@ safety and thread safety guarantees.")
(lambda _
(substitute* "src/tools/cargo/tests/testsuite/git.rs"
,@(make-ignore-test-list
'("fn fetch_downloads_with_git2_first_")))))
'("fn fetch_downloads_with_git2_first_")))
(substitute* "src/tools/cargo/tests/testsuite/build.rs"
,@(make-ignore-test-list
'("fn build_with_symlink_to_path_dependency_with_build_script_in_git")))
(substitute* "src/tools/cargo/tests/testsuite/publish_lockfile.rs"
,@(make-ignore-test-list
'("fn note_resolve_changes")))))
(add-after 'unpack 'disable-tests-requiring-mercurial
(lambda _
(with-directory-excursion "src/tools/cargo/tests/testsuite/cargo_init"
@ -1170,6 +1268,31 @@ safety and thread safety guarantees.")
(substitute* "features2.rs"
,@(make-ignore-test-list
'("fn dep_with_optional_host_deps_activated"))))))
(add-after 'unpack 'disable-tests-requiring-crates.io
(lambda _
(substitute* "src/tools/cargo/tests/testsuite/install.rs"
,@(make-ignore-test-list
'("fn install_global_cargo_config")))
(substitute* "src/tools/cargo/tests/testsuite/cargo_info/within_ws_with_alternative_registry/mod.rs"
,@(make-ignore-test-list
'("fn case")))
(substitute* "src/tools/cargo/tests/testsuite/package.rs"
,@(make-ignore-test-list
'("fn workspace_with_local_deps_index_mismatch")))))
(add-after 'unpack 'disable-miscellaneous-broken-tests
(lambda _
(substitute* "src/tools/cargo/tests/testsuite/check_cfg.rs"
;; These apparently get confused by the fact that
;; we're building in a directory containing the
;; string "rustc"
,@(make-ignore-test-list
'("fn config_fingerprint"
"fn features_fingerprint")))
(substitute* "src/tools/cargo/tests/testsuite/git_auth.rs"
;; This checks for a specific networking error message
;; that's different from the one we see in the builder
,@(make-ignore-test-list
'("fn net_err_suggests_fetch_with_cli")))))
(add-after 'unpack 'patch-command-exec-tests
;; This test suite includes some tests that the stdlib's
;; `Command` execution properly handles in situations where
@ -1228,7 +1351,7 @@ safety and thread safety guarantees.")
((" = rpath.*" all)
(string-append all
" "
"rustflags.arg(\"-Clink-args=-Wl,-rpath="
"self.rustflags.arg(\"-Clink-args=-Wl,-rpath="
out "/lib\");\n"))))))
(add-after 'unpack 'unpack-profiler-rt
;; Copy compiler-rt sources to where libprofiler_builtins looks
@ -1327,7 +1450,7 @@ exec -a \"$0\" \"~a\" \"$@\""
(prepend curl libffi `(,nghttp2 "lib") zlib)))
(native-inputs (cons*
;; Keep in sync with the llvm used to build rust.
`("clang-source" ,(package-source clang-runtime-15))
`("clang-source" ,(package-source clang-runtime-17))
;; Add test inputs.
`("gdb" ,gdb/pinned)
`("procps" ,procps)
@ -1356,10 +1479,10 @@ exec -a \"$0\" \"~a\" \"$@\""
#~(modify-phases #$phases
(add-after 'unpack 'unbundle-xz
(lambda _
(delete-file-recursively "vendor/lzma-sys/xz-5.2")
(delete-file-recursively "vendor/lzma-sys-0.1.20/xz-5.2")
;; Remove the option of using the static library.
;; This is necessary for building the sysroot.
(substitute* "vendor/lzma-sys/build.rs"
(substitute* "vendor/lzma-sys-0.1.20/build.rs"
(("!want_static && ") ""))))
#$@(if (target-mingw? target)
`((add-after 'set-env 'patch-for-mingw
@ -1384,7 +1507,9 @@ exec -a \"$0\" \"~a\" \"$@\""
":"))
;; When building a rust-sysroot this crate is only used for
;; the rust-installer.
(substitute* "vendor/num_cpus/src/linux.rs"
(substitute* '("vendor/num_cpus-1.13.0/src/linux.rs"
"vendor/num_cpus-1.13.1/src/linux.rs"
"vendor/num_cpus-1.16.0/src/linux.rs")
(("\\.ceil\\(\\)") ""))
;; gcc doesn't recognize this flag.
(substitute*
@ -1474,6 +1599,7 @@ ar = \"" (search-input-file inputs (string-append "/bin/" #$(ar-for-target targe
(replace 'install
(lambda _
(invoke "./x.py" "install" "library/std")))
(delete 'enable-profiling)
(delete 'install-rust-src)
(delete 'wrap-rust-analyzer)
(delete 'wrap-rustc)))))

View file

@ -32,25 +32,106 @@
#:use-module (gnu packages crates-tls)
#:use-module (gnu packages crates-web)
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages hardware)
#:use-module (gnu packages llvm)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages security-token)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
(define-public rust-card-backend-0.2
(package
(name "rust-card-backend")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "card-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ra2zfcs0n4msw4j0hmv8f3bpfz49x5c704i93f6a844k2if6gmx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://gitlab.com/openpgp-card/openpgp-card")
(synopsis "Card backend trait, for use with the openpgp-card crate")
(description
"This package provides the card backend trait, for use with the
openpgp-card crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-card-backend-pcsc-0.5
(package
(name "rust-card-backend-pcsc")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "card-backend-pcsc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ddv3jkcyy2vfc6jmlsh87yxcgkhcppp1g9sv670asqvgdq0pfv8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-card-backend" ,rust-card-backend-0.2)
("rust-iso7816-tlv" ,rust-iso7816-tlv-0.4)
("rust-log" ,rust-log-0.4)
("rust-pcsc" ,rust-pcsc-2))))
(native-inputs
(list pkg-config))
(inputs
(list pcsc-lite))
(home-page "https://gitlab.com/openpgp-card/openpgp-card")
(synopsis "PCSC card backend, e.g. for use with the openpgp-card crate")
(description
"This package provides a PCSC card backend, e.g. for use with the
openpgp-card crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-openpgp-card-0.5
(package
(name "rust-openpgp-card")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "openpgp-card" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hdlzziz9d8i55hj55jbvzidwp9q45krhb1pmz2f52hpq1mv302y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-card-backend" ,rust-card-backend-0.2)
("rust-chrono" ,rust-chrono-0.4)
("rust-hex-slice" ,rust-hex-slice-0.1)
("rust-log" ,rust-log-0.4)
("rust-nom" ,rust-nom-7)
("rust-secrecy" ,rust-secrecy-0.8)
("rust-sha2" ,rust-sha2-0.10)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4))))
(home-page "https://gitlab.com/openpgp-card/openpgp-card")
(synopsis "Client implementation for the OpenPGP card specification")
(description
"This package provides a client implementation for the @code{OpenPGP} card
specification.")
(license (list license:expat license:asl2.0))))
(define-public rust-openpgp-cert-d-0.3
(package
(name "rust-openpgp-cert-d")
(version "0.3.1")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "openpgp-cert-d" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kk2mr4rsib04cygv7jg55wvdxivakggqsfrn4apnaxxl5aknb0c"))))
(base32 "01b3wac69jz0wkf9lq8a3rlh502glw31k8daba1j0vwclln06yvw"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
@ -101,23 +182,24 @@ and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more
than just headers; it requires tight integration with the MUA.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-cert-store-0.5
(define-public rust-sequoia-cert-store-0.6
(package
(name "rust-sequoia-cert-store")
(version "0.5.0")
(version "0.6.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-cert-store" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1rjakcnhwdvwrm0952rpi9ky8cxvv5bnmylval49s3a087jqcm76"))))
(base32 "14f3zhkh0hrjmkv6ksvyr29z6mfq1hadqzqsvhp3xwlf9y66bhjg"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-crossbeam" ,rust-crossbeam-0.8)
("rust-dirs" ,rust-dirs-5)
("rust-gethostname" ,rust-gethostname-0.4)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3)
("rust-rayon" ,rust-rayon-1)
@ -126,8 +208,11 @@ than just headers; it requires tight integration with the MUA.")
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tokio" ,rust-tokio-1)
("rust-url" ,rust-url-2))
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)
("rust-rusty-fork" ,rust-rusty-fork-0.3)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs
(list clang pkg-config))
@ -138,28 +223,94 @@ than just headers; it requires tight integration with the MUA.")
(description "This package provides a certificate database interface.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-ipc-0.33
(define-public rust-sequoia-directories-0.1
(package
(name "rust-sequoia-directories")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-directories" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1m9plvzm61571y1vzsp3jkba2mgbxgwckrbpmcbqdky5c24x87dh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-directories" ,rust-directories-5)
("rust-same-file" ,rust-same-file-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-thiserror" ,rust-thiserror-1))
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" (getcwd)))))))
(home-page "https://sequoia-pgp.org/")
(synopsis "Directories used by Sequoia")
(description "This package provides Directories used by Sequoia.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-gpg-agent-0.4
(package
(name "rust-sequoia-gpg-agent")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-gpg-agent" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "119njpmhg0is0vlba199bmyp7fi19w8y555i89njkyrfv7yvakds"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-futures" ,rust-futures-0.3)
("rust-lalrpop" ,rust-lalrpop-0.17)
("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
("rust-libc" ,rust-libc-0.2)
("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-stfu8" ,rust-stfu8-0.2)
("rust-tempfile" ,rust-tempfile-3)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs (("rust-clap" ,rust-clap-4)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-test" ,rust-tokio-test-0.4))))
(native-inputs (list clang gnupg pkg-config))
(inputs (list nettle))
(home-page "https://sequoia-pgp.org/")
(synopsis "Library for interacting with GnuPG's gpg-agent")
(description
"This package provides a library for interacting with @code{GnuPG's} gpg-agent.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-ipc-0.35
(package
(name "rust-sequoia-ipc")
(version "0.33.0")
(version "0.35.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-ipc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0h4b675m6r9r64ibv472fsyqkfh9xbx2wz4jaa4v01ivgsd7k3r1"))))
(base32 "1qryibvxs7fgbfi55sxsmh6kpim41rz06sslfb0n2cr3jn5cpbl9"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-buffered-reader" ,rust-buffered-reader-1)
("rust-capnp-rpc" ,rust-capnp-rpc-0.19)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
("rust-ctor" ,rust-ctor-0.2)
("rust-dirs" ,rust-dirs-5)
("rust-fs2" ,rust-fs2-0.4)
("rust-futures" ,rust-futures-0.3)
("rust-lalrpop" ,rust-lalrpop-0.17)
("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
("rust-lazy-static" ,rust-lazy-static-1)
@ -173,10 +324,9 @@ than just headers; it requires tight integration with the MUA.")
("rust-tokio" ,rust-tokio-1)
("rust-tokio-util" ,rust-tokio-util-0.7)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs (("rust-clap" ,rust-clap-4)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tokio" ,rust-tokio-1))))
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-1)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))))
(native-inputs
(list clang pkg-config))
(inputs
@ -187,22 +337,23 @@ than just headers; it requires tight integration with the MUA.")
"This package provides interprocess communication infrastructure for Sequoia.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-0.2
(define-public rust-sequoia-keystore-0.6
(package
(name "rust-sequoia-keystore")
(version "0.2.0")
(version "0.6.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11rb2k5v2mc5nf2bafp78nydgcx4gizyxqa9b9lc3d1b73mqv2ad"))))
(base32 "168scr1nv5h1fm67p1p59ym267db07kg3fw3shrramaq0af2smx8"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-async-generic" ,rust-async-generic-1)
("rust-capnp" ,rust-capnp-0.19)
("rust-capnpc" ,rust-capnpc-0.19)
("rust-dirs" ,rust-dirs-5)
@ -210,9 +361,13 @@ than just headers; it requires tight integration with the MUA.")
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-paste" ,rust-paste-1)
("rust-sequoia-ipc" ,rust-sequoia-ipc-0.33)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2)
("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.2)
("rust-sequoia-directories" ,rust-sequoia-directories-0.1)
("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6)
("rust-sequoia-keystore-gpg-agent" ,rust-sequoia-keystore-gpg-agent-0.4)
("rust-sequoia-keystore-openpgp-card" ,rust-sequoia-keystore-openpgp-card-0.1)
("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.6)
("rust-sequoia-keystore-tpm" ,rust-sequoia-keystore-tpm-0.1)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
@ -231,24 +386,30 @@ than just headers; it requires tight integration with the MUA.")
(description "This package contains sequoia's private key store server.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-backend-0.2
(define-public rust-sequoia-keystore-backend-0.6
(package
(name "rust-sequoia-keystore-backend")
(version "0.2.0")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07v6rc27v0di2v59mixshhc4fkkf1ig0yqkzgqz0v2si4z8slv3s"))))
(base32 "15nzpqgpnnbmpcdldzgzx5v0ifgm1njqhvzsh40cg3c02p7xyz40"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-blanket" ,rust-blanket-0.3)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-futures" ,rust-futures-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-thiserror" ,rust-thiserror-1))
("rust-tempfile" ,rust-tempfile-3)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))))
(native-inputs (list clang pkg-config))
@ -258,31 +419,114 @@ than just headers; it requires tight integration with the MUA.")
(description "This package contains traits for private key store backends.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-softkeys-0.2
(define-public rust-sequoia-keystore-gpg-agent-0.4
(package
(name "rust-sequoia-keystore-gpg-agent")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore-gpg-agent" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0s5spxk7v6cdcfzrya4y1n29m09kkrlmqacnrq2azik92kwva1mk"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-futures" ,rust-futures-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3)
("rust-sequoia-gpg-agent" ,rust-sequoia-gpg-agent-0.4)
("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.10)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
(native-inputs (list clang gnupg pkg-config))
(inputs (list nettle))
(home-page "https://sequoia-pgp.org/")
(synopsis "GPG-agent backend for Sequoia's private key store")
(description
"This package provides a gpg-agent backend for Sequoia's private key store.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-openpgp-card-0.1
(package
(name "rust-sequoia-keystore-openpgp-card")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore-openpgp-card" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1sr3hyxvq6nc319k134iwf4z3m9lx48r40j44xbsrp7mcknxz7w8"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-card-backend-pcsc" ,rust-card-backend-pcsc-0.5)
("rust-futures" ,rust-futures-0.3)
("rust-log" ,rust-log-0.4)
("rust-openpgp-card" ,rust-openpgp-card-0.5)
("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3)
("rust-rsa" ,rust-rsa-0.9)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.10)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
(native-inputs (list clang pkg-config))
(inputs (list nettle pcsc-lite))
(home-page "https://sequoia-pgp.org/")
(synopsis "OpenPGP card backend for Sequoia's private key store")
(description
"This package provides an @code{OpenPGP} card backend for Sequoia's
private key store.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-softkeys-0.6
(package
(name "rust-sequoia-keystore-softkeys")
(version "0.2.0")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore-softkeys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "151f1ai0bxvab8fi314qcybilv4vq26gfdcs3yp7r28xqn9hldw0"))))
(base32 "1zyapjfadgmy5fnk1kwxr0dq7i4qmj4614r0g0z68dawpp8mdflr"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-dirs" ,rust-dirs-5)
("rust-futures" ,rust-futures-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.10)
(("rust-dircpy" ,rust-dircpy-0.3)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-test-log" ,rust-test-log-0.2)
("rust-tempfile" ,rust-tempfile-3)
("rust-tokio" ,rust-tokio-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
(native-inputs (list clang pkg-config))
@ -294,6 +538,46 @@ than just headers; it requires tight integration with the MUA.")
private key store.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-keystore-tpm-0.1
(package
(name "rust-sequoia-keystore-tpm")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-keystore-tpm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "00cc468mf9wvkrkdzc1lhjg8a1a0qgfdj046kk09x1nfzlbm5ggh"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-futures" ,rust-futures-0.3)
("rust-log" ,rust-log-0.4)
("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3)
("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35)
("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-sequoia-tpm" ,rust-sequoia-tpm-0.1)
("rust-serde" ,rust-serde-1)
("rust-serde-yaml" ,rust-serde-yaml-0.8)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.10)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
(native-inputs (list clang pkg-config))
(inputs (list nettle tpm2-tss))
(home-page "https://sequoia-pgp.org/")
(synopsis "TPM backend for Sequoia's private key store")
(description
"This package provides a TPM backend for Sequoia's private key store.")
(license license:lgpl2.0+)))
(define-public rust-sequoia-net-0.28
(package
(name "rust-sequoia-net")
@ -342,19 +626,20 @@ HKP protocol, and searching and publishing Web Key Directories.")
(define-public rust-sequoia-openpgp-1
(package
(name "rust-sequoia-openpgp")
(version "1.19.0")
(version "1.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-openpgp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1x3d4yj8mhra8yhcxz6z73pb77pzk0zl1vgxx0yrimzk9b759wgb"))))
(base32 "1mh2rc7briyggsvwbg34g3vvx6aisisllb9vz4p96kdl2vi1w9hk"))))
(build-system cargo-build-system)
(arguments
`(#:features '("crypto-nettle")
#:cargo-test-flags
(list "--release" "--"
"--skip=leak_tests::test_aes_256_decryption"
"--skip=leak_tests::test_ed25519")
#:cargo-inputs
(("rust-aes" ,rust-aes-0.8)
@ -396,6 +681,8 @@ HKP protocol, and searching and publishing Web Key Directories.")
("rust-openssl" ,rust-openssl-0.10)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-p256" ,rust-p256-0.13)
("rust-p384" ,rust-p384-0.13)
("rust-p521" ,rust-p521-0.13)
("rust-rand" ,rust-rand-0.8)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-regex" ,rust-regex-1)
@ -529,17 +816,50 @@ Although the above appear simple to parse, RFC 2822's whitespace and comment
rules are rather complex. This crate implements the whole grammar." )
(license license:gpl3)))
(define-public rust-sequoia-wot-0.11
(define-public rust-sequoia-tpm-0.1
(package
(name "rust-sequoia-tpm")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-tpm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xh0m7yybkwpc0f858da27y82a2vlsdfch35hjaykih5lf4xmdri"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-env-logger" ,rust-env-logger-0.11)
("rust-hex" ,rust-hex-0.4)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-serde" ,rust-serde-1)
("rust-serde-yaml" ,rust-serde-yaml-0.8)
("rust-structopt" ,rust-structopt-0.3)
("rust-tss-esapi" ,rust-tss-esapi-7)
("rust-tss-esapi-sys" ,rust-tss-esapi-sys-0.5))
#:cargo-development-inputs
(("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))))
(native-inputs (list clang pkg-config))
(inputs (list nettle tpm2-tss))
(home-page "https://sequoia-pgp.org/")
(synopsis "Machinery for working with TPM from Sequoia")
(description
"This package provides machinery for working with TPM from Sequoia.")
(license (list license:lgpl2.0+ license:asl2.0))))
(define-public rust-sequoia-wot-0.12
(package
(name "rust-sequoia-wot")
(version "0.11.0")
(version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-wot" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hb17adcqz357ci3d4v57pmywy4giq8591p1vb7p83h56zdk0sfi"))))
(base32 "1nrx1cn58d8lkp2g0ahw2320zmil3ryxl13inpwf61v4vqi5svj8"))))
(build-system cargo-build-system)
(arguments
`(#:features '("sequoia-openpgp/crypto-nettle")
@ -547,17 +867,15 @@ rules are rather complex. This crate implements the whole grammar." )
;; Not all files included.
"--skip=gpg_trust_roots")
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
("rust-anyhow" ,rust-anyhow-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-4)
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-clap-mangen" ,rust-clap-mangen-0.2)
("rust-crossbeam" ,rust-crossbeam-0.8)
("rust-dot-writer" ,rust-dot-writer-0.1)
("rust-enumber" ,rust-enumber-0.3)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5)
("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6)
("rust-thiserror" ,rust-thiserror-1))
@ -578,14 +896,14 @@ rules are rather complex. This crate implements the whole grammar." )
(define-public sequoia-sq
(package
(name "sequoia-sq")
(version "0.34.0")
(version "0.38.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-sq" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0394xr4wxf5ymc8difnih5s9dpw7rpz9b0n7nnp6782gw65ch6lx"))))
(base32 "060dsh7ws9mwamc1jcp093j2g54sm9v5fy1mdhlw8kw2wybqybrj"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
@ -601,36 +919,35 @@ rules are rather complex. This crate implements the whole grammar." )
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-dirs" ,rust-dirs-5)
("rust-dot-writer" ,rust-dot-writer-0.1)
("rust-fs-extra" ,rust-fs-extra-1)
("rust-humantime" ,rust-humantime-2)
("rust-indicatif" ,rust-indicatif-0.17)
("rust-itertools" ,rust-itertools-0.10)
("rust-once-cell" ,rust-once-cell-1)
("rust-roff" ,rust-roff-0.2)
("rust-rpassword" ,rust-rpassword-7)
("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.25)
("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5)
("rust-sequoia-keystore" ,rust-sequoia-keystore-0.2)
("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6)
("rust-sequoia-directories" ,rust-sequoia-directories-0.1)
("rust-sequoia-keystore" ,rust-sequoia-keystore-0.6)
("rust-sequoia-net" ,rust-sequoia-net-0.28)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6)
("rust-sequoia-wot" ,rust-sequoia-wot-0.11)
("rust-sequoia-wot" ,rust-sequoia-wot-0.12)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-subplot-build" ,rust-subplot-build-0.7)
("rust-subplotlib" ,rust-subplotlib-0.7)
("rust-tempfile" ,rust-tempfile-3)
("rust-termcolor" ,rust-termcolor-1)
("rust-terminal-size" ,rust-terminal-size-0.2)
("rust-textwrap" ,rust-textwrap-0.15)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-dircpy" ,rust-dircpy-0.3)
("rust-fehler" ,rust-fehler-1)
("rust-libc" ,rust-libc-0.2)
("rust-predicates" ,rust-predicates-2)
("rust-regex" ,rust-regex-1)
("rust-subplotlib" ,rust-subplotlib-0.7))
("rust-regex" ,rust-regex-1))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-asset-out-dir
@ -678,14 +995,14 @@ This Guix package is built to use the nettle cryptographic library.")
(define-public sequoia-sqv
(package
(name "sequoia-sqv")
(version "1.1.0")
(version "1.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-sqv" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vzqahx7dk1wh2vp7lbzjgah8v7fqpvdf0dq0dydi9695ffm99lc"))))
(base32 "0nizac02bwl5cdmcvn3vjjxdhcy431mnsijyswnq101p764dlkl2"))))
(build-system cargo-build-system)
(inputs
(list nettle openssl))
@ -696,10 +1013,46 @@ This Guix package is built to use the nettle cryptographic library.")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-2)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-clap-mangen" ,rust-clap-mangen-0.2)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6))
#:cargo-development-inputs
(("rust-assert-cli" ,rust-assert-cli-0.6))))
(("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-predicates" ,rust-predicates-3))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-asset-out-dir
(lambda _
(setenv "ASSET_OUT_DIR" "target/assets")))
(add-after 'install 'install-more
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(share (string-append out "/share"))
(bash-completions-dir
(string-append out "/etc/bash_completion.d"))
(zsh-completions-dir
(string-append share "/zsh/site-functions"))
(fish-completions-dir
(string-append share "/fish/vendor_completions.d"))
(elvish-completions-dir
(string-append share "/elvish/lib"))
(man1 (string-append share "/man/man1")))
;; The completions are generated in build.rs.
(mkdir-p bash-completions-dir)
(mkdir-p elvish-completions-dir)
(for-each (lambda (file)
(install-file file man1))
(find-files "target/assets/man-pages" "\\.1$"))
(copy-file "target/assets/shell-completions/sqv.bash"
(string-append bash-completions-dir "/sqv"))
(install-file "target/assets/shell-completions/_sqv"
zsh-completions-dir)
(install-file "target/assets/shell-completions/sqv.fish"
fish-completions-dir)
(copy-file "target/assets/shell-completions/sqv.elv"
(string-append elvish-completions-dir "/sqv"))))))))
(home-page "https://sequoia-pgp.org/")
(synopsis "Simple OpenPGP signature verification program")
(description "@code{sqv} verifies detached OpenPGP signatures. It is a
@ -711,10 +1064,10 @@ This Guix package is built to use the nettle cryptographic library.")
(define-public sequoia-wot
(package
(inherit rust-sequoia-wot-0.11)
(inherit rust-sequoia-wot-0.12)
(name "sequoia-wot")
(arguments
(substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.11)
(substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.12)
((#:install-source? _ #t) #f)
((#:phases phases '%standard-phases)
`(modify-phases ,phases
@ -748,7 +1101,7 @@ This Guix package is built to use the nettle cryptographic library.")))
(define-public sequoia
(package
(name "sequoia")
(version "1.19.0")
(version "1.21.2")
(source #f)
(build-system trivial-build-system)
(arguments

View file

@ -1159,18 +1159,18 @@ of commands called a ``pipeline''.")
(define-public rust-nu-ansi-term-0.50
(package
(name "rust-nu-ansi-term")
(version "0.50.0")
(version "0.50.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-ansi-term" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "057zhc62hcaxc73zfjwq7gir5bfilmx652hnh9krdp0babhh0a6x"))))
(base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1)
("rust-windows-sys" ,rust-windows-sys-0.48))
("rust-windows-sys" ,rust-windows-sys-0.52))
#:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://github.com/nushell/nu-ansi-term")

View file

@ -228,14 +228,14 @@ cards.")
(define-public newsboat
(package
(name "newsboat")
(version "2.35")
(version "2.36.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://newsboat.org/releases/" version
"/newsboat-" version ".tar.xz"))
(sha256
(base32 "1i5nil0lwa621ixxp1vwkic56sxsqp46pyq1xw7lrr1qrbv07w7l"))))
(base32 "1pgi19y1ym5dhh0szs0w0cjbvx83bzq30af24h73nwdalkwb3nhl"))))
(build-system cargo-build-system)
(native-inputs
`(("gettext" ,gettext-minimal)
@ -278,7 +278,7 @@ cards.")
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)
("rust-proptest" ,rust-proptest-1)
("rust-section-testing" ,rust-section-testing-0.0))
("rust-section-testing" ,rust-section-testing-0.0.5))
#:phases
(modify-phases %standard-phases
,@(if (not (assoc-ref inputs "asciidoctor"))

View file

@ -1525,7 +1525,7 @@ basic input/output.")
(define-public alacritty
(package
(name "alacritty")
(version "0.13.1")
(version "0.14.0")
(source
(origin
;; XXX: The crate at "crates.io" contains only the alacritty subproject
@ -1537,26 +1537,22 @@ basic input/output.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1y5xc9ryn9r0adygq53vrbpb8lazkmcqw38q978pbf0i57nwczrn"))))
(base32 "0wfrj3h6rp90mclvssansh6p48q394xa8pzw74pjznzi2jxjw6b6"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
#:cargo-test-flags
'("--release" "--"
;; Completions generated with a different minor version of clap?
"--skip=cli::tests::completions")
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.8)
("rust-base64" ,rust-base64-0.21)
("rust-base64" ,rust-base64-0.22)
("rust-bitflags" ,rust-bitflags-2)
("rust-clap" ,rust-clap-4)
("rust-cocoa" ,rust-cocoa-0.25)
("rust-copypasta" ,rust-copypasta-0.10)
("rust-crossfont" ,rust-crossfont-0.7)
("rust-crossfont" ,rust-crossfont-0.8)
("rust-dirs" ,rust-dirs-5)
("rust-embed-resource" ,rust-embed-resource-2)
("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-glutin" ,rust-glutin-0.31)
("rust-glutin" ,rust-glutin-0.32)
("rust-home" ,rust-home-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
@ -1569,7 +1565,6 @@ basic input/output.")
("rust-png" ,rust-png-0.17)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
("rust-regex-automata" ,rust-regex-automata-0.4)
("rust-rustix-openpty" ,rust-rustix-openpty-0.1)
("rust-serde" ,rust-serde-1)
@ -1577,11 +1572,13 @@ basic input/output.")
("rust-serde-yaml" ,rust-serde-yaml-0.9)
("rust-signal-hook" ,rust-signal-hook-0.3)
("rust-syn" ,rust-syn-2)
("rust-tempfile" ,rust-tempfile-3)
("rust-toml" ,rust-toml-0.8)
("rust-toml-edit" ,rust-toml-edit-0.22)
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-vte" ,rust-vte-0.13)
("rust-windows-sys" ,rust-windows-sys-0.48)
("rust-winit" ,rust-winit-0.29)
("rust-windows-sys" ,rust-windows-sys-0.52)
("rust-winit" ,rust-winit-0.30)
("rust-xdg" ,rust-xdg-2))
#:cargo-development-inputs
(("rust-clap-complete" ,rust-clap-complete-4)

View file

@ -268,7 +268,7 @@ Browser.")
(list
rust
`(,rust "cargo")
rust-cbindgen
rust-cbindgen-0.26
lld-as-ld-wrapper-16 ; for cargo rustc
llvm-16
clang-16
@ -321,7 +321,9 @@ Browser.")
"--disable-debug"
"--disable-debug-symbols"
"--enable-rust-simd"
;; TODO: Re-enable after updating to the 128 ESR.
;"--enable-rust-simd"
"--disable-rust-simd"
"--enable-release"
"--enable-optimize"
"--enable-strip"

View file

@ -1823,7 +1823,7 @@ lot easier.")
(define-public stgit-2
(package
(name "stgit")
(version "2.4.0")
(version "2.4.12")
(source
(origin
(method git-fetch)
@ -1832,7 +1832,7 @@ lot easier.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj"))
(base32 "0kp3gwmxcjvphg1s0san0vyis8dsdaf02xsflc2b7kkg8m0r0mi3"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* (find-files "." "^Cargo\\.toml$")
@ -1849,10 +1849,10 @@ lot easier.")
("rust-curl" ,rust-curl-0.4)
("rust-encoding_rs" ,rust-encoding-rs-0.8)
("rust-flate2" ,rust-flate2-1)
("rust-gix" ,rust-gix-0.54)
("rust-gix" ,rust-gix-0.66)
("rust-indexmap" ,rust-indexmap-2)
("rust-is-terminal" ,rust-is-terminal-0.4)
("rust-nom" ,rust-nom-7)
("rust-jiff" ,rust-jiff-0.1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-strsim" ,rust-strsim-0.10)
@ -1860,7 +1860,7 @@ lot easier.")
("rust-tempfile" ,rust-tempfile-3)
("rust-termcolor" ,rust-termcolor-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-time" ,rust-time-0.3))
("rust-winnow" ,rust-winnow-0.6))
#:install-source? #f
#:phases
(modify-phases %standard-phases

View file

@ -1681,9 +1681,7 @@ operate properly.")
(build-system gnu-build-system)
(inputs
(append
;; XXX: rav1e depends on rust, which currently only works on x86_64.
;; See also the related configure flag when changing this.
(if (target-x86-64?) (list rav1e) '())
(if (supported-package? rav1e) (list rav1e) '())
(list dav1d
fontconfig
freetype
@ -1796,7 +1794,7 @@ operate properly.")
"--enable-libmp3lame"
"--enable-libopus"
"--enable-libpulse"
#$@(if (target-x86-64?)
#$@(if (this-package-input "rav1e")
'("--enable-librav1e")
'())
"--enable-libsoxr"
@ -6122,7 +6120,7 @@ and audio capture, network stream playback, and many more.")
(define-public dav1d
(package
(name "dav1d")
(version "1.3.0")
(version "1.5.0")
(source
(origin
(method git-fetch)
@ -6131,7 +6129,7 @@ and audio capture, network stream playback, and many more.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "17r6qdijdnqfciqa0ia2y4gyhaav6y5gc4d9xj4dg9h7xnpyxc3k"))))
(base32 "0rn8zvmqapjq4r9s9hlpz1866war4ap7hzp5h8qhm5igry7i1qvq"))))
(build-system meson-build-system)
(native-inputs
(if (target-x86?)
@ -6479,7 +6477,40 @@ result in several formats:
(invoke "cargo" "cinstall" "--release"
;; Only build the dynamic library.
"--library-type" "cdylib"
(string-append "--prefix=" out))))))))
(string-append "--prefix=" out)))))
(add-after 'install 'install-completions
(lambda* (#:key native-inputs outputs #:allow-other-keys)
(unless ,(%current-target-system)
(let* ((out (assoc-ref outputs "out"))
(share (string-append out "/share"))
(bash-completions-dir
(string-append out "/etc/bash_completion.d"))
(zsh-completions-dir
(string-append share "/zsh/site-functions"))
(fish-completions-dir
(string-append share "/fish/vendor_completions.d"))
(elvish-completions-dir
(string-append share "/elvish/lib"))
(rav1e (string-append out "/bin/rav1e"))
(common-flags '("-" "-o" "-" "advanced" "--completion")))
(mkdir-p bash-completions-dir)
(with-output-to-file
(string-append bash-completions-dir "/rav1e")
(lambda _ (apply invoke rav1e (append common-flags '("bash")))))
(mkdir-p zsh-completions-dir)
;; This one currently fails to build.
;(with-output-to-file
; (string-append zsh-completions-dir "/_rav1e")
; (lambda _ (apply invoke rav1e (append common-flags '("zsh")))))
(mkdir-p fish-completions-dir)
(with-output-to-file
(string-append fish-completions-dir "/rav1e.fish")
(lambda _ (apply invoke rav1e (append common-flags '("fish")))))
(mkdir-p elvish-completions-dir)
(with-output-to-file
(string-append elvish-completions-dir "/rav1e")
(lambda _
(apply invoke rav1e (append common-flags '("elvish"))))))))))))
(native-inputs
(append (if (target-x86?)
(list nasm)