diff --git a/pkgs/development/tools/reflex/default.nix b/pkgs/development/tools/reflex/default.nix new file mode 100644 index 000000000000..3e69b4ffa073 --- /dev/null +++ b/pkgs/development/tools/reflex/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, buildGoPackage }: + + +buildGoPackage rec { + name = "reflex-${version}"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 730e05255cb4..7f96686879a3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4418,6 +4418,8 @@ with pkgs; recoll = callPackage ../applications/search/recoll { }; + reflex = callPackage ../development/tools/reflex { }; + reiser4progs = callPackage ../tools/filesystems/reiser4progs { }; reiserfsprogs = callPackage ../tools/filesystems/reiserfsprogs { };