depot/third_party/nixpkgs/pkgs/development/tools/reflex/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

25 lines
669 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=";
};
vendorSha256 = "sha256-JCtVYDHbhH2i7tGNK1jvgHCjU6gMMkNhQ2ZnlTeqtmA=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A small tool to watch a directory and rerun a command when certain files change";
homepage = "https://github.com/cespare/reflex";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ nicknovitski ];
};
}