2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-09-22 23:18:08 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lefthook";
|
2021-06-03 21:19:24 +02:00
|
|
|
version = "0.7.6";
|
2019-09-22 23:18:08 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
2021-04-24 03:57:36 +02:00
|
|
|
owner = "evilmartians";
|
2019-09-22 23:18:08 +02:00
|
|
|
repo = "lefthook";
|
2021-06-03 21:19:24 +02:00
|
|
|
sha256 = "sha256-qCj6FsbzxnMISCITKFcIIYtqMiHzSNYNjlpgpE9S/Ss=";
|
2019-09-22 23:18:08 +02:00
|
|
|
};
|
|
|
|
|
2021-05-16 08:03:23 +02:00
|
|
|
vendorSha256 = "sha256-Rp67FnFU27u85t02MIs7wZQoOa8oGsHVVPQ9OdIyTJg=";
|
2019-09-22 23:18:08 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-22 23:18:08 +02: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 05:58:04 +02:00
|
|
|
}
|