rblake3sum: init at 0.4.0

This commit is contained in:
Dawid Ciężarkiewicz 2023-10-05 23:39:32 -07:00
parent a30869a058
commit 2ff3854c50
No known key found for this signature in database
GPG key ID: D0E972B6EC3C4E7C
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
rustPlatform.buildRustPackage {
pname = "rblake3sum";
version = "0.4.0";
src = fetchFromGitHub {
owner = "rustshop";
repo = "rblake3sum";
rev = "6a8e2576ccc05214eacb75b75a9d4cfdf272161c";
hash = "sha256-UFk6SJVA58WXhH1CIuT48MEF19yPUe1HD+ekn4LDj8g=";
};
cargoHash = "sha256-SE/Zg/UEV/vhB/VDcn8Y70OUIoxbJBh6H2QgFMkWPc4=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "A recursive blake3 digest (hash) of a file-system path";
homepage = "https://github.com/rustshop/rblake3sum";
license = [ licenses.mit ];
maintainers = with maintainers; [ dpc ];
mainProgram = "rblake3sum";
};
}

View file

@ -6328,6 +6328,10 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
rblake3sum = callPackage ../tools/security/rblake3sum {
inherit (darwin.apple_sdk.frameworks) Security;
};
reg = callPackage ../tools/virtualization/reg { };
retool = callPackage ../applications/misc/retool { };