summary refs log tree commit diff
path: root/pkgs/development/tools/reflex/default.nix
blob: 86576869a9752d2c9882b25542277e685df5e44a (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, buildGoPackage }:


buildGoPackage rec {
  pname = "reflex";
  version = "0.2.0";

  goPackagePath = "github.com/cespare/reflex";

  src = fetchFromGitHub {
    owner = "cespare";
    repo = "reflex";
    rev = "v${version}";
    sha256 = "0ccwjmf8rjh03hpbmfiy70ai9dhgvb5vp7albffq0cmv2sl69dqr";
  };

  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 ];
  };
}