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

21 lines
543 B
Nix
Raw Normal View History

2021-05-28 21:13:52 +02:00
{ lib, fetchCrate, rustPlatform }:
2020-02-01 13:51:26 +01:00
rustPlatform.buildRustPackage rec {
pname = "b3sum";
2021-07-25 20:32:16 +02:00
version = "1.0.0";
2020-02-01 13:51:26 +01:00
2021-05-28 21:13:52 +02:00
src = fetchCrate {
inherit version pname;
2021-07-25 20:32:16 +02:00
sha256 = "sha256-eWsvCpMG3iWB2cYIKaaP6h9QwKQQrpFNliHTqBtdzVw=";
2020-02-01 13:51:26 +01:00
};
2021-07-25 20:32:16 +02:00
cargoSha256 = "sha256-YglKiEz/D5+Dz6CIzWIpoc33bhMSdGTM4MP/uJCxe7E=";
2020-02-01 13:51:26 +01:00
meta = {
description = "BLAKE3 cryptographic hash function";
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
2020-11-13 03:35:13 +01:00
maintainers = with lib.maintainers; [ fpletz ivan ];
2020-02-01 13:51:26 +01:00
license = with lib.licenses; [ cc0 asl20 ];
};
}