Merge pull request #6656 from wjlroe/autojump-22.2.4
autojump: Update to 22.2.4
This commit is contained in:
commit
716ae5f7a7
@ -1,7 +1,7 @@
|
|||||||
{ fetchurl, stdenv, python, bash }:
|
{ fetchurl, stdenv, python, bash }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "21.6.9";
|
version = "22.2.4";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "autojump-${version}";
|
name = "autojump-${version}";
|
||||||
@ -9,21 +9,18 @@ in
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://github.com/joelthelion/autojump/archive/release-v${version}.tar.gz";
|
url = "http://github.com/joelthelion/autojump/archive/release-v${version}.tar.gz";
|
||||||
name = "autojump-${version}.tar.gz";
|
name = "autojump-${version}.tar.gz";
|
||||||
sha256 = "0js6jp9l83zxhd9bn8hjn4yf8gydnldrlmafgvlg3rd4i1v82649";
|
sha256 = "816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python bash ];
|
buildInputs = [ python bash ];
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
# don't check shell support (we're running with bash anyway)
|
python ./install.py -d $out -p ""
|
||||||
sed -i -e 150,153d install.sh
|
|
||||||
|
|
||||||
bash ./install.sh -d $out -p ""
|
|
||||||
chmod +x $out/etc/profile.d/*
|
chmod +x $out/etc/profile.d/*
|
||||||
|
|
||||||
mkdir -p "$out/etc/bash_completion.d"
|
mkdir -p "$out/etc/bash_completion.d"
|
||||||
cp -v $out/etc/profile.d/autojump.bash "$out/etc/bash_completion.d"
|
cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d"
|
||||||
|
|
||||||
# FIXME: What's the right place for `autojump.zsh'?
|
# FIXME: What's the right place for `autojump.zsh'?
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user