depot/third_party/nixpkgs/pkgs/development/tools/compile-daemon/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

25 lines
642 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "compile-daemon";
version = "1.4.0";
src = fetchFromGitHub {
owner = "githubnemo";
repo = "CompileDaemon";
rev = "v${version}";
sha256 = "sha256-gpyXy7FO7ZVXJrkzcKHFez4S/dGiijXfZ9eSJtNlm58=";
};
vendorSha256 = "sha256-UDPOeg8jQbDB+Fr4x6ehK7UyQa8ySZy6yNxS1xotkgA=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Very simple compile daemon for Go";
homepage = "https://github.com/githubnemo/CompileDaemon";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
mainProgram = "CompileDaemon";
};
}