lol
at 23.05-pre 26 lines 782 B view raw
1{ lib, pkg-config, rustPlatform, fetchFromGitHub, openssl }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-bitbake"; 5 version = "0.3.16"; 6 7 src = fetchFromGitHub { 8 owner = "meta-rust"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-+ovC4nZwHzf9hjfv2LcnTztM2m++tpC3mUSS/I0l6Ck="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ openssl ]; 16 17 cargoSha256 = "sha256-LYdQ0FLfCopY8kPTCmiW0Qyx6sHA4nlb+hK9hXezGLg="; 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}