Skip to content

Commit

Permalink
rust-cbindgen: 0.27.0 -> 0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jan 16, 2025
1 parent 8bf44fb commit 7f3e38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 65 deletions.

This file was deleted.

12 changes: 3 additions & 9 deletions pkgs/development/tools/rust/cbindgen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,16 @@

rustPlatform.buildRustPackage rec {
pname = "rust-cbindgen";
version = "0.27.0";
version = "0.28.0";

src = fetchFromGitHub {
owner = "mozilla";
repo = "cbindgen";
rev = "v${version}";
hash = "sha256-XTGHHD5Qw3mr+lkPKOXyqb0K3sEENW8Sf0n9mtrFFXI=";
hash = "sha256-1GT+EgltLhveEACxhY+748L1HIIyQHbEs7wLKANFWr0=";
};

patches = [
# open PR: https://github.com/mozilla/cbindgen/pull/1010
# see also: https://github.com/NixOS/nixpkgs/pull/298108
./1010-fix-test-failures-due-to-CARGO_BUILD_TARGET.patch
];

cargoHash = "sha256-l4FgwXdibek4BAnqjWd1rLxpEwuMNjYgvo6X3SS3fRo=";
cargoHash = "sha256-VaM2+az881qePMqkQRxVxoXCgrgPC8LqSQNDst1bnkY=";

buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;

Expand Down

0 comments on commit 7f3e38c

Please sign in to comment.