nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchCrate,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "b3sum";
9 version = "1.8.2";
10
11 src = fetchCrate {
12 inherit version pname;
13 hash = "sha256-/qyBs+t8n5I6uf1dSc3E0yHpdlUz77pvlqV5+r4dRBc=";
14 };
15
16 cargoHash = "sha256-PKVDfBFWQY95FxJ66vl6E26GEZChNCsA3ST++iieYSM=";
17
18 meta = {
19 description = "BLAKE3 cryptographic hash function";
20 mainProgram = "b3sum";
21 homepage = "https://github.com/BLAKE3-team/BLAKE3/";
22 maintainers = with lib.maintainers; [
23 fpletz
24 ivan
25 ];
26 license = with lib.licenses; [
27 cc0
28 asl20
29 ];
30 changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
31 };
32}