diff options
author | Peter Simons <simons@cryp.to> | 2013-01-30 12:25:11 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-01-30 12:25:11 +0100 |
commit | 07fb82aef3f0514d3d6ceead42061777f8aa60fe (patch) | |
tree | 67505a48b2b6e088d780a8ddc3f8366d59b37cff /pkgs/shells | |
parent | e816889ccccfcac0a23693377bfda6224cd41066 (diff) |
bash-completion: update to current git HEAD at 2.0-95-gd08b9f2
The 2.0 release is 7+ months old, and there has been lots of activity since.
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/bash-completion/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/shells/bash-completion/default.nix b/pkgs/shells/bash-completion/default.nix index 7e4c0f230155e..217489f4dc010 100644 --- a/pkgs/shells/bash-completion/default.nix +++ b/pkgs/shells/bash-completion/default.nix @@ -1,16 +1,18 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchgit, autoconf, automake }: -let - version = "2.0"; -in stdenv.mkDerivation { - name = "bash-completion-${version}"; + name = "bash-completion-2.0-95-gd08b9f2"; - src = fetchurl { - url = "http://bash-completion.alioth.debian.org/files/bash-completion-${version}.tar.bz2"; - sha256 = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804"; + src = fetchgit { + url = "http://anonscm.debian.org/git/bash-completion/bash-completion.git"; + rev = "d08b9f233559b3dced20050ba312b08fe0de53b4"; + sha256 = "0jybaib2bmpk5qd80y1l6wmfcd0b95cmf1l3hcb0ckpj0pjff0bn"; }; + buildInputs = [ autoconf automake ]; + + preConfigure = "autoreconf -i"; + doCheck = true; meta = { @@ -18,6 +20,7 @@ stdenv.mkDerivation { description = "Programmable completion for the bash shell"; license = "GPL"; + platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.simons ]; }; } |