tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
tint: 0.1.6 -> 0.1.7
Ashish Kumar
9 months ago
67c6bd9c
e43ad0dd
+10
-6
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ti
tint
package.nix
+10
-6
pkgs/by-name/ti/tint/package.nix
reviewed
···
3
3
buildGoModule,
4
4
fetchFromGitHub,
5
5
versionCheckHook,
6
6
+
nix-update-script,
6
7
}:
7
8
8
8
-
buildGoModule rec {
9
9
+
buildGoModule (finalAttrs: {
9
10
pname = "tint";
10
10
-
version = "0.1.6";
11
11
+
version = "0.1.7";
11
12
12
13
src = fetchFromGitHub {
13
14
owner = "ashish0kumar";
14
15
repo = "tint";
15
15
-
tag = "v${version}";
16
16
-
hash = "sha256-TZYAcs6h4Fv0XpUqzgCcAF5cHGaVKMMCJ6MTAH6C6Jo=";
16
16
+
tag = "v${finalAttrs.version}";
17
17
+
hash = "sha256-Y2Jb/YF7rpEAmDVI5wEB+Sy7Ap2XxNrKQfnAogVdYSY=";
17
18
};
18
19
19
20
vendorHash = null;
···
22
21
ldflags = [
23
22
"-s"
24
23
"-w"
25
25
-
"-X main.version=${version}"
24
24
+
"-X main.version=${finalAttrs.version}"
26
25
];
27
26
28
27
doInstallCheck = true;
···
30
29
versionCheckHook
31
30
];
32
31
32
32
+
passthru.updateScript = nix-update-script { };
33
33
+
33
34
meta = {
35
35
+
changelog = "https://github.com/ashish0kumar/tint/releases/tag/v${finalAttrs.version}";
34
36
description = "Command-line tool to recolor images using theme palettes";
35
37
homepage = "https://github.com/ashish0kumar/tint";
36
38
license = lib.licenses.mit;
···
41
37
mainProgram = "tint";
42
38
platforms = lib.platforms.unix;
43
39
};
44
44
-
}
40
40
+
})