about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/reflex/default.nix
blob: 406740e784f02852dec099a59931554ac4188c08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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 = "A small tool to watch a directory and rerun a command when certain files change";
    homepage = "https://github.com/cespare/reflex";
    license = licenses.mit;
    maintainers = with maintainers; [ nicknovitski ];
  };
}