mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
godini: init at 1.0.0
This commit is contained in:
parent
8b4146d985
commit
e2ff22d3d7
1 changed files with 49 additions and 0 deletions
49
pkgs/by-name/go/godini/package.nix
Normal file
49
pkgs/by-name/go/godini/package.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue