Commit Graph

742 Commits

Author SHA1 Message Date
Jan Tojnar
913394a1d9
Merge branch 'staging-next' into staging 2021-03-01 19:30:56 +01:00
Sandro
82f8784f6a
Merge pull request #114728 from humancalico/cargo-criterion
cargo-criterion: init at 1.0.0
2021-03-01 18:33:47 +01:00
Sandro
3b23771fcd
Merge pull request #114713 from figsoda/cargo-play 2021-03-01 17:47:20 +01:00
Sandro
21afc45829
Merge pull request #114746 from jorsn/crate2nix-0.9.0
crate2nix: 0.8.0 -> 0.9.0
2021-03-01 15:43:56 +01:00
figsoda
a01cffac18 cargo-play: init at 0.5.0 2021-03-01 07:30:26 -05:00
Johannes Rosenberger
220e13292a crate2nix: 0.8.0 -> 0.9.0 2021-03-01 13:02:17 +01:00
Bastian Köcher
d8ce2df744
rust-analyzer: 2021-02-22 -> 2021-03-01 2021-03-01 12:21:10 +01:00
Akshat Agarwal
1a96fcd85f
cargo-criterion: init at 1.0.0
Signed-off-by: Akshat Agarwal <humancalico@disroot.org>
2021-03-01 15:38:19 +05:30
R. RyanTM
01e87f9e3c cargo-deny: 0.8.7 -> 0.8.8 2021-02-28 09:15:16 +00:00
R. RyanTM
d02915f5f1 cargo-crev: 0.19.0 -> 0.19.1 2021-02-28 09:09:59 +00:00
Robert Schütz
54757b35c1 Merge branch 'staging-next' into staging 2021-02-26 10:56:17 +01:00
Martin Weinelt
d9ff1b4a4d
rust-cbindgen: 0.15.0 -> 0.17.0
https://github.com/eqrion/cbindgen/releases/tag/v0.16.0
https://github.com/eqrion/cbindgen/releases/tag/v0.17.0
2021-02-24 15:06:49 +01:00
Mario Rodas
2bb1d0b958
Merge pull request #114053 from r-ryantm/auto-update/cargo-crev
cargo-crev: 0.18.1 -> 0.19.0
2021-02-23 20:17:15 -05:00
Sandro
83951a3da2
Merge pull request #113566 from danieldk/maturin-test 2021-02-23 21:21:43 +01:00
R. RyanTM
8f03790923 cargo-crev: 0.18.1 -> 0.19.0 2021-02-23 01:22:15 +00:00
oxalica
0ca2e7d621
rust-analyzer: 2021-02-15 -> 2021-02-22 2021-02-22 20:00:24 +08:00
Sandro
d72bb55874
Merge pull request #113847 from otavio/upgrade-pkgs-2021-02-20 2021-02-22 01:39:46 +01:00
Otavio Salvador
882d0f0659 cargo-limit: 0.0.5 -> 0.0.6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-02-20 21:04:41 -03:00
R. RyanTM
06e8cbf83f cargo-deny: 0.8.5 -> 0.8.7 2021-02-20 19:03:27 +00:00
Daniël de Kok
cb57f80732 maturin: 0.9.3 -> 0.9.4
Changelog:
https://github.com/PyO3/maturin/blob/v0.9.4/Changelog.md#094---2021-02-18
2021-02-19 06:54:14 +01:00
Michael Weiss
a1aec6be0b
cargo-c: 0.7.2 -> 0.7.3 2021-02-18 19:06:36 +01:00
Daniël de Kok
2e76fa453f maturin: add passthru test that uses maturinBuildHook
The test builds the PyO3 word_count example module using
maturinBuildHook. The motivation is to have a trivial test that does
not regress for reasons unrelated to maturin or hook updates.
2021-02-18 09:17:28 +01:00
Daniël de Kok
a623c1e773 maturin: 0.9.1 -> 0.9.3
Changelog:

https://github.com/PyO3/maturin/blob/master/Changelog.md#092---2021-02-17
2021-02-17 13:34:41 +01:00
oxalica
e58c6f5f42
rust-analyzer: 2021-02-08 -> 2021-02-15 2021-02-15 21:53:06 +08:00
Ivan Babrou
9a858b6305 cargo-whatfeatures: init at 0.9.6 2021-02-14 11:50:21 -08:00
Maximilian Bosch
c99e3bbac0
Merge pull request #113061 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.17 -> 0.1.18
2021-02-14 17:31:35 +01:00
Daniël de Kok
cbc5852d20
maturin: 0.9.0 -> 0.9.1 (#113033) 2021-02-14 03:24:18 +01:00
R. RyanTM
bbb853d884 cargo-udeps: 0.1.17 -> 0.1.18 2021-02-13 23:23:02 +00:00
Daniël de Kok
bbb28ccf1a maturin: remove (now) unused gmp and openssl buildInputs 2021-02-12 10:56:55 +01:00
Daniël de Kok
825ce379a8 maturin: reformat, use hash/cargoHash 2021-02-12 10:56:45 +01:00
Daniël de Kok
2596df2322 maturin: take Security as an argument, rather than darwin 2021-02-12 10:45:00 +01:00
Daniël de Kok
ab81a6cb45 maturin: replace name by pname 2021-02-11 15:04:30 +01:00
R. RyanTM
622874181b cargo-generate: 0.5.2 -> 0.5.3 2021-02-09 07:37:20 +00:00
oxalica
cad9457feb
rust-analyzer: 2021-02-01 -> 2021-02-08 2021-02-08 20:04:09 +08:00
R. RyanTM
ffa4b9d614 cargo-generate: 0.5.1 -> 0.5.2 2021-02-06 08:53:10 +00:00
R. RyanTM
0b972de1dd cargo-make: 0.32.11 -> 0.32.12 2021-02-03 10:43:15 +00:00
oxalica
6c2b3f0cc2
rust-analyzer: 2021-01-25 -> 2021-02-01 2021-02-02 00:04:19 +08:00
Ben Siraphob
7ff2c85a8e cargo-valgrind: stdenv.lib -> lib 2021-01-30 17:22:11 +07:00
Sandro
fb6564959f
Merge pull request #109917 from greizgh/sqlx-cli 2021-01-30 02:20:16 +01:00
Michael Weiss
2c0b72cae5
cargo-c: 0.7.1 -> 0.7.2 2021-01-29 18:12:47 +01:00
Oleksii Filonenko
e32327fde7
Merge pull request #111149 from r-ryantm/auto-update/cargo-cache
cargo-cache: 0.6.0 -> 0.6.1
2021-01-29 14:03:26 +02:00
R. RyanTM
638791d7ba cargo-cache: 0.6.0 -> 0.6.1 2021-01-29 11:22:53 +00:00
Daniël de Kok
33484a20ce
Merge pull request #111086 from otavio/upgrade/cargo-limit
cargo-limit: 0.0.4 -> 0.0.5
2021-01-29 08:54:59 +01:00
Mario Rodas
adf172578f
Merge pull request #111066 from r-ryantm/auto-update/cargo-make
cargo-make: 0.32.10 -> 0.32.11
2021-01-28 23:21:07 -05:00
R. RyanTM
3861ecdad2 cargo-udeps: 0.1.16 -> 0.1.17 2021-01-28 23:01:34 +00:00
R. RyanTM
a68106e1f7 cargo-make: 0.32.10 -> 0.32.11 2021-01-28 22:49:09 +00:00
Otavio Salvador
9af0b2fa37 cargo-limit: 0.0.4 -> 0.0.5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-01-28 19:18:23 -03:00
Otavio Salvador
06f62809cb cargo-limit: init at 0.0.4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-01-27 21:25:10 -03:00
Otavio Salvador
ad5cda7d20 cargo-valgrind: init at 1.3.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-01-27 14:25:24 -08:00
Badi Abdul-Wahid
9afe3525f3 rust-analyzer: 2021-01-18 -> 2021-01-25 2021-01-26 22:16:05 -08:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
R. RyanTM
02380d7d7c maturin: 0.8.3 -> 0.9.0 2021-01-24 10:29:26 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Greizgh
f54456ed96 sqlx-cli: init at 0.2.0 2021-01-22 19:11:20 +01:00
Oleksii Filonenko
65a6c52178
Merge pull request #110377 from r-ryantm/auto-update/cargo-cache
cargo-cache: 0.5.1 -> 0.6.0
2021-01-22 12:23:26 +02:00
Christian Kögler
23b0a88572 rust-bindgen: Resolve "/usr/bin/env bash" to fix usage in Nix build 2021-01-21 20:16:58 +01:00
R. RyanTM
4f3e9c9ca8 cargo-cache: 0.5.1 -> 0.6.0 2021-01-21 18:34:21 +00:00
oxalica
af2a8552a0
rust-analyzer: 2021-01-04 -> 2021-01-18 2021-01-19 22:06:30 +08:00
Sandro
2c6a64dda5
Merge pull request #108410 from Stupremee/add/cargo-binutils 2021-01-19 12:26:00 +01:00
Justus K
a299826a27
cargo-binutils: init at 0.3.3 2021-01-19 10:55:54 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Maximilian Bosch
8030f2191a
Merge pull request #109741 from r-ryantm/auto-update/cargo-crev
cargo-crev: 0.18.0 -> 0.18.1
2021-01-18 14:48:02 +01:00
Maximilian Bosch
a4d6e2cdb5
Merge pull request #109742 from r-ryantm/auto-update/cargo-make
cargo-make: 0.32.9 -> 0.32.10
2021-01-18 13:40:56 +01:00
R. RyanTM
04f6766699 cargo-make: 0.32.9 -> 0.32.10 2021-01-18 12:02:39 +00:00
R. RyanTM
5ad404f50f cargo-crev: 0.18.0 -> 0.18.1 2021-01-18 11:54:04 +00:00
R. RyanTM
856d019ece cargo-wipe: 0.3.0 -> 0.3.1 2021-01-18 05:55:51 +00:00
Sandro
a3d00ab33e
Merge pull request #94367 from matthiasbeyer/update-cargo-deny 2021-01-18 01:36:20 +01:00
Sandro
842e808a69
Merge pull request #109591 from baloo/baloo/cargo-readme/initial
cargo-readme: init at 3.2.0
2021-01-18 00:31:11 +01:00
Arthur Gautier
75658b374b cargo-readme: init at 3.2.0
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-01-17 22:47:48 +00:00
Michael Weiss
5d9a3e2e5a
cargo-c: 0.7.0 -> 0.7.1 2021-01-17 12:59:26 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
oxalica
4c247d7729
rust-analyzer: 2020-11-09 -> 2021-01-04 2021-01-07 03:16:02 +08:00
oxalica
44a8cf19b1
rust-analyzer: fix update script 2021-01-05 23:37:09 +08:00
Maximilian Bosch
61b8a2c720
rustracer: 2.1.35 -> 2.1.40, fix build
Failing build: https://hydra.nixos.org/build/134175791
ChangeLog: https://github.com/racer-rust/racer/blob/v2.1.40/CHANGELOG.md

A few more things are worth noting:

* It's not possible to update to latest version (2.1.42) at the time of
  committing since this requires a newer `rustc` (1.51 to be precise) to
  compile.
* For proper completion, `rustLibSrc` rather than `rustcSrc` must be
  used now. The two were separated here previously[1].
* Dropped the `checkPhase` and replaced it with a list of `checkFlags`.
  This has the benefit that the default `checkPhase` from
  `buildRustPackage` can be used which properly configures parallelism
  and which target to use (i.e. `release` in this case which reduces
  build time).

[1] 68060f6f6f
2021-01-04 21:20:42 +01:00
Maximilian Bosch
2e811acdce
Merge pull request #108279 from otavio/new-pkgs/cargo-wipe
cargo-wipe: init at 0.3.0
2021-01-03 14:56:12 +01:00
Otavio Salvador
95d7fc7530 cargo-wipe: init at 0.3.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-01-02 22:26:17 -03:00
Matthias Beyer
4b987925cf cargo-deny: Disable tests
Because nobody told me how to add the missing cargo-metadata command to
the test environment and the PR for updating this package is almost
half a year old, disable tests now.

Hopefully someone will step up and fix this, but I doubt it.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-29 21:13:40 +01:00
Matthias Beyer
9a550661a7 cargo-deny: 0.8.4 -> 0.8.5
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-29 21:13:40 +01:00
Matthias Beyer
5f9b236728 Cargo-deny: 0.8.2 -> 0.8.4
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-29 21:13:40 +01:00
Matthias Beyer
4689c606e7 cargo-deny: 0.7.3 -> 0.8.2
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-29 21:13:40 +01:00
Matthias Beyer
9cd2b88942 cargo-deny: 0.7.2 -> 0.7.3
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-29 21:13:39 +01:00
Matthias Beyer
e0eca243bd cargo-deny: 0.7.0 -> 0.7.2 2020-12-29 21:13:39 +01:00
Michael Weiss
4454fecc85
cargo-c: 0.6.18 -> 0.7.0 2020-12-21 15:13:35 +01:00
Eduard-Mihai Burtescu
dfc4b9d107 rustup: 1.22.1 -> 1.23.1 2020-12-09 12:49:11 +00:00
Evan Stoll
8949b189a6 cargo-geiger: 0.9.1 -> 0.10.2
* Remove cargo-lock.patch
  * Upstream crate now compiles fine without patch

* Use cargo-insta for testing
  * Using cargo-insta for testing, we can now run the test suite without
    skipping any tests
2020-12-07 10:57:14 -05:00
Andreas Rammhold
29e607d041 rust-cbindgen: drop my maintainership
I only picked this up as a result of caring for Firefox. I am not
interested in this anymore.
2020-12-06 21:24:50 +01:00
Patrick Hilhorst
a6b3bb24e4
treewide: ran ./maintainers/scripts/update_redirected_urls.sh 2020-11-27 01:23:57 +01:00
R. RyanTM
0bc520c799 cargo-expand: 1.0.0 -> 1.0.4 2020-11-25 23:46:40 +00:00
Michael Weiss
c8d1e5d3d3
cargo-c: 0.6.15 -> 0.6.18 2020-11-23 19:31:02 +01:00
R. RyanTM
264250f6e1 cargo-udeps: 0.1.15 -> 0.1.16 2020-11-21 17:26:57 +00:00
Andreas Rammhold
48d4b84f40
Merge pull request #104027 from cole-h/crate2nix
crate2nix: init at 0.8.0
2020-11-17 22:23:27 +01:00
Cole Helbling
011ecb8f90
crate2nix: init at 0.8.0
crate2nix is a tool that "generates nix build files for rust crates
using cargo".

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-11-17 08:13:04 -08:00
Oleksii Filonenko
512c3c0a05 maintainers: rename filalex77 -> Br1ght0ne 2020-11-17 13:09:31 +02:00
R. RyanTM
b48a9f05bf cargo-make: 0.32.8 -> 0.32.9 2020-11-10 23:33:45 +00:00
oxalica
4894ffd620
rust-analyzer: 2020-11-02 -> 2020-11-09 2020-11-09 20:33:37 +08:00
oxalica
d52578bd31
rust-analyzer: fix update script with unstable nix 2020-11-09 20:33:23 +08:00
oxalica
68060f6f6f
makeRustPlatform: add rustLibSrc
rust-analyzer: rustcSrc -> rustLibSrc to fix build
2020-11-07 01:42:27 +08:00
oxalica
7ac7ce8b1a
rust-analyzer: 2020-10-19 -> 2020-11-02 2020-11-07 01:29:51 +08:00
Maximilian Bosch
8051411322
cargo-make: 0.32.7 -> 0.32.8
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.8
2020-11-06 13:45:12 +01:00
Maximilian Bosch
ba0edab62c
Merge pull request #101347 from r-ryantm/auto-update/cargo-bloat
cargo-bloat: 0.9.3 -> 0.10.0
2020-10-22 15:53:26 +02:00
R. RyanTM
667d15376e cargo-bloat: 0.9.3 -> 0.10.0 2020-10-22 10:15:29 +00:00
R. RyanTM
37677080be rust-cbindgen: 0.14.4 -> 0.15.0 2020-10-22 04:38:10 +00:00
Yuki Okushi
afc8027dde rust-bindgen: 0.54.1 -> 0.55.1 2020-10-20 09:09:13 -07:00
oxalica
dc12101886 rust-analyzer: 2020-10-12 -> 2020-10-19 2020-10-19 13:26:54 -07:00
Maximilian Bosch
903a9131d9
Merge pull request #100874 from r-ryantm/auto-update/cargo-crev
cargo-crev: 0.17.0 -> 0.18.0
2020-10-19 21:38:28 +02:00
Mario Rodas
76f0500e53
Merge pull request #100878 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.14 -> 0.1.15
2020-10-18 09:08:49 -05:00
Mario Rodas
401f773437
Merge pull request #100876 from r-ryantm/auto-update/cargo-make
cargo-make: 0.32.4 -> 0.32.7
2020-10-18 09:08:33 -05:00
R. RyanTM
0aaec7505b cargo-udeps: 0.1.14 -> 0.1.15 2020-10-17 21:09:29 +00:00
R. RyanTM
fe8107ceae cargo-make: 0.32.4 -> 0.32.7 2020-10-17 21:00:40 +00:00
R. RyanTM
f5a0522148 cargo-crev: 0.17.0 -> 0.18.0 2020-10-17 20:40:16 +00:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Michael Weiss
bda9a7a431
cargo-c: 0.6.13 -> 0.6.15 2020-10-15 20:13:23 +02:00
oxalica
c652646390 rust-analyzer: 2020-10-05 -> 2020-10-12 2020-10-13 20:01:37 -07:00
Yuki Okushi
dd9f035384 cargo-xbuild: 0.6.0 -> 0.6.2 2020-10-11 21:07:15 +09:00
oxalica
714abbc5f5
rust-analyzer: 2020-09-28 -> 2020-10-05 2020-10-06 16:38:38 +08:00
Mario Rodas
4c9017e4b0
Merge pull request #98687 from r-ryantm/auto-update/cargo-generate
cargo-generate: 0.5.0 -> 0.5.1
2020-10-02 23:55:48 -05:00
oxalica
7d32577544
rust-analyzer: 2020-09-21 -> 2020-09-28 2020-09-29 23:19:02 +08:00
R. RyanTM
7963a561fa cargo-generate: 0.5.0 -> 0.5.1 2020-09-24 20:18:25 +00:00
Ryan Mulligan
5b61492080
Merge pull request #68670 from B4dM4n/cargo-sync-readme
cargo-sync-readme: init at 1.0
2020-09-23 18:46:17 -07:00
oxalica
21a6f3aa65 rust-analyzer: fix build 2020-09-21 10:55:15 -07:00
oxalica
0e0dc5544c rust-analyzer: 2020-08-24 -> 2020-09-21 2020-09-21 10:55:15 -07:00
Michael Weiss
3ea949714d cargo-c: 0.6.7 -> 0.6.13 2020-09-10 12:27:20 +02:00
R. RyanTM
8741611e58 cargo-udeps: 0.1.13 -> 0.1.14 2020-09-04 05:35:42 +00:00
Tobias Happ
b2679e8b41 rustup: add zlib as runtime dependency
Fixes https://github.com/NixOS/nixpkgs/issues/92946.
2020-09-02 10:57:35 -07:00
R. RyanTM
f12217c366 rust-cbindgen: 0.14.3 -> 0.14.4 2020-08-31 18:10:06 -07:00
Maximilian Bosch
19c3507ab1
cargo-make: 0.32.3 -> 0.32.4
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.4
2020-08-29 22:51:35 +02:00
Lassulus
e021b8eea9
Merge pull request #96164 from fooker/master
Init cargo-embed and cargo-flash at 0.8.0
2020-08-29 13:51:07 +02:00
Dustin Frisch
61c25dfb1b
cargo-flash: init at 0.8.0 2020-08-29 12:54:58 +02:00
Dustin Frisch
ca644f966d
cargo-embed: init at 0.8.0 2020-08-29 12:54:29 +02:00
Maximilian Bosch
96d72aa488
cargo-make: 0.32.2 -> 0.32.3
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.3
2020-08-28 15:29:17 +02:00
oxalica
a445a22b3a
rust-analyzer: 2020-08-17 -> 2020-08-24 2020-08-24 22:39:39 +08:00
Mario Rodas
b2d4ba7f1e
cargo-fuzz: disable tests
tests require rustc nightly
2020-08-20 04:20:00 -05:00
Fabian Möller
b38f39fc00
cargo-sync-readme: init at 1.0 2020-07-30 15:29:31 +02:00
Maximilian Bosch
390ce60d49
rustracer: 2.1.33 -> 2.1.35
ChangeLog: https://github.com/racer-rust/racer/blob/master/CHANGELOG.md#2135
Updating to 2.1.36[1] isn't possible as it'd require latest nightly
Rust.

[1] https://crates.io/crates/racer/2.1.36
2020-07-26 11:32:40 +02:00
Vladimír Čunát
7a5c6fee0f
Merge branch 'master' into staging-next
Some rebuilds, e.g. all of haskell.
Hydra nixpkgs: ?compare=1601713
2020-07-22 08:37:19 +02:00
R. RyanTM
58c2a5f4fe cargo-udeps: 0.1.12 -> 0.1.13 2020-07-20 03:05:36 +00:00
Vladimír Čunát
4244b73917
Merge branch 'master' into staging 2020-07-18 17:50:23 +02:00
Mario Rodas
05dc6afb08
Merge pull request #93285 from r-ryantm/auto-update/cargo-fuzz
cargo-fuzz: 0.5.4 -> 0.8.0
2020-07-16 21:46:13 -05:00
R. RyanTM
35f96e6c7b cargo-fuzz: 0.5.4 -> 0.8.0 2020-07-16 17:06:23 +00:00
Florian Klink
ba20bc872f
Merge pull request #93128 from Ma27/fix-rust-build-flags
rust: Fix build flags
2020-07-16 12:47:26 +02:00
R. RyanTM
466562c3e0 cargo-expand: 0.6.0 -> 0.6.4 2020-07-16 02:38:04 +00:00
Maximilian Bosch
7713fba8f8
Revert "buildRustPackage: fix cargoBuildFlags"
This reverts commit deb78151a9.

Mixing up two distinct phases of a derivation's build is not a good idea. See
also https://github.com/NixOS/nixpkgs/pull/91689#issuecomment-657813954.
2020-07-14 17:39:09 +02:00
oxalica
26de7b3711
rust-analyzer: disable install check due to #93119 2020-07-14 21:51:50 +08:00
oxalica
ddacdbc953
rust-analyzer: fix version display and add check 2020-07-14 20:15:55 +08:00
oxalica
c90e6dd06d
rust-analyzer: 2020-06-08 -> 2020-07-13 2020-07-14 20:15:55 +08:00
oxalica
1cb300ac2a
rust-analyzer: fix update script and avoid updating nodePackages if possible 2020-07-14 19:02:04 +08:00
Maximilian Bosch
514afd26bc
rustracer: 2.1.30 -> 2.1.33, fix build
ChangeLog: https://github.com/racer-rust/racer/blob/v2.1.33/CHANGELOG.md#2132
Broken build: https://hydra.nixos.org/build/123837796

Please note that I intentionally didn't bump to `2.1.35` since it
requires nightly features. `2.1.33` is the latest version which supports
our current `rustc`-version (1.44.1) on nixpkgs `master`.

Closes #89481
2020-07-13 22:46:22 +02:00
Vladimír Čunát
377324ca6d
Merge branch 'staging-next' (PR #91090) 2020-07-13 07:13:56 +02:00
Daniël de Kok
4c40111f1d maturin: 0.8.1 -> 0.8.2
The changelog is not updated, so this has to do:

https://github.com/PyO3/maturin/compare/v0.8.1...v0.8.2
2020-07-12 07:26:44 +02:00
Daniël de Kok
e8d7851e00
Merge pull request #92943 from minijackson/cargo-inspect-0.10.3
cargo-inspect: 0.10.1 -> 0.10.3
2020-07-11 20:09:27 +02:00
Minijackson
ca343e5398
cargo-inspect: 0.10.1 -> 0.10.3 2020-07-11 18:26:40 +02:00
Frederik Rietdijk
ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
R. RyanTM
0d68512749 rustup: 1.21.1 -> 1.22.1 2020-07-11 01:11:05 +00:00
Jan Tojnar
4bca7dfb27
Merge branch 'master' into staging-next 2020-07-04 23:59:32 +02:00
Maximilian Bosch
67a1c36929
cargo-watch: 7.4.1 -> 7.5.0
https://github.com/passcod/cargo-watch/releases/tag/v7.5.0

Also fixes the `aarch64`-build: https://hydra.nixos.org/build/123187262
2020-07-04 23:13:30 +02:00
Vladimír Čunát
e1206a2129
Merge master into staging-next
This brings thousands of rebuilds.
Hydra nixpkgs: ?compare=1597944
2020-07-04 09:15:27 +02:00
Maximilian Bosch
db0540d178
cargo-make: fix darwin build
https://hydra.nixos.org/build/123569405
2020-07-03 23:10:36 +02:00
Maximilian Bosch
873e21190e
cargo-make: 0.31.1 -> 0.32.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.0
2020-07-03 14:28:46 +02:00
Flakebi
deb78151a9 buildRustPackage: fix cargoBuildFlags
When features were supplied in cargoBuildFlags, the binaries were built
with these features enabled. Unless checking was disabled, `cargo test`
was executed without these build flags, meaning the binaries were
rebuilt and overwritten without the specified features.

Fix this bug by running tests after the installation phase.
2020-07-03 08:53:57 +10:00
R. RyanTM
dc5a3f9f13 rust-cbindgen: 0.14.2 -> 0.14.3 2020-07-02 10:33:07 -07:00
Maximilian Bosch
2101f7361c
cargo-make: 0.31.0 -> 0.31.1
https://github.com/sagiegurari/cargo-make/releases/tag/0.31.1
2020-06-26 14:54:49 +02:00
Daniël de Kok
e1c0d36381
Merge pull request #91536 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.6.8 -> 0.7.0
2020-06-26 08:49:35 +02:00
R. RyanTM
fce7543afa cargo-deny: 0.6.8 -> 0.7.0 2020-06-26 04:18:44 +00:00
Daniël de Kok
1e5b480e8b maturin: 0.8.0 -> 0.8.1
- Supports `sdist-include = ["path/**/*"]` to include arbitrary files
  in source distributions
- Fixes Cargo.lock
- Updates some dependencies
2020-06-25 17:25:37 +02:00
Jade Harley
05b765d299 (rustup): (add zlib to rpath in rustup libraries)
(Rust now has a dynamic library dependence on zlib. (see https://github.com/rust-lang/rust/pull/72696))
2020-06-22 21:23:01 -05:00
Florian Klink
f761f29bd3
Merge pull request #90211 from lovesegfault/r-a-bump
rust-analyzer: 2020-06-01 -> 2020-06-08
2020-06-18 20:39:16 +02:00
oxalica
030fd3ca0c
cargo-insta: strip unused variable 2020-06-18 20:49:20 +08:00
oxalica
71c0dbd5a4
cargo-insta: init at 0.16.0 2020-06-18 19:13:04 +08:00
Bernardo Meurer
d55e70b7cd rust-analyzer: 2020-06-01 -> 2020-06-08 2020-06-12 15:55:44 -07:00
Vladimír Čunát
13add13388
Merge branch 'master' into staging-next
... to resolve a trivial conflict in libpcap.
2020-06-10 20:00:44 +02:00
Maximilian Bosch
879202bf37
Merge pull request #89905 from r-ryantm/auto-update/cargo-watch
cargo-watch: 7.4.0 -> 7.4.1
2020-06-10 14:43:17 +02:00
Jan Tojnar
acb53e0698
Merge branch 'staging-next' into staging 2020-06-10 04:10:57 +02:00
R. RyanTM
264f85658e cargo-watch: 7.4.0 -> 7.4.1 2020-06-09 10:03:55 +00:00
Jörg Thalheim
d903f1166b
Merge pull request #89649 from oxalica/rust-analyzer 2020-06-08 17:38:10 +01:00
Frederik Rietdijk
8576d24b2a Merge staging-next into staging 2020-06-08 12:08:51 +02:00
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