nixpkgs/pkgs/by-name/fy/fyne/package.nix
Greg Hellings 4670b06dff
fyne: 2.6.1 -> 1.26.1 (#417095)
fyne: Build from new tools repo
2025-06-27 06:12:59 +02:00

51 lines
837 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
libGL,
libX11,
libXcursor,
libXinerama,
libXi,
libXrandr,
libXxf86vm,
pkg-config,
}:
buildGoModule rec {
pname = "fyne";
version = "1.26.1";
src = fetchFromGitHub {
owner = "fyne-io";
repo = "tools";
rev = "v${version}";
hash = "sha256-eBwbXyhI1s4se7krzTemoSehgSXN7mht70q8mk+yGoM=";
};
vendorHash = "sha256-7B0PCKMfLULmqzIlNFeXhOUThnWSe9+gRhpswbiwLP4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libGL
libX11
libXcursor
libXinerama
libXi
libXrandr
libXxf86vm
];
doCheck = false;
meta = with lib; {
homepage = "https://fyne.io";
description = "Cross platform GUI toolkit in Go";
license = licenses.bsd3;
maintainers = with maintainers; [ greg ];
mainProgram = "fyne";
};
}