bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
661 B
Nix
25 lines
661 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "reflex";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cespare";
|
|
repo = "reflex";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-/2qVm2xpSFVspA16rkiIw/qckxzXQp/1EGOl0f9KljY=";
|
|
};
|
|
|
|
vendorHash = "sha256-JCtVYDHbhH2i7tGNK1jvgHCjU6gMMkNhQ2ZnlTeqtmA=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Small tool to watch a directory and rerun a command when certain files change";
|
|
mainProgram = "reflex";
|
|
homepage = "https://github.com/cespare/reflex";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
};
|
|
}
|