diff options
author | Peter Simons <simons@cryp.to> | 2011-07-21 22:02:01 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-07-21 22:02:01 +0000 |
commit | db86b7f2374482c48fbbb35a7c31711b5fc0a225 (patch) | |
tree | 4c6b7b80e40d15e5c2d14c8af57142a55b8ba54e /pkgs/shells | |
parent | 1d3c534625358107f2348d897197ab56170a13c6 (diff) |
all-packages.nix: added package bash-completion
svn path=/nixpkgs/trunk/; revision=27895
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/bash-completion/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/shells/bash-completion/default.nix b/pkgs/shells/bash-completion/default.nix new file mode 100644 index 000000000000..0cda358b8efb --- /dev/null +++ b/pkgs/shells/bash-completion/default.nix @@ -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 ]; + }; +} |