mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
rust-cbindgen_0_1_13: init at 0.1.13
This commit is contained in:
30
pkgs/development/tools/rust/cbindgen/0_1_13.nix
Normal file
30
pkgs/development/tools/rust/cbindgen/0_1_13.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-cbindgen";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eqrion";
|
||||
repo = "cbindgen";
|
||||
rev = "v${version}";
|
||||
sha256 = "1x21g66gri6z9bnnfn7zmnf2lwdf5ing76pcmw0ilx4nzpvfhkg0";
|
||||
};
|
||||
|
||||
cargoSha256 = "13fb8cdg6r0g5jb3vaznvv5aaywrnsl2yp00h4k8028vl8jwwr79";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
checkFlags = [
|
||||
# https://github.com/eqrion/cbindgen/issues/338
|
||||
"--skip test_expand"
|
||||
];
|
||||
|
||||
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 andir ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8386,6 +8386,12 @@ in
|
||||
rust-cbindgen = callPackage ../development/tools/rust/cbindgen {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
rust-cbindgen_0_1_13 = callPackage ../development/tools/rust/cbindgen/0_1_13.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
rustPlatform = rustPlatform_1_41;
|
||||
};
|
||||
|
||||
rustup = callPackage ../development/tools/rust/rustup {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user