Merge pull request #92590 from r-ryantm/auto-update/stgit
gitAndTools.stgit: 0.22 -> 0.23
This commit is contained in:
commit
a9a8b65b9b
@ -1,28 +1,26 @@
|
|||||||
{ stdenv, python3, python3Packages, fetchFromGitHub, git }:
|
{ stdenv, python3Packages, fetchFromGitHub, git, installShellFiles }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "stgit";
|
pname = "stgit";
|
||||||
version = "0.22";
|
version = "0.23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ctmarinas";
|
owner = "ctmarinas";
|
||||||
repo = "stgit";
|
repo = "stgit";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0xpvs5fa50rrvl2c8naha1nblk5ip2mgg63a9srqqxfx6z8qmrfz";
|
sha256 = "1r9y8qnl6kdvq61788pnfhhgyv2xrnyrizbhy4qz4l1bpqkwfr2r";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ git ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
makeFlags = [ "prefix=$$out" ];
|
checkInputs = [ git ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/etc/bash_completion.d/"
|
installShellCompletion $out/share/stgit/completion/stg.fish
|
||||||
ln -s ../../share/stgit/completion/stgit-completion.bash "$out/etc/bash_completion.d/"
|
installShellCompletion --name stg $out/share/stgit/completion/stgit.bash
|
||||||
|
installShellCompletion --name _stg $out/share/stgit/completion/stgit.zsh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
checkTarget = "test";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A patch manager implemented on top of Git";
|
description = "A patch manager implemented on top of Git";
|
||||||
homepage = "http://procode.org/stgit/";
|
homepage = "http://procode.org/stgit/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user