2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-09-22 22:18:08 +01:00
|
|
|
|
2020-09-13 17:20:22 +01: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
|
|
|
|
|
2019-09-22 22:18:08 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lefthook";
|
2020-05-20 19:49:18 +01:00
|
|
|
version = "0.7.2";
|
2019-09-22 22:18:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "Arkweid";
|
|
|
|
repo = "lefthook";
|
2020-05-20 19:49:18 +01:00
|
|
|
sha256 = "1ciyxjx3r3dcl8xas49kqsjshs1bv4pafmfmhdfyfdvlaj374hgj";
|
2019-09-22 22:18:08 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "1pdrw4vwbj9cka2pjbjvxviigfvnrf8sgws27ixwwiblbkj4isc8";
|
2019-09-22 22:18:08 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-22 22:18:08 +01:00
|
|
|
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-07-31 04:58:04 +01:00
|
|
|
}
|