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

+13 -4
+13 -4
pkgs/development/tools/rust/cbindgen/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, Security }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rust-cbindgen"; 5 - version = "0.15.0"; 6 7 src = fetchFromGitHub { 8 owner = "eqrion"; 9 repo = "cbindgen"; 10 rev = "v${version}"; 11 - sha256 = "19bwllrajks286wl4zc5axgh4m9qqxdnc5024c30hyk0xnjffd0c"; 12 }; 13 14 - cargoSha256 = "1lzzckzcgj496chbfd6lhwxcangv0krx8m5k2jwffnb9mfgac7hx"; 15 16 buildInputs = lib.optional stdenv.isDarwin Security; 17 18 checkFlags = [ 19 # https://github.com/eqrion/cbindgen/issues/338 20 "--skip test_expand" 21 ]; 22 23 meta = with lib; {
··· 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, python3Packages, Security }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rust-cbindgen"; 5 + version = "0.17.0"; 6 7 src = fetchFromGitHub { 8 owner = "eqrion"; 9 repo = "cbindgen"; 10 rev = "v${version}"; 11 + sha256 = "1w9gf6fl1ncm2zlh0p29lislfsd35zd1mhns2mrxl2n734zavaqf"; 12 }; 13 14 + cargoSha256 = "12jw1m842gzy0ma4drgmwk1jac663vysllfpl9cglr039j1sfsx2"; 15 16 buildInputs = lib.optional stdenv.isDarwin Security; 17 18 + checkInputs = [ 19 + python3Packages.cython 20 + ]; 21 + 22 checkFlags = [ 23 + # Disable tests that require rust unstable features 24 # https://github.com/eqrion/cbindgen/issues/338 25 "--skip test_expand" 26 + "--skip test_bitfield" 27 + "--skip lib_default_uses_debug_build" 28 + "--skip lib_explicit_debug_build" 29 + "--skip lib_explicit_release_build" 30 ]; 31 32 meta = with lib; {