gitAndTools.lab: 0.15.3 -> 0.16.0 (#62301)
This commit is contained in:
parent
fffaaaef7c
commit
6e86ed9062
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "lab";
|
pname = "lab";
|
||||||
version = "0.15.3";
|
version = "0.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zaquestion";
|
owner = "zaquestion";
|
||||||
repo = "lab";
|
repo = "lab";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00c0ljyvcqrzzcsdb3r37lxd4z2wvwp80ggs8jvp7y32p1b61bsg";
|
sha256 = "0f1gi4mlcxjvz2sgh0hzzsqxg5gfvq2ay7xjd0y1kz3pp8kxja7i";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
@ -16,15 +16,16 @@ buildGoModule rec {
|
|||||||
modSha256 = "0bw47dd1b46ywsian2b957a4ipm77ncidipzri9ra39paqlv7abb";
|
modSha256 = "0bw47dd1b46ywsian2b957a4ipm77ncidipzri9ra39paqlv7abb";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/zsh/site-functions
|
mkdir -p "$out/share/bash-completion/completions" "$out/share/zsh/site-functions"
|
||||||
LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c \
|
export LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c
|
||||||
|
$out/bin/lab completion bash > $out/share/bash-completion/completions/lab
|
||||||
$out/bin/lab completion zsh > $out/share/zsh/site-functions/_lab
|
$out/bin/lab completion zsh > $out/share/zsh/site-functions/_lab
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
|
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
|
||||||
homepage = https://zaquestion.github.io/lab;
|
homepage = https://zaquestion.github.io/lab;
|
||||||
license = licenses.unlicense;
|
license = licenses.cc0;
|
||||||
maintainers = with maintainers; [ marsam dtzWill ];
|
maintainers = with maintainers; [ marsam dtzWill ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user