depot/third_party/nixpkgs/pkgs/tools/misc/viddy/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

29 lines
617 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "viddy";
version = "0.3.4";
src = fetchFromGitHub {
owner = "sachaos";
repo = pname;
rev = "v${version}";
sha256 = "sha256-V/x969wi5u5ND9QgJfc4vtI2t1G1ETlATzeqnpHMncc=";
};
vendorSha256 = "sha256-LtRHnZF0ynnIp77K9anljqq42BumXohDMwlU7hzSxZk=";
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 ];
};
}