Merge pull request #172809 from amarshall/bao

bao: init at 0.12.0
This commit is contained in:
adisbladis 2022-05-13 16:15:00 +08:00 committed by GitHub
commit 7393214656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ 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 ];
};
}

View file

@ -2578,6 +2578,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
bao = callPackage ../tools/security/bao {};
bar = callPackage ../tools/system/bar {}; bar = callPackage ../tools/system/bar {};
base16-shell-preview = callPackage ../misc/base16-shell-preview { }; base16-shell-preview = callPackage ../misc/base16-shell-preview { };