2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-09-22 22:18:08 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lefthook";
|
2021-05-16 07:03:23 +01:00
|
|
|
version = "0.7.5";
|
2019-09-22 22:18:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
2021-04-24 02:57:36 +01:00
|
|
|
owner = "evilmartians";
|
2019-09-22 22:18:08 +01:00
|
|
|
repo = "lefthook";
|
2021-05-16 07:03:23 +01:00
|
|
|
sha256 = "sha256-IKrutZJhs2iuwhXoV+81rDoaSi/xdYRpIlF1YjGFGY4=";
|
2019-09-22 22:18:08 +01:00
|
|
|
};
|
|
|
|
|
2021-05-16 07:03:23 +01:00
|
|
|
vendorSha256 = "sha256-Rp67FnFU27u85t02MIs7wZQoOa8oGsHVVPQ9OdIyTJg=";
|
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
|
|
|
}
|