depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-bitbake/default.nix
Default email 18bad4282a Project import generated by Copybara.
GitOrigin-RevId: 1c2986bbb806c57f9470bf3231d8da7250ab9091
2021-06-01 12:57:12 +02:00

26 lines
784 B
Nix

{ lib, pkg-config, rustPlatform, fetchFromGitHub, openssl }:
rustPlatform.buildRustPackage rec {
pname = "cargo-bitbake";
version = "0.3.15";
src = fetchFromGitHub {
owner = "meta-rust";
repo = pname;
rev = "v${version}";
sha256 = "1ffjkwaqvmyz374azrv6gna19z2fcg82is2k2n2gm50isbxw2aa5";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoSha256 = "0mm6059wjh5p8923dwz55dpwi55gq2bcmpx7kn40pq5ppkiqjiw9";
meta = with lib; {
description = "Cargo extension that can generate BitBake recipes utilizing the classes from meta-rust";
homepage = "https://github.com/meta-rust/cargo-bitbake";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ rvarago ];
platforms = [ "x86_64-linux" ];
};
}