2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
# Currently `buildGo114Module` is passed as `buildGoModule` from
|
|
|
|
# `../default.nix`. Please remove the fixed 1.14 once a new release has been
|
|
|
|
# made and the issue linked below has been closed upstream.
|
|
|
|
|
|
|
|
# https://github.com/Arkweid/lefthook/issues/151
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lefthook";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "0.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "Arkweid";
|
|
|
|
repo = "lefthook";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1ciyxjx3r3dcl8xas49kqsjshs1bv4pafmfmhdfyfdvlaj374hgj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
vendorSha256 = "1pdrw4vwbj9cka2pjbjvxviigfvnrf8sgws27ixwwiblbkj4isc8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Fast and powerful Git hooks manager for any type of projects";
|
|
|
|
homepage = "https://github.com/Arkweid/lefthook";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rencire ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|