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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
686 B
Nix
Raw Normal View History

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";
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
];
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
2020-02-01 12:51:26 +00:00
};
}