tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
rblake3sum: init at 0.4.0
Dawid Ciężarkiewicz
2 years ago
2ff3854c
a30869a0
+33
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
rblake3sum
default.nix
top-level
all-packages.nix
+29
pkgs/tools/security/rblake3sum/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, rustPlatform
4
4
+
, fetchFromGitHub
5
5
+
, Security
6
6
+
}:
7
7
+
rustPlatform.buildRustPackage {
8
8
+
pname = "rblake3sum";
9
9
+
version = "0.4.0";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "rustshop";
13
13
+
repo = "rblake3sum";
14
14
+
rev = "6a8e2576ccc05214eacb75b75a9d4cfdf272161c";
15
15
+
hash = "sha256-UFk6SJVA58WXhH1CIuT48MEF19yPUe1HD+ekn4LDj8g=";
16
16
+
};
17
17
+
18
18
+
cargoHash = "sha256-SE/Zg/UEV/vhB/VDcn8Y70OUIoxbJBh6H2QgFMkWPc4=";
19
19
+
20
20
+
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
21
21
+
22
22
+
meta = with lib; {
23
23
+
description = "A recursive blake3 digest (hash) of a file-system path";
24
24
+
homepage = "https://github.com/rustshop/rblake3sum";
25
25
+
license = [ licenses.mit ];
26
26
+
maintainers = with maintainers; [ dpc ];
27
27
+
mainProgram = "rblake3sum";
28
28
+
};
29
29
+
}
+4
pkgs/top-level/all-packages.nix
reviewed
···
6328
6328
inherit (darwin.apple_sdk.frameworks) Security;
6329
6329
};
6330
6330
6331
6331
+
rblake3sum = callPackage ../tools/security/rblake3sum {
6332
6332
+
inherit (darwin.apple_sdk.frameworks) Security;
6333
6333
+
};
6334
6334
+
6331
6335
reg = callPackage ../tools/virtualization/reg { };
6332
6336
6333
6337
retool = callPackage ../applications/misc/retool { };