Commit Graph

249 Commits

Author SHA1 Message Date
Daniël de Kok
f780a982cf rustracer: remove rustup dependency
racer builds fine on Linux and macOS without racer as a dependency.
racer does not actually use rustup, but 'rustc --print sysroot', which
is already available through the rustc dependency.
2018-11-10 08:38:20 +01:00
Daniël de Kok
1f21fc5e47 cargo-asm: fix build on macOS Mojave
Building cargo-asm on Mojave fails with

ld: framework not found Security

Add Security as a build input.
2018-11-03 08:47:18 +01:00
Daniël de Kok
3a2336798f pyo3-pack: init at 0.3.8 (#46754) 2018-10-30 16:36:21 +01:00
Daiderd Jordan
f4927a34e7
rust-cbindgen: fix darwin build 2018-10-27 18:21:15 +01:00
Vladyslav Mykhailichenko
f41a35bf14 rust-cbindgen: 0.6.2 -> 0.6.3 2018-10-19 22:47:58 +03:00
Vladyslav Mykhailichenko
b4b5862be9 rust-bindgen: 0.40.0 -> 0.42.2 2018-10-11 23:57:02 +03:00
Vladyslav M
6c90a975c2 rust-bindgen: 0.37.0 -> 0.40.0 (#46137) 2018-09-28 22:54:43 +02:00
Jörg Thalheim
da11a26008
Merge pull request #45330 from symphorien/bindgen2
rustup: wrap bindgen to find header files in a nix-shell
2018-08-30 13:12:03 +01:00
Symphorien Gibol
4c4fc2299c rust-bindgen: wrap to add required library compilation flags
The easy part is to add NIX_CFLAGS_COMPILE for "regular" libraries.
A bit more tricky is to add the required flags for libclang to find
libstdcxx. For this we parse arguments to bindgen to look for
-x c++ or -xc++ and if found add NIX_CXXSTDLIB_COMPILE to the arguments.
This variable is populated by a complex dance of setupHooks. We trigger
this by adding clang to propagatedBuildInputs. A more subtle way may
exist.
2018-08-28 18:26:42 +02:00
Vladyslav Mykhailichenko
cdf90258e6 rust-cbindgen: 0.6.1 -> 0.6.2 2018-08-22 11:38:01 +03:00
Daniël de Kok
186cf1c4d6 cargo-asm: init at 0.1.16 (#44182) 2018-08-01 15:03:03 +02:00
Vladyslav Mykhailichenko
56bab08df5 rust-cbindgen: 0.6.0 -> 0.6.1 2018-07-28 23:33:16 +03:00
Vladyslav Mykhailichenko
c931b8609b rustup: 1.11.0 -> 1.13.0 2018-07-22 23:45:59 +03:00
Jonathan Curran
979f10f704 rustracer: 2.0.12 -> 2.0.14 2018-07-21 20:47:30 -06:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Sarah Brofeldt
c04d3ae0b2
Merge pull request #40922 from jtojnar/rust-cbindgen
rust-cbindgen: init at 0.6.0
2018-05-24 23:52:49 +02:00
Jan Tojnar
c2361d632d
rust-cbindgen: init at 0.6.0 2018-05-23 02:11:00 +02:00
R. RyanTM
0106dfcbeb rust-bindgen: 0.36.1 -> 0.37.0 (#40833)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/rust-bindgen/versions.

These checks were done:

- built on NixOS
- /nix/store/y7lbrcpy05c1br43257fj056p6vf269l-rust-bindgen-0.37.0/bin/bindgen passed the binary check.
- Warning: no invocation of /nix/store/y7lbrcpy05c1br43257fj056p6vf269l-rust-bindgen-0.37.0/bin/.bindgen-wrapped had a zero exit code or showed the expected version
- 1 of 2 passed binary check by having a zero exit code.
- 1 of 2 passed binary check by having the new version present in output.
- found 0.37.0 with grep in /nix/store/y7lbrcpy05c1br43257fj056p6vf269l-rust-bindgen-0.37.0
- directory tree listing: https://gist.github.com/dab90e1565932370211bc1cb47b526d9
- du listing: https://gist.github.com/1ea884a58cb25990e712703124f8a6da
2018-05-22 02:07:27 +02:00
R. RyanTM
366b16d8e1 rust-bindgen: 0.36.0 -> 0.36.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/rust-bindgen/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/vpn165c8nv09k30dsl7gx0crzbdzw4im-rust-bindgen-0.36.1/bin/bindgen -h’ got 0 exit code
- ran ‘/nix/store/vpn165c8nv09k30dsl7gx0crzbdzw4im-rust-bindgen-0.36.1/bin/bindgen --help’ got 0 exit code
- ran ‘/nix/store/vpn165c8nv09k30dsl7gx0crzbdzw4im-rust-bindgen-0.36.1/bin/bindgen -V’ and found version 0.36.1
- ran ‘/nix/store/vpn165c8nv09k30dsl7gx0crzbdzw4im-rust-bindgen-0.36.1/bin/bindgen --version’ and found version 0.36.1
- found 0.36.1 with grep in /nix/store/vpn165c8nv09k30dsl7gx0crzbdzw4im-rust-bindgen-0.36.1
- directory tree listing: https://gist.github.com/6731d17415819fe988768028fda0e150
2018-05-12 14:02:36 +02:00
Léo Gaspard
376c55fcea
cargo-fuzz: init at 0.5.3 2018-05-08 03:36:41 +02:00
Vladyslav Mykhailichenko
6f63625144 rust-bindgen: 0.35.0 -> 0.36.0 2018-04-12 23:01:03 +03:00
Vladyslav M
535738eb94 rust-bindgen: 0.32.1 -> 0.35.0 2018-03-30 20:47:54 +02:00
Jörg Thalheim
af45f08f07
Merge pull request #35228 from LnL7/racerd
racerd: 2017-02-17 -> 2017-09-15
2018-02-20 22:21:08 +00:00
Vladyslav M
156dc76030 rustup: 2017-10-29 -> 1.11.0 2018-02-20 22:42:18 +02:00
Daiderd Jordan
011d3d0dc3
racerd: 2017-02-17 -> 2017-09-15 2018-02-20 19:15:43 +01:00
dywedir
0d85bddd06 rust-bindgen: 0.31.1 -> 0.32.1 2017-12-19 22:06:05 +02:00
Vladimír Čunát
6f5d989478
treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
Joerg Thalheim
1d8f539bd4 rustracer: 2.0.9 -> 2.0.12
don't hard-code RUST_SRC_PATH so it can be overwritten by users/rustup
2017-11-15 21:51:29 +00:00
Orivej Desh
cfafd6f5a8
Merge pull request #30910 from dywedir/rust-bindgen
rust-bindgen: 0.30.0 -> 0.31.1
2017-11-03 02:57:32 +00:00
Leon Isenberg
9e5ba4eb8b rustup: 1.3.0 -> 2017-10-29 2017-10-29 21:40:56 +01:00
Leon Isenberg
cbe326feb8 rustup: Patch rustup to patchelf binaries 2017-10-29 21:40:56 +01:00
dywedir
4cbf66b578 rust-bindgen: 0.30.0 -> 0.31.1 2017-10-29 00:42:42 +03:00
Kevin Cox
5f8cf0048e rust: update cargo builder to fetch registry dynamically
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.

Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.

This also uses the new --frozen and --locked flags which is nice.

Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).

This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.

Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
2017-10-23 00:30:47 +01:00
Andreas Rammhold
14c3ce919b
rustup: 1.2.0 -> 1.3.0 2017-09-05 22:27:30 +02:00
dywedir
f71d121173 rust-bindgen: 0.29.0 -> 0.30.0 2017-08-29 00:14:20 +03:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
dywedir
6c18491470 rust-bindgen: 0.26.1 -> 0.29.0 2017-07-28 13:33:03 +03:00
dywedir
805467bb5a rustracer: 2.0.6 -> 2.0.9 2017-07-28 11:58:31 +02:00
Benno Fünfstück
496dac571c racer[d]: fix RUST_SRC_PATH
`rustc.src` is a `tar.gz` archive, but we need it unpacked.
2017-07-18 17:16:52 +02:00
Benjamin Saunders
75ca369355 rust-bindgen: 0.25.5 -> 0.26.1 2017-07-06 23:29:54 -07:00
Jörg Thalheim
2da82a1d19 racerd: 2016-12-24 -> 2017-02-17 2017-06-26 20:22:09 +01:00
dywedir
d7d6bacfbb rust-bindgen: 0.24.0 -> 0.25.5 2017-06-19 13:10:35 +03:00
dywedir
72f8ba269c rustfmt: 0.8.3 -> 0.9.0 2017-06-18 13:06:31 +03:00
Matthew Maurer
a8d3cb8c29 rustfmt: 0.8.1 -> 0.8.3
Did not bump to 0.8.4 since that doesn't build with current stable.
2017-05-26 01:33:55 +02:00
Benjamin Saunders
bbdfa06eb5 rust-bindgen: 0.23.0 -> 0.24.0
Fixes errors arising from unset LIBCLANG_PATH
2017-05-04 23:20:51 -07:00
Michael Raskin
9a857999e5 Merge pull request #24939 from dtzWill/update/rust-bindgen-0.23.0
rust-bindgen: 0.22.1 -> 0.23.0
2017-05-01 12:02:59 +02:00
Jörg Thalheim
10eef8c196
rustup: init at 1.2.0 2017-04-17 15:53:36 +02:00
Will Dietz
9961d94d9e rust-bindgen: 0.22.1 -> 0.23.0 2017-04-15 14:47:20 -05:00
c74d
eb6a1f1f41 rustfmt: 0.8 -> 0.8.1
Update the `rustfmt` package from version 0.8 to version 0.8.1.

I have tested this change per nixpkgs manual section 11.1 ("Making
patches").
2017-03-29 22:24:38 +00:00
Arseniy Seroka
b02ff8ebd2 Merge pull request #24198 from 8573/8573/pkg/update/rust-bindgen/0.22.1/1
rust-bindgen: 0.19.1 -> 0.22.1
2017-03-22 12:37:08 +03:00
c74d
6661730f92 rust-bindgen: 0.19.1 -> 0.22.1 2017-03-22 02:08:42 +00:00
c74d
eb9f76911f rustracer: 2.0.5 -> 2.0.6 2017-03-22 01:45:55 +00:00
c74d
5177f891f3 rustfmt: 0.7.1 -> 0.8 2017-03-21 02:11:08 +00:00
Tadas Barzdzius
5ba2afe9ba racerd: 2016-08-23 -> 2016-12-24 2017-02-03 15:53:42 +02:00
Tadas Barzdzius
a2304b0ea3 rustfmt: 0.6.3 -> 0.7.1 2017-01-27 22:07:34 +01:00
Tadas Barzdzius
edbdb4b07e rustracer: 1.2.10 -> 2.0.5 2017-01-27 22:07:34 +01:00
Jos van den Oever
bb84c688f6 rustfmt: 0.6.2 -> 0.6.3 2016-12-04 15:56:26 +02:00
Benjamin Saunders
8df969734a rust-bindgen: init at 0.19.1 (#19847) 2016-11-23 17:09:29 +00:00
Tadas Barzdzius
535f26a9e9 rustfmt: 0.6.0 -> 0.6.2 2016-11-16 13:26:59 +02:00
Peter Pickford
841d7e157b rainicorn: init at 1.0.0 2016-09-08 13:56:42 -07:00
Matthias Beyer
ae428c6411 rustfmt: 0.4 -> 0.6 2016-08-26 14:17:14 +02:00
Stefan Junker
9acd218a9e rust racerd: 0.1.1 -> 2016-08-23 2016-08-23 21:25:48 +02:00
Moritz Ulrich
a6562f77d0 rustracer: Enable doCheck and fix typo. 2016-07-25 21:39:47 +02:00
Gabriel Ebner
40d5284cc2 rustfmt: add meta.platforms 2016-07-14 12:10:09 +02:00
Gabriel Ebner
457a428813 rustracer: add meta.platforms 2016-07-14 12:10:09 +02:00
David Craven
54f80775cb rust: Refactoring of rust and cargo packages 2016-06-15 12:47:13 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Moritz Ulrich
ff771e948c rustRacer: 1.1.0 -> 1.2.10 2016-05-28 15:19:00 +02:00
Brandon Kase
ea018f8339 racerd: init at 0.1.1
Needed for Rust YouCompleteMe support
2016-05-14 01:28:08 -07:00
Tadas Barzdzius
357a251bfb rustfmt: 2016-03-22 -> 0.4.0 2016-04-20 12:43:00 +03:00
Jakob Gillich
02b20eecc2 rustfmt: 2016-02-15 -> 2016-03-22 2016-03-22 17:33:06 +01:00
Arseniy Seroka
a68eae7866 rustfmt: 2015-12-23 -> 2016-02-15 2016-02-25 15:57:18 +03:00
Robin Gloster
ba4b4752f2 racerRust: 1.0.0 -> 1.1.0 2016-01-17 22:05:25 +00:00
Robin Gloster
37ebb4c2ac rustfmt: 2015-12-08 -> 2015-12-23 2015-12-24 13:20:24 +01:00
Robin Gloster
34e67f558f rustfmt: 2015-10-28 -> 2015-12-08 2015-12-10 16:23:39 +00:00
Ricardo M. Correia
2ede3e6ddd rustfmt: 2015-10-17 -> 2015-10-28
... which also fixes the build.
Also, I've switched the compiler to the stable channel since rustfmt
supports it now.
2015-11-02 15:44:42 +01:00
Ricardo M. Correia
ef8b078ce7 rustfmt: 2015-09-23 -> 2015-10-17
Also convert from fetchgit to fetchFromGitHub.
2015-10-18 04:12:11 +02:00
Robin Gloster
4ed66c9f02 rustfmt: fix build
rustfmt now needs to have llvm in its buildInputs since rust does not bundle it
and rustfmt needs to link to it.
2015-09-24 09:00:55 +00:00
Robin Gloster
2d3537fbf2 racer: git-2015-05-18 -> 1.0.0 2015-09-24 08:58:43 +00:00
Robin Gloster
760be9cf70 rustfmt: git-2015-09-05 -> git-2015-09-23 2015-09-23 21:16:16 +00:00
Robin Gloster
7a90c8daa8 rustfmt: init at git-2015-09-05 2015-09-07 12:07:00 +00:00
Ricardo M. Correia
9b752fd0e1 buildRustPackage: Don't hardcode registry index hash
Instead, discover it automatically when building the package.

This makes `buildRustPackage` more future-proof with respect to changes
in how `cargo` generates the hash.

Also, it fixes broken builds in i686 because apparently, cargo generates
a different registry index hash in this architecture (compared to
x86-64).
2015-05-19 19:02:38 +02:00
Ricardo M. Correia
85c48934bc racerRust: 2015-05-04 -> 2015-05-18
Fixes build failure with rustc 1.0.0.
2015-05-19 03:08:34 +02:00
Ricardo M. Correia
755df64ee3 Merge pull request #7501 from wizeman/u/upd-rust
Add support for Rust / Cargo packaging
2015-05-12 17:30:11 +02:00
Ricardo M. Correia
e40a43cd1f rustRacer: 2015-04-12 -> 2015-05-04 2015-05-12 17:28:52 +02:00
Pascal Wittmann
f99d5cf2fc Fixed some descriptions 2015-04-28 10:55:20 +02:00
Ricardo M. Correia
d6093505cc buildRustPackage: Get rid of /proc/self/cwd hack
This makes buildRustPackage portable to non-Linux platforms.

Additionally, now we also save the `Cargo.lock` file into the fetch output, so
that we don't have to run $cargoUpdateHook again just before building.
2015-04-23 20:22:19 +02:00
Ricardo M. Correia
d648be6724 buildRustPackage: Add check phase and enable it by default
Also disable check phase in cargo as there are lots of failures (some
probably due to trying to access the network).
2015-04-21 20:45:05 +02:00
Georges Dubus
7d67efa3f2 Add support for building cargo'ed Rust programs 2015-04-21 19:46:29 +02:00
Dmitry Belyaev
854f81da34 Update racerRust 2015-04-16 13:37:18 +10:00
Jordan Woehr
5821e91bd1 Restructure rustc derivations for ease of updating.
Update racerRust to use new rustcMaster and upgrade cargoSnapshot so racer builds.
2015-03-02 12:40:55 -07:00
robmike
9d6bad0b9e Install racer.el 2015-01-23 21:12:22 -05:00
Ricardo M. Correia
a94c0d2b0f racerRust: Update from 2015-01-07 -> 2015-01-20 2015-01-20 22:19:17 +01:00
John Ericson
81bc099d48 Remove rust=rustc alias
I was asked to add this for backwards comparability when I renamed `rust`
to `rustc` and added `rustcMaster`. It has been a few months so I'd hope
deprecating this is acceptable.
2015-01-11 17:33:58 +00:00
Georges Dubus
4067b5bff4 racer: fixed version 2015-01-10 14:25:54 +01:00
Georges Dubus
74f15178b1 racer: updated to last git master 2015-01-09 14:16:04 +01:00
Arseniy Seroka
e33a65aeca racer: nightlycompat 2014-12-05 02:32:01 +03:00
Arseniy Seroka
aecd509ae3 racer: add maintainer 2014-11-27 23:06:07 +03:00
Arseniy Seroka
ec8bfcb696 racer: add pkg and vim plugin 2014-11-24 02:41:36 +03:00