mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
gopodder: 1.2.4 -> 1.2.5
This commit is contained in:
@@ -1,26 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
buildGo127Module,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
versionCheckHook,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
# Temporary until buildGoModule updates to 1.27
|
||||
buildGo127Module (finalAttrs: {
|
||||
pname = "gopodder";
|
||||
version = "1.2.4";
|
||||
version = "1.2.5";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cbrgm";
|
||||
repo = "gopodder";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-OXjtaWm1A/y5RQt/RvwDhRi9eVCZ+mvNRx23XjrK6XM=";
|
||||
hash = "sha256-oKaAiVFQqVB7ArqrUqWg8nWkygtqDjRotfyBDe0q4pY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-MHgh84kzztPLETf3O24lNcfVuOKntKYidczqG8qEyzE=";
|
||||
|
||||
dontPatchELF = true;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-X main.Version=${finalAttrs.version}"
|
||||
"-X main.Revision=${finalAttrs.src.tag}"
|
||||
"-X main.BuildDate=1970-01-01"
|
||||
|
||||
Reference in New Issue
Block a user