forked from mirrors/nixpkgs
rust-bindgen: fix meta
This commit is contained in:
parent
653d5a265b
commit
d1d0d1184e
|
@ -7,6 +7,13 @@ let
|
|||
inherit bash;
|
||||
unwrapped = rust-bindgen-unwrapped;
|
||||
libclang = clang.cc.lib;
|
||||
meta = rust-bindgen-unwrapped.meta // {
|
||||
longDescription = rust-bindgen-unwrapped.meta.longDescription + ''
|
||||
This version of bindgen is wrapped with the required compiler flags
|
||||
required to find the c and c++ standard libary, as well as the libraries
|
||||
specified in the buildInputs of your derivation.
|
||||
'';
|
||||
};
|
||||
passthru.tests = {
|
||||
simple-c = runCommandCC "simple-c-bindgen-tests" { } ''
|
||||
echo '#include <stdlib.h>' > a.c
|
||||
|
|
|
@ -54,11 +54,6 @@ rustPlatform.buildRustPackage rec {
|
|||
longDescription = ''
|
||||
Bindgen takes a c or c++ header file and turns them into
|
||||
rust ffi declarations.
|
||||
As with most compiler related software, this will only work
|
||||
inside a nix-shell with the required libraries as buildInputs.
|
||||
This version of bindgen is wrapped with the required compiler flags
|
||||
required to find the c and c++ standard libary of the input clang
|
||||
derivation.
|
||||
'';
|
||||
homepage = "https://github.com/rust-lang/rust-bindgen";
|
||||
license = with licenses; [ bsd3 ];
|
||||
|
|
Loading…
Reference in a new issue