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