2024-07-21 19:01:18 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchCrate,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
2020-02-01 12:51:26 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "b3sum";
|
2024-11-27 13:34:52 +00:00
|
|
|
version = "1.5.5";
|
2020-02-01 12:51:26 +00:00
|
|
|
|
2021-05-28 19:13:52 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2024-11-27 13:34:52 +00:00
|
|
|
hash = "sha256-PgtQc8rwIbiHAue323POh15png7DerZbCuAKLi+jEYE=";
|
2020-02-01 12:51:26 +00:00
|
|
|
};
|
|
|
|
|
2024-11-27 13:34:52 +00:00
|
|
|
cargoHash = "sha256-OnD/QVOP3oUFeGW0YeFWW8hQ6SBapxxdAXATIBM+g2Y=";
|
2020-02-01 12:51:26 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "BLAKE3 cryptographic hash function";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "b3sum";
|
2020-02-01 12:51:26 +00:00
|
|
|
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
|
2024-07-21 19:01:18 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
fpletz
|
|
|
|
ivan
|
|
|
|
];
|
|
|
|
license = with lib.licenses; [
|
|
|
|
cc0
|
|
|
|
asl20
|
|
|
|
];
|
2023-05-28 06:31:27 +00:00
|
|
|
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
|
2020-02-01 12:51:26 +00:00
|
|
|
};
|
|
|
|
}
|