3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/b3sum/default.nix

27 lines
668 B
Nix
Raw Normal View History

2020-02-01 12:51:26 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "b3sum";
2020-07-07 10:12:53 +01:00
version = "0.3.4";
2020-02-01 12:51:26 +00:00
src = fetchFromGitHub {
owner = "BLAKE3-team";
repo = "BLAKE3";
rev = version;
2020-07-07 10:12:53 +01:00
sha256 = "02yyv91wvy5w7i05z6f3kzxm5x34a4xgkgmcqxnb0ivsxnnld73h";
2020-02-01 12:51:26 +00:00
};
sourceRoot = "source/b3sum";
2020-07-07 10:12:53 +01:00
cargoSha256 = "0ycn5788dc925wx28sgfs121w4x7yggm4mnmwij829ka8859bymk";
2020-02-01 12:51:26 +00:00
cargoPatches = [ ./add-cargo-lock.patch ];
meta = {
description = "BLAKE3 cryptographic hash function";
homepage = "https://github.com/BLAKE3-team/BLAKE3/";
maintainers = with lib.maintainers; [ fpletz ];
license = with lib.licenses; [ cc0 asl20 ];
};
}