nixpkgs/pkgs/tools/security/b3sum/default.nix

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

22 lines
622 B
Nix
Raw Normal View History

2021-05-28 19:13:52 +00:00
{ lib, fetchCrate, rustPlatform }:
2020-02-01 12:51:26 +00:00
rustPlatform.buildRustPackage rec {
pname = "b3sum";
2023-07-11 03:46:12 +00:00
version = "1.4.1";
2020-02-01 12:51:26 +00:00
2021-05-28 19:13:52 +00:00
src = fetchCrate {
inherit version pname;
2023-07-11 03:46:12 +00:00
sha256 = "sha256-cVl0thk+ENZEhTRvFvtAnHIWM8LzKDKEVSVyI22fh2I=";
2020-02-01 12:51:26 +00:00
};
2023-07-11 03:46:12 +00:00
cargoHash = "sha256-v175TKlCZ9Vdd1L2IHv2YX406ZkxRXJmZFKBIMab2gg=";
2020-02-01 12:51:26 +00:00
meta = {
description = "BLAKE3 cryptographic hash function";
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
2020-11-13 02:35:13 +00:00
maintainers = with lib.maintainers; [ fpletz ivan ];
2020-02-01 12:51:26 +00:00
license = with lib.licenses; [ cc0 asl20 ];
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
2020-02-01 12:51:26 +00:00
};
}