Files
nixpkgs/pkgs/by-name/go/gokrazy/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
806 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gokrazy";
version = "0-unstable-2024-09-27";
src = fetchFromGitHub {
owner = "gokrazy";
repo = "tools";
rev = "6bec690fe5cdabca7aeec52257118d4ff7d7b060";
hash = "sha256-EJ0qEsXhBssWUrzyhtL0So0Yaxzr843QNwoE0tppeuk=";
};
vendorHash = "sha256-B/46VGCbLE/6LgW2wfKoHI9cyveE6hE/AfAZzIG5J+g=";
ldflags = [
"-s"
"-w"
"-X=main.Version=${version}"
];
subPackages = [ "cmd/gok" ];
meta = with lib; {
description = "Turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs";
homepage = "https://github.com/gokrazy/gokrazy";
license = licenses.bsd3;
maintainers = with maintainers; [ shayne ];
mainProgram = "gok";
};
}