3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

19 commits

Author SHA1 Message Date
Symphorien Gibol c73f75dc5e rust-bindgen: enable tests
now that we have a recent enough rustfmt
2018-11-24 00:55:49 +01: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
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
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
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
dywedir 0d85bddd06 rust-bindgen: 0.31.1 -> 0.32.1 2017-12-19 22:06:05 +02: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
dywedir f71d121173 rust-bindgen: 0.29.0 -> 0.30.0 2017-08-29 00:14:20 +03:00
dywedir 6c18491470 rust-bindgen: 0.26.1 -> 0.29.0 2017-07-28 13:33:03 +03:00
Benjamin Saunders 75ca369355 rust-bindgen: 0.25.5 -> 0.26.1 2017-07-06 23:29:54 -07:00
dywedir d7d6bacfbb rust-bindgen: 0.24.0 -> 0.25.5 2017-06-19 13:10:35 +03: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
Will Dietz 9961d94d9e rust-bindgen: 0.22.1 -> 0.23.0 2017-04-15 14:47:20 -05:00
c74d 6661730f92 rust-bindgen: 0.19.1 -> 0.22.1 2017-03-22 02:08:42 +00:00
Benjamin Saunders 8df969734a rust-bindgen: init at 0.19.1 (#19847) 2016-11-23 17:09:29 +00:00