mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
all-packages.nix: added package bash-completion
svn path=/nixpkgs/trunk/; revision=27895
This commit is contained in:
parent
1d3c534625
commit
db86b7f237
2 changed files with 28 additions and 0 deletions
26
pkgs/shells/bash-completion/default.nix
Normal file
26
pkgs/shells/bash-completion/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
version = "1.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "bash-completion-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://bash-completion.alioth.debian.org/files/bash-completion-${version}.tar.bz2";
|
||||
sha256 = "8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
rm $out/etc/profile.d/bash_completion.sh
|
||||
rmdir $out/etc/profile.d
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://bash-completion.alioth.debian.org/";
|
||||
description = "Programmable completion for the bash shell";
|
||||
license = "GPL";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
|
@ -1573,6 +1573,8 @@ let
|
|||
interactive = true;
|
||||
});
|
||||
|
||||
bashCompletion = callPackage ../shells/bash-completion { };
|
||||
|
||||
dash = callPackage ../shells/dash { };
|
||||
|
||||
ipython = callPackage ../shells/ipython { };
|
||||
|
|
Loading…
Reference in a new issue