at 23.11-beta 32 lines 878 B view raw
1{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: 2 3buildGoModule rec { 4 pname = "compile-daemon"; 5 version = "1.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "githubnemo"; 9 repo = "CompileDaemon"; 10 rev = "v${version}"; 11 sha256 = "sha256-gpyXy7FO7ZVXJrkzcKHFez4S/dGiijXfZ9eSJtNlm58="; 12 }; 13 14 vendorHash = "sha256-UpktrXY6OntOA1sxKq3qI59zrOwwCuM+gfGGxPmUJRo="; 15 16 patches = [ 17 (fetchpatch { 18 url = "https://github.com/githubnemo/CompileDaemon/commit/39bc1352dc62fea06dff40c5eaef81ab1bdb1f14.patch"; 19 hash = "sha256-Zftbw2nu8zzaoj0uwEwdq7xlyycdC0xxBu/qE9VHASI="; 20 }) 21 ]; 22 23 ldflags = [ "-s" "-w" ]; 24 25 meta = with lib; { 26 description = "Very simple compile daemon for Go"; 27 homepage = "https://github.com/githubnemo/CompileDaemon"; 28 license = licenses.bsd2; 29 maintainers = with maintainers; [ ]; 30 mainProgram = "CompileDaemon"; 31 }; 32}