diff options
author | j-hui <j-hui@cs.columbia.edu> | 2021-09-14 10:36:23 -0400 |
---|---|---|
committer | j-hui <j-hui@cs.columbia.edu> | 2021-09-27 22:59:24 -0400 |
commit | 50e10fe084d4d095e6ff533302d6e4e6ddc75780 (patch) | |
tree | 843527f7245fa6805044559516deb7cfc5530998 /pkgs/tools/misc/viddy | |
parent | b3d047de5c0a613efba8edf4785f6121dafc4f95 (diff) |
viddy: init at 0.3.1
Diffstat (limited to 'pkgs/tools/misc/viddy')
-rw-r--r-- | pkgs/tools/misc/viddy/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/viddy/default.nix b/pkgs/tools/misc/viddy/default.nix new file mode 100644 index 0000000000000..1b9158df1ae3c --- /dev/null +++ b/pkgs/tools/misc/viddy/default.nix @@ -0,0 +1,29 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "viddy"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "sachaos"; + repo = pname; + rev = "v${version}"; + sha256 = "18ms4kfv332863vd8b7mmrz39y4b8gvhi6lx9x5385jfzd19w5wx"; + }; + + vendorSha256 = "0789wq4d9cynyadvlwahs4586gc3p78gdpv5wf733lpv1h5rjbv3"; + + ldflags = [ + "-s" + "-w" + "-X" + "main.version=${version}" + ]; + + meta = with lib; { + description = "A modern watch command"; + homepage = "https://github.com/sachaos/viddy"; + license = licenses.mit; + maintainers = with maintainers; [ j-hui ]; + }; +} |