From 2165db62ee1ec75f035c55e3e9f44ae84dad0127 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Apr 2022 01:03:50 +0200 Subject: [PATCH 1/2] rust-cbindgen: 0.22.0 -> 0.23.0 https://github.com/eqrion/cbindgen/releases/tag/v0.23.0 --- pkgs/development/tools/rust/cbindgen/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix index e9281f0ae085..cab32c04a722 100644 --- a/pkgs/development/tools/rust/cbindgen/default.nix +++ b/pkgs/development/tools/rust/cbindgen/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "rust-cbindgen"; - version = "0.22.0"; + version = "0.23.0"; src = fetchFromGitHub { owner = "eqrion"; repo = "cbindgen"; rev = "v${version}"; - sha256 = "sha256-njOAfD89I//buKniQ/FUGn7iW8//wDZlWdm9jW6k/e4="; + hash = "sha256-yux5VpN8UqBscu5TyojlZmu4q2uz8b9Tu++eNlPUj/M="; }; - cargoSha256 = "sha256-1E2lmi0j3rGu+7Bxn2of+HjazREdnsYArZiXHUT8o0w="; + cargoSha256 = "sha256:1838dsmaqdlbd3j040bdy1fvl3z77xmcz73r11qmnqsga4yva6d7"; buildInputs = lib.optional stdenv.isDarwin Security; From b875cb256012efa0f944a8fa50bf340bb8043783 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Apr 2022 01:03:59 +0200 Subject: [PATCH 2/2] rust-cbindgen: adopt Primary consumer of this package is firefox and spidermonkey, which I already invest a lot of time in anyway. --- pkgs/development/tools/rust/cbindgen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix index cab32c04a722..347534329b1b 100644 --- a/pkgs/development/tools/rust/cbindgen/default.nix +++ b/pkgs/development/tools/rust/cbindgen/default.nix @@ -33,6 +33,6 @@ rustPlatform.buildRustPackage rec { description = "A project for generating C bindings from Rust code"; homepage = "https://github.com/eqrion/cbindgen"; license = licenses.mpl20; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ hexa ]; }; }