depot/third_party/nixpkgs/pkgs/tools/security/bao/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

25 lines
570 B
Nix

{ lib
, fetchCrate
, fetchpatch
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "bao";
version = "0.12.0";
src = fetchCrate {
inherit version;
pname = "${pname}_bin";
sha256 = "SkplBzor7Fv2+6K8wcTtZwjR66RfLPA/YNNUUHniWpM=";
};
cargoSha256 = "yr4HvtOWnU2dFTBgSsbVcuDELe1o1SEtZ7rN/ctKAdI=";
meta = {
description = "An implementation of BLAKE3 verified streaming";
homepage = "https://github.com/oconnor663/bao";
maintainers = with lib.maintainers; [ amarshall ];
license = with lib.licenses; [ cc0 asl20 ];
};
}