29 lines
675 B
Nix
29 lines
675 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "git-who";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sinclairtarget";
|
|
repo = "git-who";
|
|
rev = "v${version}";
|
|
hash = "sha256-J+Rl1zmNo4MmCwtpKpNKRNXmzzCKYztA6xvoJjHPEOI=";
|
|
};
|
|
|
|
vendorHash = "sha256-e2P7szjtAn4EFTy+eGi/9cYf/Raw/7O+PbYEOD8i3Hs=";
|
|
# some automated tests require submodule to clone and will fail.
|
|
# see project readme
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Git blame for file trees";
|
|
homepage = "https://github.com/sinclairtarget/git-who";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ mcparland ];
|
|
};
|
|
}
|