Commit Graph

447 Commits

Author SHA1 Message Date
Maximilian Bosch 0558bb9f64
cargo-make: 0.30.8 -> 0.31.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.31.0
2020-06-07 17:09:35 +02:00
Frederik Rietdijk d0532e79ae Merge staging-next into staging 2020-06-07 09:25:46 +02:00
Mario Rodas c9ac490e86
Merge pull request #89698 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.6.7 -> 0.6.8
2020-06-06 18:04:51 -05:00
R. RyanTM d2be94c36e cargo-deny: 0.6.7 -> 0.6.8 2020-06-06 21:01:31 +00:00
Mario Rodas 02dd680c3f
Merge pull request #89591 from r-ryantm/auto-update/cargo-watch
cargo-watch: 7.3.0 -> 7.4.0
2020-06-06 08:36:14 -05:00
oxalica a3acf1572a
rust-analyzer: 2020-04-20 -> 2020-06-01 2020-06-06 21:18:58 +08:00
R. RyanTM efdab4bc6c cargo-watch: 7.3.0 -> 7.4.0 2020-06-06 04:03:24 +00:00
R. RyanTM 93dd2e4f6e cargo-udeps: 0.1.11 -> 0.1.12 2020-06-06 03:56:15 +00:00
Vladimír Čunát 677e3960b5
Merge #82342: rustPlatform: increase build-speed of `checkPhase`
...for rust-packages (into staging)
2020-06-05 09:12:30 +02:00
Maximilian Bosch 45e53a7658
cargo-make: 0.30.7 -> 0.30.8
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.8
2020-05-27 15:03:28 +02:00
Maximilian Bosch 6b23cfe689
rustPlatform: add `buildAndTestSubdir`-argument
There are several tarballs (such as the `rust-lang/rust`-source) with a
`Cargo.toml` at root and several sub-packages (with their own Cargo.toml)
without using workspaces[1].

In such a case it's needed to move into a subdir to only build the
specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts
are at `/target` in the root-dir of the build environment. This breaks
the build since `buildRustPackage` searches for executables in `target`
(which is at the build-env's root) at the end of the `buildPhase`.

With the optional `buildAndTestSubdir`-argument, the builder moves into
the specified subdir using `pushd`/`popd` during `buildPhase` and
`checkPhase`.

Also moved the logic to find executables and libs to the end of the `buildPhase`
from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures
such as `uutils-coreutils`.

[1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
2020-05-13 01:47:17 +02:00
Maximilian Bosch ee032804f8
cargo-make: 0.30.6 -> 0.30.7
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.7
2020-05-08 00:00:24 +02:00
Maximilian Bosch 01539e6f9a
cargo-deny: 0.6.6 -> 0.6.7
https://github.com/EmbarkStudios/cargo-deny/releases/tag/0.6.7
2020-05-06 23:50:37 +02:00
Andreas Rammhold c275bdbafc
Merge pull request #86731 from r-ryantm/auto-update/rust-cbindgen
rust-cbindgen: 0.13.2 -> 0.14.2
2020-05-04 14:56:13 +02:00
R. RyanTM d3531ea03d rust-cbindgen: 0.13.2 -> 0.14.2 2020-05-04 06:27:22 +00:00
Mario Rodas 1064426106
Merge pull request #86526 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.10 -> 0.1.11
2020-05-03 17:56:03 -05:00
Maximilian Bosch e678dadd07
cargo-xbuild: 0.5.28 -> 0.5.29
https://github.com/rust-osdev/cargo-xbuild/releases/tag/v0.5.29
2020-05-03 19:07:00 +02:00
R. RyanTM 45f542970d cargo-udeps: 0.1.10 -> 0.1.11 2020-05-02 04:14:06 +00:00
Maximilian Bosch 23b619559d
Merge pull request #86388 from matthiasbeyer/add-cargo-deny
cargo-deny: init at 0.6.6
2020-04-30 23:57:26 +02:00
Matthias Beyer 731eecbacb cargo-deny: init at 0.6.6
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-04-30 11:58:45 +02:00
Maximilian Bosch ee58c7a363
Merge pull request #82982 from cole-h/rust-cleanup
improve robustness of various Rust packages
2020-04-30 02:07:57 +02:00
Maximilian Bosch 2a77540f7f
cargo-make: 0.30.5 -> 0.30.6
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.6
2020-04-24 15:18:00 +02:00
xrelkd 94579ce01b cargo-expand: 0.5.0 -> 0.6.0 2020-04-24 09:40:43 +08:00
Jörg Thalheim 11019ea58f
Merge pull request #85243 from oxalica/rust-analyzer 2020-04-23 16:36:54 +01:00
oxalica a82fe46ae1
rust-analyzer: 2020-04-06 -> 2020-04-20 2020-04-23 17:11:04 +08:00
xrelkd fd580728d9 cargo-expand: 0.4.19 -> 0.5.0 2020-04-21 09:23:53 +08:00
Maximilian Bosch b7c3c3f5cc
cargo-make: 0.30.4 -> 0.30.5
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.5
2020-04-15 22:35:46 +02:00
Jörg Thalheim 418b24b133
Merge pull request #77752 from oxalica/rust-analyzer
rust-analyzer: init at unstable-2020-03-09
2020-04-14 10:19:59 +01:00
Cole Helbling 0cc340e132
rustracerd: improve robustness of installPhase 2020-04-12 14:06:08 -07:00
oxalica 8318c36a4b
vscode-extensions.rust-analyzer: use global NPM packages to share dependencies 2020-04-11 16:01:12 +08:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
oxalica f76a4950c5
rust-analyzer: 2020-03-16 -> 2020-04-06 2020-04-11 00:52:40 +08:00
oxalica fc8d2f426f
rust-analyzer: change to nix-prefetch and fix version checking in update script 2020-04-11 00:52:09 +08:00
Daniël de Kok 759ac32d9a maturin: 0.7.9 -> 0.8.0
Changelog:

https://github.com/PyO3/maturin/blob/v0.8.0/Changelog.md#080---2020-04-03
2020-04-10 09:55:26 +02:00
Maximilian Bosch 4e7eeb5aa9
Merge pull request #84813 from r-ryantm/auto-update/cargo-bloat
cargo-bloat: 0.9.2 -> 0.9.3
2020-04-09 16:47:08 +02:00
R. RyanTM fcd34e7e39 cargo-bloat: 0.9.2 -> 0.9.3 2020-04-09 13:43:55 +00:00
oxalica e33256ef24
Merge remote-tracking branch 'channels/nixos-unstable' into rust-analyzer 2020-04-08 14:22:56 +08:00
Maximilian Bosch 564af64783
cargo-make: 0.30.2 -> 0.30.4
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.3
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.4
2020-04-07 13:20:03 +02:00
Florian Klink 1eae7fb887 Revert "Revert "rust-cbindgen: 0.13.1 -> 0.13.2""
This reverts commit 09dde57e93.

Apparently, the rust-cbindgen bump wasn't the cause for the firefox
build error reported in https://github.com/NixOS/nixpkgs/pull/83247
(we could reproduce the build error even after
09dde57e93 applied).

For some reason it must have succeeded on hydra, as it's in the cache,
tricking us in believing 76458f89f4 broke
it initially.

So the build seems flaky of some sort - we haven't yet determined
whether it's luck, compiling with the right CPUs or something else. :-/

There's still some investigation to be done
(https://github.com/NixOS/nixpkgs/issues/84283), but no need to keep an
ineffective revert around.
2020-04-04 23:22:09 +02:00
Maximilian Bosch 268f71cfd7
cargo-make: 0.30.1 -> 0.30.2
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.2
2020-04-04 15:46:41 +02:00
Florian Klink 09dde57e93 Revert "rust-cbindgen: 0.13.1 -> 0.13.2"
This reverts commit 76458f89f4.

It was causing the firefox build to fail. See
https://github.com/NixOS/nixpkgs/pull/83247 for the discussion.
2020-04-04 02:23:33 +02:00
Benjamin Hipple ea8845487e
Merge pull request #83247 from r-ryantm/auto-update/rust-cbindgen
rust-cbindgen: 0.13.1 -> 0.13.2
2020-04-02 14:44:24 -04:00
R. RyanTM 7b07a07e37 cargo-expand: 0.4.18 -> 0.4.19 2020-04-01 09:21:57 +00:00
Daniël de Kok d4152d0205 cargo-asm: 0.1.17 -> 2019-12-24
cargo-asm hasn't seen any new releases since 2018 (and even then
it was spotty). But there have been improvements since then, so
switch to dated releases that use a working git commit.
2020-03-29 14:11:07 +02:00
Maximilian Bosch 5a7d2e18fe
cargo-make: 0.30.0 -> 0.30.1
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.1
2020-03-28 17:11:24 +01:00
R. RyanTM 76458f89f4 rust-cbindgen: 0.13.1 -> 0.13.2 2020-03-23 21:43:02 +00:00
Maximilian Bosch 2c7299fc1c
cargo-make: 0.29.0 -> 0.30.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.0
2020-03-23 18:31:08 +01:00
Maximilian Bosch 684c340149
Merge pull request #83027 from r-ryantm/auto-update/cargo-expand
cargo-expand: 0.4.17 -> 0.4.18
2020-03-21 01:34:54 +01:00
R. RyanTM cdf418e850 cargo-expand: 0.4.17 -> 0.4.18 2020-03-20 21:04:25 +00:00
Maximilian Bosch 4726a8f2d4
cargo-make: 0.28.0 -> 0.29.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.29.0
2020-03-19 16:54:50 +01:00
oxalica bde9289415
rust-analyzer: check compatibility in update script 2020-03-17 17:56:26 +08:00
oxalica 4f12275a06
rust-analyzer: 2020-03-09 -> 2020-03-16
vscode-extensions.rust-analyzer: 2020-03-09 -> 2020-03-16
2020-03-17 17:08:02 +08:00
Benjamin Hipple 0ab1692b59 rust-cbindgen: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-03-15 18:19:55 -04:00
Fabian Möller 1e5a151ac5 cargo-udeps: 0.1.9 -> 0.1.10 2020-03-14 15:48:46 -07:00
Vladyslav M 1f8127d2ab
Merge pull request #82498 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.7 -> 0.1.9
2020-03-14 20:43:13 +02:00
Alyssa Ross 6cea0daaa9 rustracerd: build with current rust
Fix taken from https://github.com/jwilm/racerd/pull/82.  It just
updates a dependency.
2020-03-14 16:55:06 +00:00
R. RyanTM c106a4f926 cargo-udeps: 0.1.7 -> 0.1.9 2020-03-13 16:04:16 +00:00
Ryan Mulligan 96b48af4ab
Merge pull request #82384 from r-ryantm/auto-update/rust-bindgen
rust-bindgen: 0.53.1 -> 0.53.2
2020-03-12 10:33:18 -07:00
R. RyanTM 19fdac26c4 rust-bindgen: 0.53.1 -> 0.53.2 2020-03-12 06:10:16 +00:00
Benjamin Hipple cd8c987fbc rainicorn: remove broken package that has been abandoned upstream
The upstream project is dead, with the last commit being in 2016:
https://github.com/RustDT/Rainicorn

This no longer builds in NixPkgs, and has been marked as broken for a very long
time. Since the package is not maintained and is dead upstream, let's delete.
2020-03-11 23:51:41 +00:00
oxalica b0a4ce1689
vscode-extensions.rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:40 +08:00
oxalica 3ea54e6972
rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:35 +08:00
Mario Rodas e3e964b857
Merge pull request #82121 from bhipple/u/rust-cargo-rustracer
rustracer: upgrade cargo fetcher and cargoSha256
2020-03-09 07:59:12 -05:00
Mario Rodas 5e3a6d7a7e
Merge pull request #82116 from bhipple/u/rust-cargo-rustracerd
rustracerd: upgrade cargo fetcher and cargoSha256
2020-03-09 07:58:52 -05:00
Benjamin Hipple 6ea0cad714 rustracer: upgrade cargo fetcher and cargoSha256 2020-03-09 00:10:59 -04:00
Benjamin Hipple b20aaf3e7a rustracerd: upgrade cargo fetcher and cargoSha256 2020-03-08 23:32:15 -04:00
Benjamin Hipple 288561cd58 svd2rust: upgrade cargo fetcher and cargoSha256 2020-03-08 22:29:14 -04:00
Benjamin Hipple 0696641d9f
cargo-raze: upgrade cargo fetcher and cargoSha256 (#82091) 2020-03-08 22:15:25 -04:00
Mario Rodas ec99107633
Merge pull request #81961 from danieldk/maturin-0.7.9
maturin: 0.7.6 -> 0.7.9
2020-03-08 21:07:04 -05:00
Benjamin Hipple 0757551d3c
cargo-geiger: upgrade cargo fetcher and cargoSha256 (#82087) 2020-03-08 21:06:49 -04:00
Benjamin Hipple 1cc9cb7ea1
cargo-make: remove unnecessary attribute (#82071)
The default value when left unspecified is now false, so no need to state this explicitly.
2020-03-08 19:26:19 -04:00
Daniël de Kok b446413aa6 maturin: 0.7.6 -> 0.7.9
Changelog:
https://github.com/PyO3/maturin/blob/master/Changelog.md
2020-03-07 08:21:10 +01:00
Frederik Rietdijk 188c3a4d03 Merge staging-next into staging 2020-03-06 07:09:30 +01:00
Maximilian Bosch aeee7de22b
cargo-xbuild: 0.5.24 -> 0.5.28 2020-03-04 22:10:54 +01:00
Jan Tojnar 1a44e325d2
Merge branch 'staging-next' into staging 2020-03-04 21:24:05 +01:00
Mario Rodas 4743f3f5a0
Merge pull request #81391 from bhipple/u/rust-cargo-cargo-inspect
cargo-inspect: upgrade cargo fetcher and cargoSha256
2020-02-29 20:08:54 -05:00
Mario Rodas 4d9c956d61
Merge pull request #81392 from bhipple/u/rust-cargo-cargo-watch
cargo-watch: upgrade cargo fetcher and cargoSha256
2020-02-29 20:08:21 -05:00
Mario Rodas a321e456e8
Merge pull request #81397 from bhipple/u/rust-cargo-rustup
rustup: upgrade cargo fetcher and cargoSha256
2020-02-29 19:26:57 -05:00
Mario Rodas b87653fd70
Merge pull request #81390 from bhipple/u/rust-cargo-cargo-xbuild
cargo-xbuild: upgrade cargo fetcher and cargoSha256
2020-02-29 19:25:49 -05:00
Mario Rodas 7b8d14178b
Merge pull request #81394 from bhipple/u/rust-cargo-cargo-udeps
cargo-udeps: upgrade cargo fetcher and cargoSha256
2020-02-29 18:30:11 -05:00
Mario Rodas 4bccbf09ec
Merge pull request #81393 from bhipple/u/rust-cargo-cargo-fuzz
cargo-fuzz: upgrade cargo fetcher and cargoSha256
2020-02-29 18:22:37 -05:00
Benjamin Hipple c3ed8a0e40 rustup: upgrade cargo fetcher and cargoSha256 2020-02-29 12:47:03 -05:00
Benjamin Hipple a666cda22a cargo-udeps: upgrade cargo fetcher and cargoSha256 2020-02-29 12:34:00 -05:00
Benjamin Hipple a169f4d500 cargo-fuzz: upgrade cargo fetcher and cargoSha256 2020-02-29 12:15:02 -05:00
Benjamin Hipple 0f5520dc02 cargo-watch: upgrade cargo fetcher and cargoSha256 2020-02-29 12:10:09 -05:00
Benjamin Hipple cfa3100d18 cargo-inspect: upgrade cargo fetcher and cargoSha256 2020-02-29 12:06:27 -05:00
Benjamin Hipple ad1d08c7fc cargo-xbuild: upgrade cargo fetcher and cargoSha256 2020-02-29 11:58:37 -05:00
Benjamin Hipple ac8cadac23 cargo-generate: upgrade cargo fetcher and cargoSha256 2020-02-29 11:32:43 -05:00
Frederik Rietdijk 21b808cd76 Merge staging-next into staging 2020-02-29 15:29:45 +01:00
Benjamin Hipple ad30a30488 rustPlatform.fetchCargo: handle custom Cargo.lock patchfiles with validation
Previously, we would asssert that the lockfiles are consistent during the
unpackPhase, but if the pkg has a patch for the lockfile itself then we must
wait until the patchPhase is complete to check.

This also removes an implicity dependency on the src attribute coming from
`fetchzip` / `fetchFromGitHub`, which happens to name the source directory
"source". Now we glob for it, so different fetchers will work consistently.
2020-02-28 18:54:23 -08:00
Maximilian Bosch 096691a787
cargo-crev: 0.16.0 -> 0.16.1 2020-02-28 22:46:27 +01:00
Maximilian Bosch 29b495d4d7
cargo-make: 0.27.0 -> 0.28.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.28.0
2020-02-27 20:31:39 +01:00
Konrad Borowski 6637f1cac6 cargo-geiger: fix build with rust 1.41 2020-02-18 11:46:50 +01:00
Benjamin Hipple 805db0db45 maturin: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; ran `nixpkgs-review wip` successfully.
2020-02-16 16:23:11 -05:00
Daniel Schaefer dc5c581549
Merge pull request #80241 from bhipple/u/rust-cargo-cargo-asm
cargo-asm: upgrade cargo fetcher and cargoSha256
2020-02-16 13:45:32 +01:00
Benjamin Hipple 16eb59cecb rust-bindgen: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-16 01:08:34 -08:00
Benjamin Hipple f5578dc61d cargo-expand: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 22:23:23 -08:00
Benjamin Hipple 777c1dda59 cargo-sweep: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 22:12:37 -08:00
Benjamin Hipple d47970b2f8 cargo-bloat: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 21:57:43 -08:00
Benjamin Hipple 71a97479b5 cargo-asm: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 23:33:58 -05:00