tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bagr: init at 0.3.0
Jez Cope
7 months ago
d9cfcb04
f0f55513
+37
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ba
bagr
package.nix
+37
pkgs/by-name/ba/bagr/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
lib,
3
+
fetchFromGitHub,
4
+
rustPlatform,
5
+
versionCheckHook,
6
+
}:
7
+
8
+
rustPlatform.buildRustPackage (finalAttrs: {
9
+
pname = "bagr";
10
+
version = "0.3.0";
11
+
12
+
src = fetchFromGitHub {
13
+
owner = "pwinckles";
14
+
repo = "bagr";
15
+
tag = "v${finalAttrs.version}";
16
+
hash = "sha256-tvo9/ywPhYgqj4i+o6lYOmrVnLcyciM7HPdT2dKerO8=";
17
+
};
18
+
19
+
cargoHash = "sha256-r4tgDPyLxTjq/sxNLvlX/2MePUfOwNgranQSSbgDtu0=";
20
+
21
+
nativeInstallCheckInputs = [
22
+
versionCheckHook
23
+
];
24
+
doInstallCheck = true;
25
+
versionCheckProgramArg = "--version";
26
+
27
+
meta = {
28
+
description = "Command line utility for interacting with BagIt bags (RFC 8493)";
29
+
homepage = "https://github.com/pwinckles/bagr";
30
+
license = lib.licenses.asl20;
31
+
mainProgram = "bagr";
32
+
maintainers = with lib.maintainers; [
33
+
jezcope
34
+
];
35
+
platforms = with lib.platforms; unix ++ windows;
36
+
};
37
+
})