tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
tukai: init at 0.2.3
Rein
8 months ago
62674262
c5906cc6
+46
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tu
tukai
package.nix
+46
pkgs/by-name/tu/tukai/package.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
rustPlatform,
4
4
+
fetchFromGitHub,
5
5
+
pkg-config,
6
6
+
writableTmpDirAsHomeHook,
7
7
+
versionCheckHook,
8
8
+
nix-update-script,
9
9
+
}:
10
10
+
rustPlatform.buildRustPackage (finalAttrs: {
11
11
+
pname = "tukai";
12
12
+
version = "0.2.3";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "hlsxx";
16
16
+
repo = "tukai";
17
17
+
tag = "v${finalAttrs.version}";
18
18
+
hash = "sha256-YJtna4NIk9mmwymepFSZB8viUSPDU4XouRE5GCujSmk=";
19
19
+
};
20
20
+
21
21
+
cargoHash = "sha256-1V1DrewPGDJWmOoYdtK1HS/t83zFac/tgatfDTKxAmA=";
22
22
+
23
23
+
nativeBuildInputs = [
24
24
+
pkg-config
25
25
+
writableTmpDirAsHomeHook
26
26
+
];
27
27
+
28
28
+
nativeInstallCheckInputs = [
29
29
+
versionCheckHook
30
30
+
];
31
31
+
32
32
+
doInstallCheck = true;
33
33
+
34
34
+
passthru.updateScript = nix-update-script { };
35
35
+
36
36
+
meta = {
37
37
+
description = "Terminal-based touch typing application";
38
38
+
homepage = "https://github.com/hlsxx/tukai";
39
39
+
changelog = "https://github.com/hlsxx/tukai/releases/tag/v${finalAttrs.version}";
40
40
+
license = lib.licenses.mit;
41
41
+
maintainers = with lib.maintainers; [
42
42
+
rein
43
43
+
];
44
44
+
mainProgram = "tukai";
45
45
+
};
46
46
+
})