xcursor-pro: init at 2.0.2 (#335188)
[NixPkgs.git] / pkgs / by-name / ca / cargo-bitbake / package.nix
blob3836e251003a7a5e7c03df84c8c1116bb89bdefc
2   lib,
3   pkg-config,
4   rustPlatform,
5   fetchFromGitHub,
6   openssl,
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "cargo-bitbake";
11   version = "0.3.16";
13   src = fetchFromGitHub {
14     owner = "meta-rust";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "sha256-+ovC4nZwHzf9hjfv2LcnTztM2m++tpC3mUSS/I0l6Ck=";
18   };
20   nativeBuildInputs = [ pkg-config ];
21   buildInputs = [ openssl ];
23   cargoHash = "sha256-LYdQ0FLfCopY8kPTCmiW0Qyx6sHA4nlb+hK9hXezGLg=";
25   meta = with lib; {
26     description = "Cargo extension that can generate BitBake recipes utilizing the classes from meta-rust";
27     mainProgram = "cargo-bitbake";
28     homepage = "https://github.com/meta-rust/cargo-bitbake";
29     license = with licenses; [
30       mit
31       asl20
32     ];
33     maintainers = with maintainers; [ rvarago ];
34     platforms = [ "x86_64-linux" ];
35   };