2021-05-29 03:34:57 +00:00
|
|
|
{ lib, fetchCrate, rustPlatform }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "b3sum";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-29 03:34:57 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-v6OCUXes8jaBh+sKqj1yCNOTb1NQY/ENGzKf5XWGZ3w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
cargoSha256 = "sha256-y5QVgu716p8TFoEeWIzX9aJWeT3FKwlh5vUQkKR6pdE=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|