diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2022-05-13 01:08:03 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2022-05-13 01:21:52 -0400 |
commit | 5f1dd0d00918121546afb33e9c82dd39eb5e1cd8 (patch) | |
tree | 1e0190addc1a892c0179047a0ef28d6b28337945 /pkgs/tools/security/bao | |
parent | 41ff747f882914c1f8c233207ce280ac9d0c867f (diff) |
bao: init at 0.12.0
Diffstat (limited to 'pkgs/tools/security/bao')
-rw-r--r-- | pkgs/tools/security/bao/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/security/bao/default.nix b/pkgs/tools/security/bao/default.nix new file mode 100644 index 0000000000000..cf6014c84fe94 --- /dev/null +++ b/pkgs/tools/security/bao/default.nix @@ -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 ]; + }; +} |