nix-samples/hello-world-go/default.nix
2024-03-17 17:33:12 +01:00

14 lines
394 B
Nix

with import <nixpkgs> {}; buildGoModule {
src = fetchFromGitHub {
owner = "eliben";
repo = "static-server";
rev = "c4f0c0c3fa1ab24de43e3f25fc2eaa17d76be078";
sha256 = "sha256-Lae5fWcW+rGkyGMIlOH3DVCjE+JiAGVgLi+s/5p08cc=";
};
name = "static-server";
vendorHash = "sha256-1p3dCLLo+MTPxf/Y3zjxTagUi+tq7nZSj4ZB/aakJGY=";
checkPhase = ''
echo "bypass tests..."
'';
}