wails: 2.10.1 -> 2.10.2

This commit is contained in:
thtrf 2025-07-21 11:14:15 +02:00
parent dce17d8f82
commit 8059b99f2c

View File

@ -8,25 +8,26 @@
go, go,
nodejs, nodejs,
zlib, zlib,
nix-update-script,
# Linux specific dependencies # Linux specific dependencies
gtk3, gtk3,
webkitgtk_4_0, webkitgtk_4_1,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "wails"; pname = "wails";
version = "2.10.1"; version = "2.10.2";
src = src =
fetchFromGitHub { fetchFromGitHub {
owner = "wailsapp"; owner = "wailsapp";
repo = "wails"; repo = "wails";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-PLlr2iBvYwJBvozQGvM68Xp3ts7Pt75hGhNZmMhNqbI="; hash = "sha256-b0ns2cXlUT5tPbVEOzQGftxoUqGEDuzj+2KDxNnfs4c=";
} }
+ "/v2"; + "/v2";
vendorHash = "sha256-7f7QJv2PM7/CG30bWSDP4+wuhi5Aa9rXT5voHm+QivE="; vendorHash = "sha256-u1NoAHxBSzw44W3l5MzMxMUjgrfM9EDkKwR4GAPQBVE=";
proxyVendor = true; proxyVendor = true;
@ -52,7 +53,7 @@ buildGoModule rec {
] ]
++ lib.optionals stdenv.hostPlatform.isLinux [ ++ lib.optionals stdenv.hostPlatform.isLinux [
gtk3 gtk3
webkitgtk_4_0 webkitgtk_4_1
]; ];
ldflags = [ ldflags = [
@ -75,7 +76,7 @@ buildGoModule rec {
lib.makeLibraryPath ( lib.makeLibraryPath (
lib.optionals stdenv.hostPlatform.isLinux [ lib.optionals stdenv.hostPlatform.isLinux [
gtk3 gtk3
webkitgtk_4_0 webkitgtk_4_1
] ]
) )
}" \ }" \
@ -83,11 +84,13 @@ buildGoModule rec {
--set CGO_LDFLAGS "-L${lib.makeLibraryPath [ zlib ]}" --set CGO_LDFLAGS "-L${lib.makeLibraryPath [ zlib ]}"
''; '';
passthru.updateScript = nix-update-script { };
meta = { meta = {
description = "Build applications using Go + HTML + CSS + JS"; description = "Build desktop applications using Go & Web Technologies";
homepage = "https://wails.io"; homepage = "https://wails.io";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ]; maintainers = with lib.maintainers; [ thtrf ];
mainProgram = "wails"; mainProgram = "wails";
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };