2022-04-09 14:56:22 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2018-02-16 20:12:08 +00:00
|
|
|
|
2022-04-09 14:56:22 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "reflex";
|
2022-04-09 14:56:22 +00:00
|
|
|
version = "0.3.1";
|
2018-02-16 20:12:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cespare";
|
|
|
|
repo = "reflex";
|
|
|
|
rev = "v${version}";
|
2022-04-09 14:56:22 +00:00
|
|
|
sha256 = "sha256-/2qVm2xpSFVspA16rkiIw/qckxzXQp/1EGOl0f9KljY=";
|
2018-02-16 20:12:08 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-JCtVYDHbhH2i7tGNK1jvgHCjU6gMMkNhQ2ZnlTeqtmA=";
|
2022-04-09 14:56:22 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2018-02-16 20:12:08 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A small tool to watch a directory and rerun a command when certain files change";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cespare/reflex";
|
2018-02-16 20:12:08 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
|
|
};
|
|
|
|
}
|