Skip to content

Commit

Permalink
godini: init at 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
4r7if3x committed Dec 28, 2024
1 parent 8b4146d commit e2ff22d
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/by-name/go/godini/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
buildGoModule,
fetchFromGitHub,
godini,
lib,
nix-update-script,
testers,
}:

buildGoModule rec {
pname = "godini";
version = "1.0.0";

src = fetchFromGitHub {
owner = "bilbilak";
repo = "godini";
tag = "v${version}";
hash = "sha256-83OAddIoJzAUXPZKGnAx8XPKrdSmtc1EIJUDmRHTU/U=";
};

vendorHash = "sha256-hocnLCzWN8srQcO3BMNkd2lt0m54Qe7sqAhUxVZlz1k=";

ldflags = [
"-s"
"-w"
"-X github.com/bilbilak/godini/config.Version=${version}"
];

passthru = {
tests = {
version = testers.testVersion {
package = godini;
command = "godini --version";
};
};

updateScript = nix-update-script { };
};

meta = {
changelog = "https://github.com/bilbilak/godini/blob/main/CHANGELOG.md";
description = "INI Configuration Management Tool";
homepage = "https://github.com/bilbilak/godini";
license = lib.licenses.gpl3Only;
mainProgram = "godini";
maintainers = with lib.maintainers; [ _4r7if3x ];
platforms = with lib.platforms; unix ++ windows;
};
}

0 comments on commit e2ff22d

Please sign in to comment.