b3sum: init at 0.1.3

This commit is contained in:
Franz Pletz
2020-02-01 14:20:51 +01:00
parent d5bf8b2359
commit 41483340c4
3 changed files with 614 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "b3sum";
version = "0.1.3";
src = fetchFromGitHub {
owner = "BLAKE3-team";
repo = "BLAKE3";
rev = version;
sha256 = "1aigwwv576ybb3x3fppq46kbvd3k4fc4w1hh2hkzyyic6fibwbpy";
};
sourceRoot = "source/b3sum";
cargoSha256 = "0qw7sr817lmj9xicc03cj1k49lwjwc1whllc7sj2g4c0nl2vndir";
verifyCargoDeps = false;
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 ];
};
}