forked from mirrors/nixpkgs
Merge pull request #40922 from jtojnar/rust-cbindgen
rust-cbindgen: init at 0.6.0
This commit is contained in:
commit
c04d3ae0b2
22
pkgs/development/tools/rust/cbindgen/default.nix
Normal file
22
pkgs/development/tools/rust/cbindgen/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "rust-cbindgen-${version}";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "eqrion";
|
||||||
|
repo = "cbindgen";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0yzjbmdhhwbg551bm06xwwdjdm5kdqw37pgd7hals8qxb0dzmmh8";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1ml4a7xp40l3bhfhpwdrwj3k99zhan9dzpkw71fa689xmv6pdj62";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A project for generating C bindings from Rust code";
|
||||||
|
homepage = https://github.com/eqrion/cbindgen;
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6932,6 +6932,7 @@ with pkgs;
|
||||||
rustracer = callPackage ../development/tools/rust/racer { };
|
rustracer = callPackage ../development/tools/rust/racer { };
|
||||||
rustracerd = callPackage ../development/tools/rust/racerd { };
|
rustracerd = callPackage ../development/tools/rust/racerd { };
|
||||||
rust-bindgen = callPackage ../development/tools/rust/bindgen { };
|
rust-bindgen = callPackage ../development/tools/rust/bindgen { };
|
||||||
|
rust-cbindgen = callPackage ../development/tools/rust/cbindgen { };
|
||||||
rustup = callPackage ../development/tools/rust/rustup {
|
rustup = callPackage ../development/tools/rust/rustup {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue