mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #259337 from dpc/rblake3sum
rblake3sum: init at 0.4.0
This commit is contained in:
commit
0d0efa0759
@ -24,5 +24,6 @@ rustPlatform.buildRustPackage {
|
||||
homepage = "https://github.com/crev-dev/rblake2sum";
|
||||
license = [ licenses.mit ];
|
||||
maintainers = with maintainers; [ dpc ];
|
||||
mainProgram = "rblake2sum";
|
||||
};
|
||||
}
|
||||
|
29
pkgs/tools/security/rblake3sum/default.nix
Normal file
29
pkgs/tools/security/rblake3sum/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -6324,6 +6324,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user