1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-ggTx5Kz9cRqOqxxzERv4altf7m1GlreGgOiYCnHyJks=";
14 vendorHash = "sha256-6ZDvU3RQ/1M4DZMFOaQsEuodldB8k+2thXNhvZlVQEg=";
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;