tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
basalt: init at 0.9.0
faukah
5 months ago
7999bd11
1e8f965e
+34
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ba
basalt
package.nix
+34
pkgs/by-name/ba/basalt/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
rustPlatform,
4
4
+
fetchFromGitHub,
5
5
+
nix-update-script,
6
6
+
versionCheckHook,
7
7
+
}:
8
8
+
rustPlatform.buildRustPackage (finalAttrs: {
9
9
+
pname = "basalt";
10
10
+
version = "0.9.0";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "erikjuhani";
14
14
+
repo = "basalt";
15
15
+
tag = "basalt/v${finalAttrs.version}";
16
16
+
hash = "sha256-r34MlNSLZAHqNWlFMGNxT6zTSX+IKKQmJ4klEB4kjek=";
17
17
+
};
18
18
+
19
19
+
cargoHash = "sha256-TpbJ1HCBocgLAXGb5dBbZNMlOYXR9IGBRtfShgwlMIo=";
20
20
+
21
21
+
nativeInstallCheckInputs = [ versionCheckHook ];
22
22
+
doInstallCheck = true;
23
23
+
24
24
+
passthru.updateScript = nix-update-script { };
25
25
+
26
26
+
meta = {
27
27
+
description = "TUI Application to manage Obsidian notes directly from the terminal";
28
28
+
homepage = "https://github.com/erikjuhani/basalt";
29
29
+
changelog = "https://github.com/erikjuhani/basalt/blob/${finalAttrs.src.tag}/basalt/CHANGELOG.md";
30
30
+
license = lib.licenses.mit;
31
31
+
maintainers = with lib.maintainers; [ faukah ];
32
32
+
mainProgram = "basalt";
33
33
+
};
34
34
+
})