nixpkgs/pkgs/by-name/ba/bao/package.nix
2025-04-08 12:58:58 +00:00

31 lines
640 B
Nix

{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "bao";
version = "0.13.1";
src = fetchCrate {
inherit version;
pname = "${pname}_bin";
hash = "sha256-8h5otpu3z2Hgy0jMCITJNr8Q4iVdlR5Lea2X+WuenWs=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-B0wvJTcIRJxBU0G1DONnKeQYrmsmMIorhTLc73o4/kE=";
meta = {
description = "Implementation of BLAKE3 verified streaming";
homepage = "https://github.com/oconnor663/bao";
maintainers = with lib.maintainers; [ amarshall ];
license = with lib.licenses; [
cc0
asl20
];
mainProgram = "bao";
};
}