summary refs log tree commit diff
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2017-03-22 12:37:08 +0300
committerGitHub <noreply@github.com>2017-03-22 12:37:08 +0300
commitb02ff8ebd24c4d95f94af10df2e19358d48004ae (patch)
treefd499b4ff9e15b2160f052797f8ce9454a4fd4dd
parentf3759066aa05237bb04704ad68d4161c76e82f12 (diff)
parent6661730f92c9eaa4cfd91dd95228bb5ecb4e13bf (diff)
downloadnixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar.gz
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar.bz2
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar.lz
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar.xz
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.tar.zst
nixpkgs-b02ff8ebd24c4d95f94af10df2e19358d48004ae.zip
Merge pull request #24198 from 8573/8573/pkg/update/rust-bindgen/0.22.1/1
rust-bindgen: 0.19.1 -> 0.22.1
-rw-r--r--pkgs/development/tools/rust/bindgen/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix
index adecf7f3bd1..232be1fea38 100644
--- a/pkgs/development/tools/rust/bindgen/default.nix
+++ b/pkgs/development/tools/rust/bindgen/default.nix
@@ -1,18 +1,16 @@
 { stdenv, fetchFromGitHub, rustPlatform, llvmPackages }:
 
-with rustPlatform;
-
 # Future work: Automatically communicate NIX_CFLAGS_COMPILE to bindgen's tests and the bindgen executable itself.
 
-buildRustPackage rec {
+rustPlatform.buildRustPackage rec {
   name = "rust-bindgen-${version}";
-  version = "0.19.1";
+  version = "0.22.1";
 
   src = fetchFromGitHub {
-    owner = "Yamakaky";
+    owner = "servo";
     repo = "rust-bindgen";
-    rev = "${version}";
-    sha256 = "0pv1vcgp455hys8hb0yj4vrh2k01zysayswkasxq4hca8s2p7qj9";
+    rev = "v${version}";
+    sha256 = "10cavj6rrbdqi4ldfmhxy6xxp0q65pxiypdgq2ckz0c37g04qqqs";
   };
 
   buildInputs = [ llvmPackages.clang-unwrapped ];
@@ -21,13 +19,13 @@ buildRustPackage rec {
     export LIBCLANG_PATH="${llvmPackages.clang-unwrapped}/lib"
   '';
 
-  depsSha256 = "0rlmdiqjg9ha9yzhcy33abvhrck6sphczc2gbab9zhfa95gxprv8";
+  depsSha256 = "1gvva6f64ndzsswv1a7c31wym12yp4cg1la4zjwlzkrx62kgyk8x";
 
   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/Yamakaky/rust-bindgen;
+    homepage = https://github.com/servo/rust-bindgen;
     license = with licenses; [ bsd3 ];
     maintainers = [ maintainers.ralith ];
   };