Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fffaaaef7ca8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6e86ed906233
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 31, 2019

  1. Copy the full SHA
    6e86ed9 View commit details
Showing with 6 additions and 5 deletions.
  1. +6 −5 pkgs/applications/version-management/git-and-tools/lab/default.nix
Original file line number Diff line number Diff line change
@@ -2,29 +2,30 @@

buildGoModule rec {
pname = "lab";
version = "0.15.3";
version = "0.16.0";

src = fetchFromGitHub {
owner = "zaquestion";
repo = "lab";
rev = "v${version}";
sha256 = "00c0ljyvcqrzzcsdb3r37lxd4z2wvwp80ggs8jvp7y32p1b61bsg";
sha256 = "0f1gi4mlcxjvz2sgh0hzzsqxg5gfvq2ay7xjd0y1kz3pp8kxja7i";
};

subPackages = [ "." ];

modSha256 = "0bw47dd1b46ywsian2b957a4ipm77ncidipzri9ra39paqlv7abb";

postInstall = ''
mkdir -p $out/share/zsh/site-functions
LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c \
mkdir -p "$out/share/bash-completion/completions" "$out/share/zsh/site-functions"
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
'';

meta = with stdenv.lib; {
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
homepage = https://zaquestion.github.io/lab;
license = licenses.unlicense;
license = licenses.cc0;
maintainers = with maintainers; [ marsam dtzWill ];
platforms = platforms.all;
};