frigate: fix event preview (#372427)
[NixPkgs.git] / pkgs / by-name / b3 / b3sum / package.nix
blob3260175dc8ae31986150eaff18a1ebcc00474be6
2   lib,
3   fetchCrate,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "b3sum";
9   version = "1.5.5";
11   src = fetchCrate {
12     inherit version pname;
13     hash = "sha256-PgtQc8rwIbiHAue323POh15png7DerZbCuAKLi+jEYE=";
14   };
16   cargoHash = "sha256-OnD/QVOP3oUFeGW0YeFWW8hQ6SBapxxdAXATIBM+g2Y=";
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   };