31b7510e22
The new bash-completion support in NixOS doesn't require this patch anymore. Besides, the patch was insufficient for most purposes anyway: Bash completion modules are spread out over all user profiles listed in $NIX_PROFILES (plus the current-system profile), so getting full support for all installed modules requires support for more than one "bash_completion.d" directory anyway.
24 lines
548 B
Nix
24 lines
548 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
version = "2.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "bash-completion-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://bash-completion.alioth.debian.org/files/bash-completion-${version}.tar.bz2";
|
|
sha256 = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "http://bash-completion.alioth.debian.org/";
|
|
description = "Programmable completion for the bash shell";
|
|
license = "GPL";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|