git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #6656 from wjlroe/autojump-22.2.4

autojump: Update to 22.2.4

commit716ae5f7a7b5b06aa2a318fa3549c51397ffaa77 authorlethalman <lucabru@src.gnome.org> dateWed 4 Mar 2015, 17:24 (12 years ago) parentc502efcdf73d82
1 file changed+4−7
pkgs/tools/misc/autojump/default.nix+4−7
pkgs/tools/misc/autojump/default.nix+4−7
@@ -1,7 +1,7 @@
11{ fetchurl, stdenv, python, bash }:
22
33let
4− version = "21.6.9";
4+ version = "22.2.4";
55in
66 stdenv.mkDerivation rec {
77 name = "autojump-${version}";
@@ -9,21 +9,18 @@ in
99 src = fetchurl {
1010 url = "http://github.com/joelthelion/autojump/archive/release-v${version}.tar.gz";
1111 name = "autojump-${version}.tar.gz";
12− sha256 = "0js6jp9l83zxhd9bn8hjn4yf8gydnldrlmafgvlg3rd4i1v82649";
12+ sha256 = "816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475";
1313 };
1414
1515 buildInputs = [ python bash ];
1616 dontBuild = true;
1717
1818 installPhase = ''
19− # don't check shell support (we're running with bash anyway)
20− sed -i -e 150,153d install.sh
21−
22− bash ./install.sh -d $out -p ""
19+ python ./install.py -d $out -p ""
2320 chmod +x $out/etc/profile.d/*
2421
2522 mkdir -p "$out/etc/bash_completion.d"
26− cp -v $out/etc/profile.d/autojump.bash "$out/etc/bash_completion.d"
23+ cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d"
2724
2825 # FIXME: What's the right place for `autojump.zsh'?
2926 '';