2013-04-10 19:39:03 +04:00
|
|
|
{ stdenv, fetchurl }:
|
2011-07-22 02:02:01 +04:00
|
|
|
|
2013-04-10 19:39:03 +04:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bash-completion-2.1";
|
2011-07-22 02:02:01 +04:00
|
|
|
|
2013-04-10 19:39:03 +04:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bash-completion.alioth.debian.org/files/${name}.tar.bz2";
|
|
|
|
sha256 = "0kxf8s5bw7y50x0ksb77d3kv0dwadixhybl818w27y6mlw26hq1b";
|
2011-07-22 02:02:01 +04:00
|
|
|
};
|
|
|
|
|
2015-02-12 22:18:17 +03:00
|
|
|
patches = [ ./bash-4.3.patch ];
|
|
|
|
|
2012-08-20 12:34:30 +04:00
|
|
|
doCheck = true;
|
2011-07-22 02:02:01 +04:00
|
|
|
|
2016-03-20 17:18:53 +03:00
|
|
|
# nmcli is included in the network-manager package
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/share/bash-completion/completions/nmcli
|
|
|
|
'';
|
|
|
|
|
2011-07-22 02:02:01 +04:00
|
|
|
meta = {
|
|
|
|
homepage = "http://bash-completion.alioth.debian.org/";
|
|
|
|
description = "Programmable completion for the bash shell";
|
|
|
|
license = "GPL";
|
|
|
|
|
2013-01-30 15:25:11 +04:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-05-16 23:30:20 +03:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2011-07-22 02:02:01 +04:00
|
|
|
};
|
|
|
|
}
|