Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 852 B view raw
1{ 2 lib, 3 pkg-config, 4 rustPlatform, 5 fetchFromGitHub, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "cargo-bitbake"; 11 version = "0.3.16"; 12 13 src = fetchFromGitHub { 14 owner = "meta-rust"; 15 repo = "cargo-bitbake"; 16 rev = "v${version}"; 17 sha256 = "sha256-+ovC4nZwHzf9hjfv2LcnTztM2m++tpC3mUSS/I0l6Ck="; 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = [ openssl ]; 22 23 cargoHash = "sha256-drupV59sBuR6AZ7jVO2EJn62I6XX5vv3QR+Mu8cLklk="; 24 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 }; 36}