tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
godini: init at 1.0.0
The Artifex (4r7if3x)
1 year ago
e2ff22d3
8b4146d9
+49
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
go
godini
package.nix
+49
pkgs/by-name/go/godini/package.nix
···
1
1
+
{
2
2
+
buildGoModule,
3
3
+
fetchFromGitHub,
4
4
+
godini,
5
5
+
lib,
6
6
+
nix-update-script,
7
7
+
testers,
8
8
+
}:
9
9
+
10
10
+
buildGoModule rec {
11
11
+
pname = "godini";
12
12
+
version = "1.0.0";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "bilbilak";
16
16
+
repo = "godini";
17
17
+
tag = "v${version}";
18
18
+
hash = "sha256-83OAddIoJzAUXPZKGnAx8XPKrdSmtc1EIJUDmRHTU/U=";
19
19
+
};
20
20
+
21
21
+
vendorHash = "sha256-hocnLCzWN8srQcO3BMNkd2lt0m54Qe7sqAhUxVZlz1k=";
22
22
+
23
23
+
ldflags = [
24
24
+
"-s"
25
25
+
"-w"
26
26
+
"-X github.com/bilbilak/godini/config.Version=${version}"
27
27
+
];
28
28
+
29
29
+
passthru = {
30
30
+
tests = {
31
31
+
version = testers.testVersion {
32
32
+
package = godini;
33
33
+
command = "godini --version";
34
34
+
};
35
35
+
};
36
36
+
37
37
+
updateScript = nix-update-script { };
38
38
+
};
39
39
+
40
40
+
meta = {
41
41
+
changelog = "https://github.com/bilbilak/godini/blob/main/CHANGELOG.md";
42
42
+
description = "INI Configuration Management Tool";
43
43
+
homepage = "https://github.com/bilbilak/godini";
44
44
+
license = lib.licenses.gpl3Only;
45
45
+
mainProgram = "godini";
46
46
+
maintainers = with lib.maintainers; [ _4r7if3x ];
47
47
+
platforms = with lib.platforms; unix ++ windows;
48
48
+
};
49
49
+
}