cargo-bitbake: init at 0.3.15

This extensions generates BitBake recipes to build Cargo
based project for Yocto.

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

+27
+26
pkgs/development/tools/rust/cargo-bitbake/default.nix
··· 1 + { lib, pkg-config, rustPlatform, fetchFromGitHub, openssl }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-bitbake"; 5 + version = "0.3.15"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "meta-rust"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "1ffjkwaqvmyz374azrv6gna19z2fcg82is2k2n2gm50isbxw2aa5"; 12 + }; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + buildInputs = [ openssl ]; 16 + 17 + cargoSha256 = "0mm6059wjh5p8923dwz55dpwi55gq2bcmpx7kn40pq5ppkiqjiw9"; 18 + 19 + meta = with lib; { 20 + description = "Cargo extension that can generate BitBake recipes utilizing the classes from meta-rust"; 21 + homepage = "https://github.com/meta-rust/cargo-bitbake"; 22 + license = with licenses; [ mit asl20 ]; 23 + maintainers = with maintainers; [ rvarago ]; 24 + platforms = [ "x86_64-linux" ]; 25 + }; 26 + }
+1
pkgs/top-level/all-packages.nix
··· 11690 11690 cargo-bisect-rustc = callPackage ../development/tools/rust/cargo-bisect-rustc { 11691 11691 inherit (darwin.apple_sdk.frameworks) Security; 11692 11692 }; 11693 + cargo-bitbake = callPackage ../development/tools/rust/cargo-bitbake { }; 11693 11694 cargo-c = callPackage ../development/tools/rust/cargo-c { 11694 11695 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 11695 11696 };