nixpkgs/pkgs/development/tools/compile-daemon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
878 B
Nix
Raw Normal View History

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
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;
maintainers = with maintainers; [ ];
mainProgram = "CompileDaemon";
2017-03-15 17:17:32 +00:00
};
}