gnu: Change source file-name suffix in rust packages.

* gnu/packages/rust-apps.scm (rust-cbindgen)[source]: Change source
file-name suffix from '.crate' to '.tar.gz'.
* gnu/packages/crates-graphics.scm (rust-ansi-term-0.12): Likewise.
(rust-ansi-term-0.11): Likewise.
(rust-rgb-0.8): Likewise.
* gnu/packages/crates-io.scm (rust-adler32-1): Likewise.
(rust-antidote-1): Likewise.
(rust-atty-0.2): Likewise.
(rust-autocfg-0.1): Likewise.
(rust-backtrace-sys-0.1): Likewise.
(rust-base-x-0.2): Likewise.
(rust-bencher-0.1): Likewise.
(rust-bitflags-1): Likewise.
(rust-blas-sys-0.7): Likewise.
(rust-cargon-0.0): Likewise.
(rust-cblas-sys-0.1): Likewise.
(rust-cc-1): Likewise.
(rust-cfg-if-0.1): Likewise.
(rust-clang-sys-0.26): Likewise.
(rust-clap-2): Likewise.
(rust-clicolors-control-1): Likewise.
(rust-cloudabi-0.1): Likewise.
(rust-cloudabi-0.0): Likewise.
(rust-cmake-0.1): Likewise.
(rust-compiler-builtins-0.1): Likewise.
(rust-constant-time-eq-0.1): Likewise.
(rust-core-foundation-sys-0.6): Likewise.
(rust-data-encoding-2): Likewise.
(rust-defmac-0.2): Likewise.
(rust-defmac-0.1): Likewise.
(rust-dirs-1): Likewise.
(rust-discard-1): Likewise.
(rust-doc-comment-0.3): Likewise.
(rust-dtoa-0.4): Likewise.
(rust-dtoa-0.2): Likewise.
(rust-fallible-iterator-0.2): Likewise.
(rust-filetime-0.2): Likewise.
(rust-findshlibs-0.5): Likewise.
(rust-fixedbitset-0.2): Likewise.
(rust-fixedbitset-0.1): Likewise.
(rust-fnv-1): Likewise.
(rust-foreign-types-shared-0.2): Likewise.
(rust-fs-extra-1): Likewise.
(rust-fuchsia-cprng-0.1): Likewise.
(rust-fuchsia-zircon-0.3): Likewise.
(rust-fuchsia-zircon-sys-0.3): Likewise.
(rust-futures-0.1): Likewise.
(rust-futures-core-preview-0.3): Likewise.
(rust-futures-cpupool-0.1): Likewise.
(rust-futures-io-preview-0.3): Likewise.
(rust-futures-sink-preview-0.3): Likewise.
(rust-getopts-0.2): Likewise.
(rust-glob-0.3): Likewise.
(rust-glob-0.2): Likewise.
(rust-heapsize-0.4): Likewise.
(rust-heapsize-0.3): Likewise.
(rust-heapsize-plugin-0.1): Likewise.
(rust-heck-0.3): Likewise.
(rust-hex-0.3): Likewise.
(rust-hex-0.2): Likewise.
(rust-hostname-0.1): Likewise.
(rust-iovec-0.1): Likewise.
(rust-itoa-0.4): Likewise.
(rust-itoa-0.1): Likewise.
(rust-json-0.11): Likewise.
(rust-kernel32-sys-0.2): Likewise.
(rust-language-tags-0.2): Likewise.
(rust-lazy-static-1): Likewise.
(rust-libloading-0.5): Likewise.
(rust-lock-api-0.1): Likewise.
(rust-log-0.4): Likewise.
(rust-maplit-1): Likewise.
(rust-matches-0.1): Likewise.
(rust-matrixmultiply-0.2): Likewise.
(rust-matrixmultiply-0.1): Likewise.
(rust-md5-0.7): Likewise.
(rust-md5-0.6): Likewise.
(rust-memmap-0.7): Likewise.
(rust-memmap-0.6): Likewise.
(rust-mime-0.3): Likewise.
(rust-miniz-oxide-0.3): Likewise.
(rust-miniz-sys-0.1): Likewise.
(rust-miow-0.3): Likewise.
(rust-miow-0.2): Likewise.
(rust-modifier-0.1): Likewise.
(rust-net2-0.2): Likewise.
(rust-nodrop-0.1): Likewise.
(rust-nodrop-union-0.1): Likewise.
(rust-num-traits-0.1): Likewise.
(rust-numtoa-0.1): Likewise.
(rust-openssl-probe-0.1): Likewise.
(rust-owning-ref-0.4): Likewise.
(rust-parity-wasm-0.40): Likewise.
(rust-peeking-take-while-0.1): Likewise.
(rust-percent-encoding-2): Likewise.
(rust-percent-encoding-1): Likewise.
(rust-permutohedron-0.2): Likewise.
(rust-pico-sys-0.0): Likewise.
(rust-pkg-config-0.3): Likewise.
(rust-plain-0.2): Likewise.
(rust-plugin-0.2): Likewise.
(rust-pocket-resources-0.3): Likewise.
(rust-ppv-lite86-0.2): Likewise.
(rust-proc-macro2-1): Likewise.
(rust-quick-error-2): Likewise.
(rust-quick-error-1): Likewise.
(rust-quote-1): Likewise.
(rust-rand-0.7): Likewise.
(rust-rand-0.6): Likewise.
(rust-rand-0.3): Likewise.
(rust-rand-chacha-0.1): Likewise.
(rust-rand-core-0.4): Likewise.
(rust-rand-core-0.3): Likewise.
(rust-rand-hc-0.2): Likewise.
(rust-rand-hc-0.1): Likewise.
(rust-rand-isaac-0.1): Likewise.
(rust-rand-jitter-0.1): Likewise.
(rust-rand-os-0.1): Likewise.
(rust-rand-pcg-0.3): Likewise.
(rust-rand-pcg-0.2): Likewise.
(rust-rand-pcg-0.1): Likewise.
(rust-rand-xorshift-0.1): Likewise.
(rust-rawpointer-0.2): Likewise.
(rust-rawpointer-0.1): Likewise.
(rust-rdrand-0.4): Likewise.
(rust-redox-syscall-0.1): Likewise.
(rust-redox-termios-0.1): Likewise.
(rust-resolv-conf-0.6): Likewise.
(rust-rustc-demangle-0.1): Likewise.
(rust-rustc-serialize-0.3): Likewise.
(rust-rustc-std-workspace-core-1): Likewise.
(rust-ryu-1): Likewise.
(rust-safemem-0.3): Likewise.
(rust-same-file-1): Likewise.
(rust-schannel-0.1): Likewise.
(rust-scoped-threadpool-0.1): Likewise.
(rust-scoped-tls-1): Likewise.
(rust-scoped-tls-0.1): Likewise.
(rust-scopeguard-1): Likewise.
(rust-scopeguard-0.3): Likewise.
(rust-security-framework-sys-0.3): Likewise.
(rust-semver-parser-0.9): Likewise.
(rust-semver-parser-0.7): Likewise.
(rust-serde-derive-1): Likewise.
(rust-shlex-1): Likewise.
(rust-shlex-0.1): Likewise.
(rust-slab-0.4): Likewise.
(rust-socket2-0.3): Likewise.
(rust-sourcefile-0.1): Likewise.
(rust-spin-0.5): Likewise.
(rust-stacker-0.1): Likewise.
(rust-static-assertions-1): Likewise.
(rust-static-assertions-0.3): Likewise.
(rust-stdweb-internal-runtime-0.1): Likewise.
(rust-stdweb-internal-test-macro-0.1): Likewise.
(rust-streaming-stats-0.2): Likewise.
(rust-strsim-0.9): Likewise.
(rust-strsim-0.8): Likewise.
(rust-synstructure-test-traits-0.1): Likewise.
(rust-tar-0.4): Likewise.
(rust-tempdir-0.3): Likewise.
(rust-tempfile-3): Likewise.
(rust-term-0.4): Likewise.
(rust-term-0.2): Likewise.
(rust-termcolor-1): Likewise.
(rust-termion-1): Likewise.
(rust-termios-0.3): Likewise.
(rust-thread-id-3): Likewise.
(rust-thread-local-1): Likewise.
(rust-thread-local-0.3): Likewise.
(rust-threadpool-1): Likewise.
(rust-time-0.1): Likewise.
(rust-tokio-mock-task-0.1): Likewise.
(rust-toml-0.5): Likewise.
(rust-tracing-core-0.1): Likewise.
(rust-traitobject-0.1): Likewise.
(rust-try-from-0.3): Likewise.
(rust-try-lock-0.2): Likewise.
(rust-typeable-0.1): Likewise.
(rust-typemap-0.3): Likewise.
(rust-typenum-1): Likewise.
(rust-ucd-trie-0.1): Likewise.
(rust-ucd-util-0.1): Likewise.
(rust-unicode-xid-0.2): Likewise.
(rust-unicode-xid-0.1): Likewise.
(rust-unreachable-1): Likewise.
(rust-unsafe-any-0.4): Likewise.
(rust-untrusted-0.7): Likewise.
(rust-vcpkg-0.2): Likewise.
(rust-vec-map-0.8): Likewise.
(rust-version-check-0.9): Likewise.
(rust-version-check-0.1): Likewise.
(rust-void-1): Likewise.
(rust-wasi-0.5): Likewise.
(rust-wasm-bindgen-shared-0.2): Likewise.
(rust-wasm-bindgen-test-macro-0.2): Likewise.
(rust-widestring-0.4): Likewise.
(rust-winapi-0.3): Likewise.
(rust-winapi-0.2): Likewise.
(rust-winapi-build-0.1): Likewise.
(rust-winapi-util-0.1): Likewise.
(rust-wincolor-1): Likewise.
(rust-winutil-0.1): Likewise.
(rust-ws2-32-sys-0.2): Likewise.
(rust-xattr-0.2): Likewise.
(rust-xdg-2): Likewise.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Z572 2021-12-01 20:41:07 +08:00 committed by Efraim Flashner
parent c89940a43a
commit 7317c6e739
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 207 additions and 205 deletions

View file

@ -11,6 +11,7 @@
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -137,7 +138,7 @@ (define-public rust-ansi-term-0.12
(origin
(method url-fetch)
(uri (crate-uri "ansi_term" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
@ -166,7 +167,7 @@ (define-public rust-ansi-term-0.11
(origin
(method url-fetch)
(uri (crate-uri "ansi_term" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
@ -2055,7 +2056,7 @@ (define-public rust-rgb-0.8
(origin
(method url-fetch)
(uri (crate-uri "rgb" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))

File diff suppressed because it is too large Load diff

View file

@ -660,7 +660,7 @@ (define-public rust-cbindgen
(origin
(method url-fetch)
(uri (crate-uri "cbindgen" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.xz"))
(sha256
(base32
"0673pq96hs7waavkv58v2pakpxpsfyjvbraa5kyl2b44phgdzcid"))))