package: added reforger update
This commit is contained in:
parent
d94d2bb573
commit
0cbe606f9a
1 changed files with 35 additions and 0 deletions
35
packages/reforger-update-api/default.nix
Normal file
35
packages/reforger-update-api/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitea,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "reforger-update-api";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitea {
|
||||||
|
domain = "git.skdevstudios.com";
|
||||||
|
owner = "specCon18";
|
||||||
|
repo = "reforger-update-api";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-MHV9z0O7jksTOxNI+a/aDORMtqO/mC5kiGBe75YWclI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-8kzKNAzXcSxNSY+8H/PbYVV0J2p9q1dn1pbt7lo3g5o=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X=main.Version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
# description = "Manage your charm account on the CLI";
|
||||||
|
# homepage = "https://github.com/charmbracelet/charm";
|
||||||
|
# changelog = "https://github.com/charmbracelet/charm/releases/tag/v${version}";
|
||||||
|
# license = licenses.mit;
|
||||||
|
# maintainers = with maintainers; [ penguwin ];
|
||||||
|
mainProgram = "armareforger_update_checker";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue