1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5}:
6buildGoModule rec {
7 pname = "git-who";
8 version = "1.2";
9
10 src = fetchFromGitHub {
11 owner = "sinclairtarget";
12 repo = "git-who";
13 rev = "v${version}";
14 hash = "sha256-xpY5XIqlCscwJZhtqdYa1yhR9VWgD8FofDXdZ9+afA8=";
15 };
16
17 vendorHash = "sha256-e2P7szjtAn4EFTy+eGi/9cYf/Raw/7O+PbYEOD8i3Hs=";
18 # some automated tests require submodule to clone and will fail.
19 # see project readme
20 doCheck = false;
21
22 meta = {
23 description = "Git blame for file trees";
24 homepage = "https://github.com/sinclairtarget/git-who";
25 license = lib.licenses.mit;
26 maintainers = with lib.maintainers; [ mcparland ];
27 };
28}