Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d3c0ade39a7a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eda5b46cab2e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 28, 2017

  1. Copy the full SHA
    6c18491 View commit details

Commits on Jul 30, 2017

  1. Merge pull request #27710 from dywedir/rust-bindgen

    rust-bindgen: 0.26.1 -> 0.29.0
    Mic92 authored Jul 30, 2017
    Copy the full SHA
    eda5b46 View commit details
Showing with 6 additions and 6 deletions.
  1. +6 −6 pkgs/development/tools/rust/bindgen/default.nix
12 changes: 6 additions & 6 deletions pkgs/development/tools/rust/bindgen/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

rustPlatform.buildRustPackage rec {
name = "rust-bindgen-${version}";
version = "0.26.1";
version = "0.29.0";

src = fetchFromGitHub {
owner = "servo";
owner = "rust-lang-nursery";
repo = "rust-bindgen";
rev = "v${version}";
sha256 = "1w1vbfhmcrcl0vacxkivmavjp51cvpyq5lk75n9zs80q5x38ypna";
sha256 = "190nilbqch8w2hcdmzgkk2npgsn49a4y9c5r0mxa9d7nz7h0imxk";
};

nativeBuildInputs = [ makeWrapper ];
@@ -24,13 +24,13 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/bindgen --set LIBCLANG_PATH "${llvmPackages.clang-unwrapped}/lib"
'';

depsSha256 = "0s1x4ygjwc14fbl2amz5g6n7lq07zy8b00mvwfw6vi6k4bq1g59i";
depsSha256 = "1y55xdqsk200hj5dhbigsgsx11w5cfxms84hhyl9y7w6jszbzxzw";

doCheck = false; # A test fails because it can't find standard headers in NixOS

meta = with stdenv.lib; {
description = "C binding generator";
homepage = https://github.com/servo/rust-bindgen;
description = "C and C++ binding generator";
homepage = https://github.com/rust-lang-nursery/rust-bindgen;
license = with licenses; [ bsd3 ];
maintainers = [ maintainers.ralith ];
};