mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33 lines
686 B
Nix
33 lines
686 B
Nix
{
|
|
lib,
|
|
fetchCrate,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "b3sum";
|
|
version = "1.5.5";
|
|
|
|
src = fetchCrate {
|
|
inherit version pname;
|
|
hash = "sha256-PgtQc8rwIbiHAue323POh15png7DerZbCuAKLi+jEYE=";
|
|
};
|
|
|
|
cargoHash = "sha256-OnD/QVOP3oUFeGW0YeFWW8hQ6SBapxxdAXATIBM+g2Y=";
|
|
|
|
meta = {
|
|
description = "BLAKE3 cryptographic hash function";
|
|
mainProgram = "b3sum";
|
|
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
|
|
maintainers = with lib.maintainers; [
|
|
fpletz
|
|
ivan
|
|
];
|
|
license = with lib.licenses; [
|
|
cc0
|
|
asl20
|
|
];
|
|
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
|
|
};
|
|
}
|