nixpkgs/pkgs/development/tools/reflex/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
635 B
Nix
Raw Normal View History

2022-04-09 14:56:22 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
2018-02-16 20:12:08 +00:00
2022-04-09 14:56:22 +00:00
buildGoModule rec {
pname = "reflex";
2022-04-09 14:56:22 +00:00
version = "0.3.1";
2018-02-16 20:12:08 +00:00
src = fetchFromGitHub {
owner = "cespare";
repo = "reflex";
rev = "v${version}";
2022-04-09 14:56:22 +00:00
sha256 = "sha256-/2qVm2xpSFVspA16rkiIw/qckxzXQp/1EGOl0f9KljY=";
2018-02-16 20:12:08 +00:00
};
vendorHash = "sha256-JCtVYDHbhH2i7tGNK1jvgHCjU6gMMkNhQ2ZnlTeqtmA=";
2022-04-09 14:56:22 +00:00
ldflags = [ "-s" "-w" ];
2018-02-16 20:12:08 +00:00
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";
2018-02-16 20:12:08 +00:00
license = licenses.mit;
maintainers = with maintainers; [ nicknovitski ];
};
}