summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-03 22:58:06 +0100
committerLudovic Courtès <ludo@gnu.org>2015-03-03 22:58:46 +0100
commit928d62f225432961c050cdc5cd1f04cf0e509c19 (patch)
tree2150f2db05b38141238758122ed46155c2f2fe0a
parent23c0e74375b3ee274068f850208feaaa3d28b9d6 (diff)
downloadguix-928d62f225432961c050cdc5cd1f04cf0e509c19.tar.gz
gnu: Add bash-completion.
* gnu/packages/bash.scm (bash-completion): New variable.
-rw-r--r--gnu/packages/bash.scm22
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index f565c1a876..c669194c2e 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -206,3 +206,23 @@ without modification.")
                  ,@(if (%current-target-system)
                        '("bash_cv_job_control_missing=no")
                        '()))))))))
+
+(define-public bash-completion
+  (package
+    (name "bash-completion")
+    (version "2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://bash-completion.alioth.debian.org/files/"
+                    "bash-completion-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "0kxf8s5bw7y50x0ksb77d3kv0dwadixhybl818w27y6mlw26hq1b"))))
+    (build-system gnu-build-system)
+    (synopsis "Bash completions for common commands")
+    (description
+     "This package provides extensions that allow Bash to provide adapted
+completion for many common commands.")
+    (home-page "http://bash-completion.alioth.debian.org/")
+    (license gpl2+)))