Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildGoPackage }:
2
3
4buildGoPackage rec {
5 pname = "reflex";
6 version = "0.2.0";
7
8 goPackagePath = "github.com/cespare/reflex";
9
10 src = fetchFromGitHub {
11 owner = "cespare";
12 repo = "reflex";
13 rev = "v${version}";
14 sha256 = "0ccwjmf8rjh03hpbmfiy70ai9dhgvb5vp7albffq0cmv2sl69dqr";
15 };
16
17 meta = with lib; {
18 description = "A small tool to watch a directory and rerun a command when certain files change";
19 homepage = "https://github.com/cespare/reflex";
20 license = licenses.mit;
21 platforms = platforms.unix;
22 maintainers = with maintainers; [ nicknovitski ];
23 };
24}