2021-05-29 03:34:57 +00:00
|
|
|
{ lib, fetchCrate, rustPlatform }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "b3sum";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-29 03:34:57 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-yjMuXL0eW+6mm26LgIjD22WyTjb+KMjKRI68mpGGAZA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoHash = "sha256-Ka+5RKRSVQYoLFXE1bEc6fGFQcbrFTVgi6yAoGIDdUI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "BLAKE3 cryptographic hash function";
|
|
|
|
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
|
2020-11-24 20:58:05 +00:00
|
|
|
maintainers = with lib.maintainers; [ fpletz ivan ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with lib.licenses; [ cc0 asl20 ];
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|