Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / compile-daemon / default.nix
blobf18865a7cee5210bdf7aa64ad6d1653e17a1af30
1 { lib, buildGoModule, fetchFromGitHub, fetchpatch }:
3 buildGoModule rec {
4   pname = "compile-daemon";
5   version = "1.4.0";
7   src = fetchFromGitHub {
8     owner = "githubnemo";
9     repo = "CompileDaemon";
10     rev = "v${version}";
11     sha256 = "sha256-gpyXy7FO7ZVXJrkzcKHFez4S/dGiijXfZ9eSJtNlm58=";
12   };
14   vendorHash = "sha256-UpktrXY6OntOA1sxKq3qI59zrOwwCuM+gfGGxPmUJRo=";
16   patches = [
17     (fetchpatch {
18       url = "https://github.com/githubnemo/CompileDaemon/commit/39bc1352dc62fea06dff40c5eaef81ab1bdb1f14.patch";
19       hash = "sha256-Zftbw2nu8zzaoj0uwEwdq7xlyycdC0xxBu/qE9VHASI=";
20     })
21   ];
23   ldflags = [ "-s" "-w" ];
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   };