mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
Revert "build: cargo-build-system: Disable tests by default."
This reverts commit 37667443074a6de29f7665868f102111d62f0af9. This change needs more discussion.
This commit is contained in:
parent
d45992833b
commit
003dc790fd
15 changed files with 46 additions and 106 deletions
|
@ -5395,8 +5395,7 @@ (define-public greetd
|
|||
(base32 "1b79lb0vikh5vwpdlyga6zwzm11gpsd7ghp8zb0q2m6mlqlj5by3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-nix" ,rust-nix-0.26)
|
||||
("rust-pam-sys" ,rust-pam-sys-0.5)
|
||||
("rust-rpassword" ,rust-rpassword-5)
|
||||
|
@ -5501,8 +5500,7 @@ (define-public wlgreet
|
|||
"1k0jmgh0rjbnb49gkvs0a4d7z9xb6pad8v5w5f7my4s0rfpk7wd9"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:tests? #~(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(list #:cargo-inputs
|
||||
`(("rust-chrono" ,rust-chrono-0.4)
|
||||
("rust-getopts" ,rust-getopts-0.2)
|
||||
("rust-greetd-ipc" ,rust-greetd-ipc-0.9)
|
||||
|
@ -5921,7 +5919,6 @@ (define-public du-dust
|
|||
`(#:cargo-test-flags
|
||||
(list "--release" "--"
|
||||
"--skip=test_apparent_size")
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
|
|
|
@ -2654,7 +2654,6 @@ (define-public circtools
|
|||
(("find_package\\(biosoup 0.10.0 QUIET\\)")
|
||||
"find_package(biosoup 0.10.0 CONFIG)")
|
||||
(("GTest_FOUND") "TRUE")))))
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-bio" ,rust-bio-0.33)
|
||||
|
@ -21094,7 +21093,6 @@ (define-public python-gseapy
|
|||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:install-source? #false
|
||||
#:features '(list "extension-module")
|
||||
#:cargo-test-flags '(list "--features=extension-module")
|
||||
|
|
|
@ -268,8 +268,7 @@ (define-public rust-minisign
|
|||
(base32 "1lmp83bxdg53c4n35fbwr3rkh6178y75fwsn25hf1kn62f2gbdnj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-getrandom" ,rust-getrandom-0.2)
|
||||
("rust-rpassword" ,rust-rpassword-7)
|
||||
("rust-scrypt" ,rust-scrypt-0.11))))
|
||||
|
@ -1606,8 +1605,7 @@ (define-public b3sum
|
|||
(base32 "05k0vn7gpbvjr925vjc5yzvhiyrmkw9pqmch5fr4ir7s8wiaq2fm"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
;; Install the source so that Cargo.toml is installed, because that is
|
||||
`(;; Install the source so that Cargo.toml is installed, because that is
|
||||
;; the only reference to the license information.
|
||||
#:install-source? #t
|
||||
#:phases
|
||||
|
|
|
@ -3513,7 +3513,6 @@ (define-public librsvg
|
|||
(outputs '("out" "doc" "debug"))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:modules
|
||||
'((guix build cargo-build-system)
|
||||
|
|
|
@ -362,7 +362,6 @@ (define-public python-blake3
|
|||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'build-python-module
|
||||
|
@ -569,7 +568,6 @@ (define-public python-cryptography-rust
|
|||
(guix build utils)
|
||||
(srfi srfi-1)
|
||||
(ice-9 match))
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
;; As seen in noxfile.py
|
||||
#:cargo-test-flags ''("--release" "--no-default-features")
|
||||
|
|
|
@ -3053,7 +3053,6 @@ (define-public python-orjson
|
|||
(assoc-ref py:%standard-phases 'build))
|
||||
(add-after 'build-python-module 'install-python-module
|
||||
(assoc-ref py:%standard-phases 'install)))
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(("rust-ahash" ,rust-ahash-0.8)
|
||||
("rust-arrayvec" ,rust-arrayvec-0.7)
|
||||
|
|
|
@ -99,8 +99,7 @@ (define-public agate
|
|||
(base32 "1mhrl4j5r6wzsnwpqsbgzny5vqschyjm3gnk4y88har7skk7j19v"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-configparser" ,rust-configparser-2)
|
||||
("rust-env-logger" ,rust-env-logger-0.8)
|
||||
("rust-getopts" ,rust-getopts-0.2)
|
||||
|
@ -139,8 +138,7 @@ (define-public alfis
|
|||
(base32 "1kgzz92mkyzn7mbsdpik1q21kl38i4almn01k99nww3p0vgx9514"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-test-flags
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
"--skip=dns::client::tests::test_tcp_client"
|
||||
"--skip=dns::client::tests::test_udp_client")
|
||||
|
@ -213,8 +211,7 @@ (define-public bat
|
|||
(base32 "05sj0chxpai26fhk1k7p5m54v3j7n1x64ayx53mcimsj1skdr77m"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-colours" ,rust-ansi-colours-1)
|
||||
("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
|
@ -276,8 +273,7 @@ (define-public diffr
|
|||
(base32 "1b0mz1ki2ksxni6g49x5l5j9ijpyhc11mywvxr9i9h3nr098nc5l"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
;; https://github.com/mookid/diffr/issues/79
|
||||
#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
|
@ -317,8 +313,7 @@ (define-public drill
|
|||
(base32 "1m73d7rzi0p5c1hn0081d2235kcyapdza7h0vqf5jhnirpnjn793"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-async-trait" ,rust-async-trait-0.1)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-colored" ,rust-colored-1)
|
||||
|
@ -359,8 +354,7 @@ (define-public dutree
|
|||
(base32 "1611h27i8fm3jndscd6w65z8z7w09nnrm61vdgs9kb8ln57gqm8x"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-getopts" ,rust-getopts-0.2)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
|
@ -398,8 +392,7 @@ (define-public exa
|
|||
"1dd7waq2bnxc1xwygqphi8k1g2qzykr6fk0q4rgrhhxp2jd09f04"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-datetime" ,rust-datetime-0.5)
|
||||
|
@ -485,8 +478,7 @@ (define-public fd
|
|||
"186217yyb0znfn4jcc9l3i51fhfyb23lhbm3gg084sdrbj6bdnbg"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-test-flags
|
||||
`(#:cargo-test-flags
|
||||
'("--release"
|
||||
"--"
|
||||
;; No user 'root' in the build environment.
|
||||
|
@ -577,8 +569,7 @@ (define-public hexyl
|
|||
"0sipag77196467idbznbk5q5lwhqz85zw7y1pwg9b27jxqyk04rp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
|
@ -609,7 +600,6 @@ (define-public hyperfine
|
|||
`(#:modules ((guix build cargo-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-26))
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(("rust-atty" ,rust-atty-0.2)
|
||||
("rust-cfg-if" ,rust-cfg-if-0.1)
|
||||
|
@ -669,7 +659,6 @@ (define-public i3status-rust
|
|||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:features '("pulseaudio" "libpulse-binding")
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-chrono" ,rust-chrono-0.4)
|
||||
|
@ -762,8 +751,7 @@ (define-public just
|
|||
(base32 "0kafd87zmjf7wswyiqakqd2r5b8q3a761ipsihmrg9wr57k5zlis"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-test-flags
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
"--skip=functions::env_var_functions"
|
||||
"--skip=string::shebang_backtick")
|
||||
|
@ -867,7 +855,6 @@ (define-public maturin
|
|||
#:imported-modules ((guix build cargo-build-system)
|
||||
(guix build cargo-utils)
|
||||
,@%pyproject-build-system-modules)
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
|
@ -1025,8 +1012,7 @@ (define-public ripgrep
|
|||
"1gv4imhjgxmyxaa996yshcjlakmrjw9pf4rycp90pq675cn9sz7k"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-bstr" ,rust-bstr-0.2)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-grep" ,rust-grep-0.2)
|
||||
|
@ -1083,8 +1069,7 @@ (define-public rot8
|
|||
"1m5kzpqq9pgc19lbnh20iaq654lzlmc1m5fc9f73w2vpwqdiw1qf"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs (("rust-clap" ,rust-clap-2)
|
||||
`(#:cargo-inputs (("rust-clap" ,rust-clap-2)
|
||||
("rust-glob" ,rust-glob-0.3)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
|
@ -1117,8 +1102,7 @@ (define-public rust-swc
|
|||
(string-append "\"^" version)))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
#:cargo-build-flags
|
||||
'("--release" "-p" "swc_cli")
|
||||
#:cargo-test-flags
|
||||
|
@ -1253,8 +1237,7 @@ (define-public rust-cargo-edit
|
|||
"19wfjz7z4kqjfjmnq1bl6dhsvskjy6r656fqmbha9dfdspbsnmd0"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
;; error[E0463]: can't find crate for `cargo_test_macro`
|
||||
#:tests? #f
|
||||
#:cargo-inputs
|
||||
|
@ -1327,8 +1310,7 @@ (define-public git-interactive-rebase-tool
|
|||
"173spqqpyc00kvfmldjmjfqizh9b4spq4xw4bskd4dny8qcpz28d"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-test-flags
|
||||
`(#:cargo-test-flags
|
||||
;; https://github.com/MitMaro/git-interactive-rebase-tool/issues/586
|
||||
'("--release" "--" "--skip=tests::success")
|
||||
#:cargo-inputs
|
||||
|
@ -1372,8 +1354,7 @@ (define-public rust-cbindgen
|
|||
"0673pq96hs7waavkv58v2pakpxpsfyjvbraa5kyl2b44phgdzcid"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("clap" ,rust-clap-2)
|
||||
("log" ,rust-log-0.4)
|
||||
("proc-macro2" ,rust-proc-macro2-1)
|
||||
|
@ -1402,8 +1383,7 @@ (define-public rust-cbindgen-0.24
|
|||
(base32
|
||||
"1yqxqsz2d0cppd8zwihk2139g5gy38wqgl9snj6rnk8gyvnqsdd6"))))
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-clap" ,rust-clap-3)
|
||||
("rust-heck" ,rust-heck-0.4)
|
||||
("rust-indexmap" ,rust-indexmap-1)
|
||||
|
@ -1448,8 +1428,7 @@ (define-public rust-cbindgen-0.19
|
|||
(base32
|
||||
"1yld9fni9g9mzg4r42zfk79aq9mzm2sfzzjrrx4vir4lp4qqqwiq"))))
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-clap" ,rust-clap-2)
|
||||
("rust-heck" ,rust-heck-0.3)
|
||||
("rust-indexmap" ,rust-indexmap-1)
|
||||
|
@ -1510,8 +1489,7 @@ (define-public sniffglue
|
|||
"038wcjiiay825wc8inmn62flklc1adxskg5fmjhmxqnhwmj1k5gn"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
|
@ -1565,8 +1543,7 @@ (define-public tectonic
|
|||
(base32 "1q4mz2c32gfypx33zlzgd1q9h4322jrk13fzvsf8h676ylclqzpc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-build-flags '("--release" "--features" "external-harfbuzz")
|
||||
`(#:cargo-build-flags '("--release" "--features" "external-harfbuzz")
|
||||
#:cargo-inputs
|
||||
(("rust-atty" ,rust-atty-0.2)
|
||||
("rust-byte-unit" ,rust-byte-unit-4)
|
||||
|
@ -1648,8 +1625,7 @@ (define-public treefmt
|
|||
(base32 "1rarg6rffzl1cf6r167h9p14wr696kwnzr85kwbdy7x7x5zpj5li"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-console" ,rust-console-0.13)
|
||||
|
@ -1707,8 +1683,7 @@ (define-public hex
|
|||
(base32 "03x27nixdlnkkrh85gy4152arp02kpjwq0i9dn9p73lyr24s64lv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
|
@ -1735,8 +1710,7 @@ (define-public tokei
|
|||
(base32 "000w549v1bpw7r57xw656p40ywf1gimvxxx5cjnri2js0xg927x4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-aho-corasick" ,rust-aho-corasick-0.7)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
|
||||
|
@ -1789,8 +1763,7 @@ (define-public vivid
|
|||
(base32 "01fds6dm19bqgqydaa6n051v9l4wh9rb5d6sr9akwp2cc0fs43b7"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-colours" ,rust-ansi-colours-1)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-dirs" ,rust-dirs-3)
|
||||
|
@ -1838,7 +1811,6 @@ (define-public watchexec
|
|||
;;
|
||||
;; (copy-file "completions/zsh" zsh)
|
||||
(install-file "README.md" doc)))))
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(("rust-clap" ,rust-clap-2)
|
||||
("rust-embed-resource" ,rust-embed-resource-1)
|
||||
|
@ -1881,7 +1853,6 @@ (define-public rbw
|
|||
(substitute*
|
||||
"Cargo.toml"
|
||||
(("version = \"1.4\"") "version = \"^1\"")))))
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(("rust-aes" ,rust-aes-0.7)
|
||||
("rust-anyhow" ,rust-anyhow-1)
|
||||
|
@ -1954,7 +1925,6 @@ (define-public rust-analyzer
|
|||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:rust ,rust-1.64
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f ; virtual manifest
|
||||
#:cargo-test-flags
|
||||
'("--release" "--lib" "--tests" "--"
|
||||
|
@ -2131,8 +2101,7 @@ (define-public rust-cargo-c
|
|||
"191d0813g4m2g1c1h8ykgrfp00blkbds6pg3zl044iyxaclng29h"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-cargo" ,rust-cargo-0.69)
|
||||
("rust-cargo-util" ,rust-cargo-util-0.2)
|
||||
|
@ -2173,8 +2142,7 @@ (define-public rtss
|
|||
(base32 "1r1b6fynkjnpj5p3k209sa13mjvh4k0ghzwnribm48dh9v7lfnnv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-libc" ,rust-libc-0.2)
|
||||
("rust-memchr" ,rust-memchr-2))))
|
||||
(home-page "https://github.com/Freaky/rtss")
|
||||
|
@ -2198,8 +2166,7 @@ (define-public skim
|
|||
"1d5v9vq8frkdjm7bnw3455h6xf3c277d51il2qasn7r20kwik7ab"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-atty-0.2" ,rust-atty-0.2)
|
||||
("rust-beef" ,rust-beef-0.5)
|
||||
("rust-bitflags" ,rust-bitflags-1)
|
||||
|
@ -2284,8 +2251,7 @@ (define-public skim-0.7
|
|||
(base32
|
||||
"1yiyd6fml5hd2l811sckkzmiiq9bd7018ajk4qk3ai4wyvqnw8mv"))))
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-chrono" ,rust-chrono-0.4)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
|
@ -2322,8 +2288,7 @@ (define-public svd2rust
|
|||
"0q8slfgjfhpljzlk2myb0i538mfq99q1ljn398jm17r1q2pjjxhv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-cast" ,rust-cast-0.2)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
|
@ -2357,8 +2322,7 @@ (define-public swayhide
|
|||
(base32 "0x172ffj0lfmbv5nix708l1mfsizxzy74gpxp5amvx0bbaq0p78s"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-exitcode" ,rust-exitcode-1)
|
||||
("rust-swayipc" ,rust-swayipc-2))))
|
||||
(home-page "https://github.com/NomisIV/swayhide/")
|
||||
|
@ -2441,7 +2405,6 @@ (define-public tealdeer
|
|||
(string-append fish "tealdeer.fish"))
|
||||
(copy-file "completion/zsh_tealdeer"
|
||||
(string-append zsh "_tealdeer"))))))
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
|
@ -2503,8 +2466,7 @@ (define-public git-absorb
|
|||
(base32 "04v10bn24acify34vh5ayymsr1flcyb05f3az9k1s2m6nlxy5gb9"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-git2" ,rust-git2-0.13)
|
||||
|
@ -2588,8 +2550,7 @@ (define-public zoxide
|
|||
(base32 "0y5v2vgl9f3n0n0w4b3iddbfyxv0hls0vw5406ry0hcvnnjyy2l3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:tests? #~(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
(list #:cargo-inputs
|
||||
`(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-askama" ,rust-askama-0.11)
|
||||
("rust-bincode" ,rust-bincode-1)
|
||||
|
@ -2648,8 +2609,7 @@ (define-public htmlq
|
|||
(base32 "0912cdkz5xji1hzfj1cf42zh1kd860b52xmwwhb7q2jhp6qk25jh"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-clap" ,rust-clap-2)
|
||||
("rust-html5ever" ,rust-html5ever-0.25)
|
||||
("rust-kuchiki" ,rust-kuchiki-0.8)
|
||||
|
|
|
@ -515,8 +515,7 @@ (define-public sequoia-sqv
|
|||
(native-inputs
|
||||
(list clang pkg-config))
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
`(#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-chrono" ,rust-chrono-0.4)
|
||||
|
|
|
@ -252,7 +252,6 @@ (define-public newsboat
|
|||
`(#:modules ((guix build cargo-build-system)
|
||||
(guix build utils)
|
||||
((guix build gnu-build-system) #:prefix gnu:))
|
||||
#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f
|
||||
#:cargo-inputs
|
||||
(("rust-backtrace" ,rust-backtrace-0.3)
|
||||
|
|
|
@ -1524,8 +1524,7 @@ (define-public alacritty
|
|||
(base32 "1jbyxnza38c22k7ri8apzn03q91l06isj8la9xca7cz06kn0hha9"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:install-source? #f ; virtual manifest
|
||||
`(#:install-source? #f ; virtual manifest
|
||||
#:cargo-inputs
|
||||
(("rust-alacritty-config" ,rust-alacritty-config-0.1)
|
||||
("rust-alacritty-config-derive" ,rust-alacritty-config-derive-0.2)
|
||||
|
|
|
@ -226,8 +226,7 @@ (define-public kak-lsp
|
|||
(sha256 "1wfv2fy5ga6kc51zka3pak0hq97csm2l11bz74w3n1hrf5q9nnf8")))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
|
||||
("rust-clap" ,rust-clap-2)
|
||||
("rust-daemonize" ,rust-daemonize-0.4)
|
||||
|
@ -272,8 +271,7 @@ (define-public parinfer-rust
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-getopts" ,rust-getopts-0.2)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-emacs" ,rust-emacs-0.11)
|
||||
|
|
|
@ -164,7 +164,6 @@ (define-public tree-sitter-cli
|
|||
(list tree-sitter graphviz node-lts))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #~(not (%current-target-system))
|
||||
#:cargo-test-flags
|
||||
''("--release" "--"
|
||||
;; Skip tests which rely on downloading grammar fixtures. It is
|
||||
|
|
|
@ -5356,8 +5356,7 @@ (define-public rav1e
|
|||
(string-append "\"^" version)))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-aom-sys" ,rust-aom-sys-0.3)
|
||||
("rust-arbitrary" ,rust-arbitrary-0.4)
|
||||
("rust-arg-enum-proc-macro" ,rust-arg-enum-proc-macro-0.3)
|
||||
|
|
|
@ -460,8 +460,7 @@ (define-public monolith
|
|||
(base32 "1pj4wnsw5a4ys79sqw68ib6zimaqlkplb89x6yncg949a6hj8516"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-atty" ,rust-atty-0.2)
|
||||
("rust-base64" ,rust-base64-0.13)
|
||||
("rust-chrono" ,rust-chrono-0.4)
|
||||
|
@ -1478,7 +1477,7 @@ (define-public krona-tools
|
|||
"ImportTaxonomy"
|
||||
"ImportText"
|
||||
"ImportXML"))
|
||||
(for-each
|
||||
(for-each
|
||||
(lambda (directory)
|
||||
(copy-recursively directory
|
||||
(string-append perl "/../" directory)))
|
||||
|
@ -6867,8 +6866,7 @@ (define-public castor
|
|||
(base32 "1l72r6a917ymc9pn8dllbal1xdczfai376nvqkiys5fm4j4s3zmj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? ,(not (%current-target-system))
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-parser" ,rust-ansi-parser-0.6)
|
||||
("rust-dirs" ,rust-dirs-2)
|
||||
("rust-gdk" ,rust-gdk-0.13)
|
||||
|
|
|
@ -75,7 +75,7 @@ (define %cargo-build-system-modules
|
|||
(define* (cargo-build name inputs
|
||||
#:key
|
||||
source
|
||||
(tests? #f)
|
||||
(tests? #t)
|
||||
(test-target #f)
|
||||
(vendor-dir "guix-vendor")
|
||||
(cargo-build-flags ''("--release"))
|
||||
|
|
Loading…
Reference in a new issue