nixpkgs/pkgs/by-name/b3/b3sum/package.nix

33 lines
686 B
Nix
Raw Normal View History

2024-07-21 22:01:18 +03:00
{
lib,
fetchCrate,
rustPlatform,
}:
2020-02-01 15:51:26 +03:00
rustPlatform.buildRustPackage rec {
pname = "b3sum";
2024-07-21 22:01:06 +03:00
version = "1.5.3";
2020-02-01 15:51:26 +03:00
2021-05-28 22:13:52 +03:00
src = fetchCrate {
inherit version pname;
2024-07-21 22:01:06 +03:00
hash = "sha256-wyr5LuFn3yRPJCyNfLT1Vgn6Sz1U4VNo0nppJrqE7IY=";
2020-02-01 15:51:26 +03:00
};
2024-07-21 22:01:06 +03:00
cargoHash = "sha256-v2sQKZ0DG08MDLho8fQ8O7fiNu+kxZB1sPNMgF5W2HA=";
2020-02-01 15:51:26 +03:00
meta = {
description = "BLAKE3 cryptographic hash function";
mainProgram = "b3sum";
2020-02-01 15:51:26 +03:00
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
2024-07-21 22:01:18 +03:00
maintainers = with lib.maintainers; [
fpletz
ivan
];
license = with lib.licenses; [
cc0
asl20
];
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
2020-02-01 15:51:26 +03:00
};
}