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