1 { lib, buildGoModule, fetchFromGitHub }:
5 version = "unstable-2023-08-12";
7 src = fetchFromGitHub {
10 rev = "23cde3b0d858497a63c21e93ad30859bf197995f";
11 hash = "sha256-oqtkC04TaOkcXkGAZzATCBA0XnFsx7bSGP9ODyhgAxQ=";
14 vendorHash = "sha256-rIIMqYMgLNCMYEH+44v79i8yGbHDmUY21X3h1E2jP9Q=";
16 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
18 subPackages = [ "cmd/gok" ];
21 description = "Turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!";
22 homepage = "https://github.com/gokrazy/gokrazy";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ shayne ];