2022-11-11 12:12:07 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
2017-03-15 17:17:32 +00:00
|
|
|
|
2022-05-02 14:50:49 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "compile-daemon";
|
|
|
|
version = "1.4.0";
|
2017-03-15 17:17:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "githubnemo";
|
|
|
|
repo = "CompileDaemon";
|
2022-05-02 14:50:49 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-gpyXy7FO7ZVXJrkzcKHFez4S/dGiijXfZ9eSJtNlm58=";
|
2017-03-15 17:17:32 +00:00
|
|
|
};
|
|
|
|
|
2022-11-11 12:12:07 +00:00
|
|
|
vendorHash = "sha256-UpktrXY6OntOA1sxKq3qI59zrOwwCuM+gfGGxPmUJRo=";
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/githubnemo/CompileDaemon/commit/39bc1352dc62fea06dff40c5eaef81ab1bdb1f14.patch";
|
|
|
|
hash = "sha256-Zftbw2nu8zzaoj0uwEwdq7xlyycdC0xxBu/qE9VHASI=";
|
|
|
|
})
|
|
|
|
];
|
2022-05-02 14:50:49 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2017-03-15 17:17:32 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2017-03-15 17:17:32 +00:00
|
|
|
description = "Very simple compile daemon for Go";
|
2022-05-02 14:50:49 +00:00
|
|
|
homepage = "https://github.com/githubnemo/CompileDaemon";
|
2017-03-15 17:17:32 +00:00
|
|
|
license = licenses.bsd2;
|
2018-02-12 05:18:45 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "CompileDaemon";
|
2017-03-15 17:17:32 +00:00
|
|
|
};
|
|
|
|
}
|