autojump: 21.5.8 -> 21.6.9

This commit is contained in:
Domen Kožar 2013-09-26 01:17:31 +02:00
parent 70a5abd440
commit 8f7545c45b

View File

@ -1,7 +1,7 @@
{ fetchurl, stdenv, python, bash }: { fetchurl, stdenv, python, bash }:
let let
version = "21.5.8"; version = "21.6.9";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "autojump-${version}"; name = "autojump-${version}";
@ -9,7 +9,7 @@ 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 = "07jf5pa9xwmbswsc0h6law9f5qwczsj25w7h034s379imid5h62f"; sha256 = "0js6jp9l83zxhd9bn8hjn4yf8gydnldrlmafgvlg3rd4i1v82649";
}; };
buildInputs = [ python bash ]; buildInputs = [ python bash ];
@ -20,6 +20,7 @@ in
sed -i -e 150,153d install.sh sed -i -e 150,153d install.sh
bash ./install.sh -d $out bash ./install.sh -d $out
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/etc/profile.d/autojump.bash "$out/etc/bash_completion.d"