gitAndTools.git-bug: 0.6.0 -> 0.7.0
Update to version 0.7.0. Includes switch to buildGoModule because Gopkg.toml has been removed upstream.
This commit is contained in:
parent
1349bcfde7
commit
1cd54c9f36
@ -1,18 +1,20 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "git-bug";
|
||||
version = "0.6.0";
|
||||
rev = "fc568209f073b9d775a09e0dbb8289cf9e5749bf";
|
||||
version = "0.7.0";
|
||||
rev = "71580c41a931a1ad2c04682e0fd701661b716c95";
|
||||
goPackagePath = "github.com/MichaelMure/git-bug";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "MichaelMure";
|
||||
repo = "git-bug";
|
||||
sha256 = "1s18lzip52qpf52ad6m20j306mr16vnwhz9f7rirsa6b7srmcgli";
|
||||
sha256 = "0mhqvcwa6y3hrrv88vbp22k7swzr8xw6ipm80gdpx85yp8j2wdkh";
|
||||
};
|
||||
|
||||
modSha256 = "1cfn49cijiarzzczrpd28x1k7ib98xyzlvn3zghwk2ngfgiah3ld";
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X ${goPackagePath}/commands.GitCommit=${rev}
|
||||
@ -21,10 +23,9 @@ buildGoPackage rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
cd go/src/${goPackagePath}
|
||||
install -D -m 0644 misc/bash_completion/git-bug "$bin/etc/bash_completion.d/git-bug"
|
||||
install -D -m 0644 misc/zsh_completion/git-bug "$bin/share/zsh/site-functions/git-bug"
|
||||
install -D -m 0644 -t "$bin/share/man/man1" doc/man/*
|
||||
install -D -m 0644 misc/bash_completion/git-bug "$out/etc/bash_completion.d/git-bug"
|
||||
install -D -m 0644 misc/zsh_completion/git-bug "$out/share/zsh/site-functions/git-bug"
|
||||
install -D -m 0644 -t "$out/share/man/man1" doc/man/*
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user