Merge pull request #56478 from dtzWill/update/hub-2.10.0
gitAndTools.hub: 2.9.0 -> 2.10.0
This commit is contained in:
commit
7609e1b8b4
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub, ronn, ruby, groff, Security, utillinux, git, glibcLocales }:
|
{ stdenv, buildGoPackage, fetchFromGitHub, groff, Security, utillinux }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "hub";
|
pname = "hub";
|
||||||
version = "2.9.0";
|
version = "2.10.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/github/hub";
|
goPackagePath = "github.com/github/hub";
|
||||||
|
|
||||||
@ -13,12 +13,11 @@ buildGoPackage rec {
|
|||||||
owner = "github";
|
owner = "github";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0yxpr606xx23l8823hjqj16cvjjrwb28c7z08ml1pkfvaf7w4n81";
|
sha256 = "1vvrc3k81jm9c664g0j9666i7ypn7n7jfyj4gxcybq3sg2d4di27";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ groff ronn utillinux glibcLocales ];
|
nativeBuildInputs = [ groff utillinux ];
|
||||||
buildInputs = [ ruby ] ++
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
stdenv.lib.optional stdenv.isDarwin Security;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
@ -30,7 +29,8 @@ buildGoPackage rec {
|
|||||||
install -D etc/hub.bash_completion.sh "$bin/share/bash-completion/completions/hub"
|
install -D etc/hub.bash_completion.sh "$bin/share/bash-completion/completions/hub"
|
||||||
install -D etc/hub.fish_completion "$bin/share/fish/vendor_completions.d/hub.fish"
|
install -D etc/hub.fish_completion "$bin/share/fish/vendor_completions.d/hub.fish"
|
||||||
|
|
||||||
PATH=$PATH:${git}/bin LC_ALL=en_US.utf-8 make man-pages
|
LC_ALL=C.UTF8 \
|
||||||
|
make man-pages
|
||||||
cp -vr --parents share/man/man[1-9]/*.[1-9] $bin/
|
cp -vr --parents share/man/man[1-9]/*.[1-9] $bin/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user