at 16.09-beta 28 lines 695 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "bash-completion-2.1"; 5 6 src = fetchurl { 7 url = "http://bash-completion.alioth.debian.org/files/${name}.tar.bz2"; 8 sha256 = "0kxf8s5bw7y50x0ksb77d3kv0dwadixhybl818w27y6mlw26hq1b"; 9 }; 10 11 patches = [ ./bash-4.3.patch ]; 12 13 doCheck = true; 14 15 # nmcli is included in the network-manager package 16 postInstall = '' 17 rm $out/share/bash-completion/completions/nmcli 18 ''; 19 20 meta = { 21 homepage = "http://bash-completion.alioth.debian.org/"; 22 description = "Programmable completion for the bash shell"; 23 license = "GPL"; 24 25 platforms = stdenv.lib.platforms.unix; 26 maintainers = [ stdenv.lib.maintainers.peti ]; 27 }; 28}