nixpkgs/pkgs/by-name/fy/fyne/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
837 B
Nix
Raw Permalink Normal View History

2024-04-09 22:53:41 -05:00
{
lib,
buildGoModule,
fetchFromGitHub,
libGL,
libX11,
libXcursor,
libXinerama,
libXi,
libXrandr,
libXxf86vm,
pkg-config,
}:
buildGoModule rec {
pname = "fyne";
version = "1.26.1";
2024-04-09 22:53:41 -05:00
src = fetchFromGitHub {
owner = "fyne-io";
repo = "tools";
rev = "v${version}";
hash = "sha256-eBwbXyhI1s4se7krzTemoSehgSXN7mht70q8mk+yGoM=";
2024-04-09 22:53:41 -05:00
};
vendorHash = "sha256-7B0PCKMfLULmqzIlNFeXhOUThnWSe9+gRhpswbiwLP4=";
2024-04-09 22:53:41 -05:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libGL
libX11
libXcursor
libXinerama
libXi
libXrandr
libXxf86vm
];
2024-04-09 22:53:41 -05:00
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";
};
}