1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-fp/pqLpuEqvLoB3ioDd1Kx+i1NUI+bUDJzdaT7dQGSg=";
14 vendorHash = "sha256-M9B19rSEMnmT4wfOVnSAK06UPR/xrs0252lX3B9ebF8=";
19 "-X=main.Version=${version}"
23 install -m 444 -D ${src}/misc/zsh/_ghq $out/share/zsh/site-functions/_ghq
24 install -m 444 -D ${src}/misc/bash/_ghq $out/share/bash-completion/completions/_ghq
28 description = "Remote repository management made easy";
29 homepage = "https://github.com/x-motemen/ghq";
30 maintainers = with lib.maintainers; [ sigma ];
31 license = lib.licenses.mit;