1 { lib, pkg-config, rustPlatform, fetchFromGitHub, openssl }:
3 rustPlatform.buildRustPackage rec {
4 pname = "cargo-bitbake";
7 src = fetchFromGitHub {
11 sha256 = "sha256-+ovC4nZwHzf9hjfv2LcnTztM2m++tpC3mUSS/I0l6Ck=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ openssl ];
17 cargoSha256 = "sha256-LYdQ0FLfCopY8kPTCmiW0Qyx6sHA4nlb+hK9hXezGLg=";
20 description = "Cargo extension that can generate BitBake recipes utilizing the classes from meta-rust";
21 mainProgram = "cargo-bitbake";
22 homepage = "https://github.com/meta-rust/cargo-bitbake";
23 license = with licenses; [ mit asl20 ];
24 maintainers = with maintainers; [ rvarago ];
25 platforms = [ "x86_64-linux" ];