Merge branch 'master' into staging-next

~4k rebuilds on each Linux.
This commit is contained in:
Vladimír Čunát
2019-11-09 07:20:00 +01:00
321 changed files with 20336 additions and 16482 deletions

View File

@@ -21,13 +21,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "dolphin-emu";
version = "5.0-10879";
version = "5.0-11109";
src = fetchFromGitHub {
owner = "dolphin-emu";
repo = "dolphin";
rev = "c7fc9126aaf447a014af4aed195b17aa593dd49b";
sha256 = "1pf4mxacxhrkvvh9j49ackm8hahl8x0ligmann1pafsb4lw0xbnj";
rev = "93d7b3d15962a3393cf2971e14c4acf54d90cecd";
sha256 = "1kkx3agdsc0qmf3yymlzq315nypm34qvq04qpjqycpfhmpx8gdnq";
};
enableParallelBuilding = true;

File diff suppressed because it is too large Load Diff

View File

@@ -80,17 +80,6 @@ self: super: {
'';
};
# do not auto-update this one, as the name clashes with vim-snippets
vim-docbk-snippets = buildVimPluginFrom2Nix {
pname = "vim-docbk-snippets";
version = "2017-11-02";
src = fetchgit {
url = "https://github.com/jhradilek/vim-snippets";
rev = "69cce66defdf131958f152ea7a7b26c21ca9d009";
sha256 = "1363b2fmv69axrl2hm74dmx51cqd8k7rk116890qllnapzw1zjgc";
};
};
clang_complete = super.clang_complete.overrideAttrs(old: {
# In addition to the arguments you pass to your compiler, you also need to
# specify the path of the C++ std header (if you are using C++).
@@ -390,6 +379,10 @@ self: super: {
'';
});
vim-metamath = super.vim-metamath.overrideAttrs(old: {
preInstall = "cd vim";
});
vim-snipmate = super.vim-snipmate.overrideAttrs(old: {
dependencies = with super; [ vim-addon-mw-utils tlib_vim ];
});

View File

@@ -154,13 +154,13 @@ def get_current_plugins() -> List[Plugin]:
return plugins
def prefetch_plugin(user: str, repo_name: str, cache: "Cache") -> Plugin:
def prefetch_plugin(user: str, repo_name: str, alias: str, cache: "Cache") -> Plugin:
repo = Repo(user, repo_name)
commit, date = repo.latest_commit()
has_submodules = repo.has_submodules()
cached_plugin = cache[commit]
if cached_plugin is not None:
cached_plugin.name = repo_name
cached_plugin.name = alias or repo_name
cached_plugin.date = date
return cached_plugin
@@ -170,7 +170,7 @@ def prefetch_plugin(user: str, repo_name: str, cache: "Cache") -> Plugin:
else:
sha256 = repo.prefetch_github(commit)
return Plugin(repo_name, commit, has_submodules, sha256, date=date)
return Plugin(alias or repo_name, commit, has_submodules, sha256, date=date)
def print_download_error(plugin: str, ex: Exception):
@@ -207,18 +207,30 @@ def check_results(
sys.exit(1)
def parse_plugin_line(line: str) -> Tuple[str, str, str]:
try:
name, repo = line.split('/')
try:
repo, alias = repo.split(' as ')
return (name, repo, alias.strip())
except ValueError:
# no alias defined
return (name, repo.strip(), None)
except ValueError:
return (None, None, None)
def load_plugin_spec() -> List[Tuple[str, str]]:
plugin_file = ROOT.joinpath("vim-plugin-names")
plugins = []
with open(plugin_file) as f:
for line in f:
spec = line.strip()
parts = spec.split("/")
if len(parts) != 2:
msg = f"Invalid repository {spec}, must be in the format owner/repo"
plugin = parse_plugin_line(line)
if not plugin[0]:
msg = f"Invalid repository {line}, must be in the format owner/repo[ as alias]"
print(msg, file=sys.stderr)
sys.exit(1)
plugins.append((parts[0], parts[1]))
plugins.append(plugin)
return plugins
@@ -276,12 +288,12 @@ class Cache:
def prefetch(
args: Tuple[str, str], cache: Cache
args: Tuple[str, str, str], cache: Cache
) -> Tuple[str, str, Union[Exception, Plugin]]:
assert len(args) == 2
owner, repo = args
assert len(args) == 3
owner, repo, alias = args
try:
plugin = prefetch_plugin(owner, repo, cache)
plugin = prefetch_plugin(owner, repo, alias, cache)
cache[plugin.commit] = plugin
return (owner, repo, plugin)
except Exception as e:

View File

@@ -57,6 +57,7 @@ dag/vim-fish
dannyob/quickfixstatus
darfink/starsearch.vim
dart-lang/dart-vim-plugin
david-a-wheeler/vim-metamath
davidhalter/jedi-vim
dcharbon/vim-flatbuffers
deoplete-plugins/deoplete-dictionary
@@ -104,7 +105,11 @@ godlygeek/tabular
google/vim-codefmt
google/vim-jsonnet
google/vim-maktaba
gotcha/vimelette
gregsexton/gitv
guns/vim-clojure-highlight
guns/vim-clojure-static
guns/vim-sexp
guns/xterm-color-table.vim
hashivim/vim-terraform
haya14busa/incsearch-easymotion.vim
@@ -117,6 +122,7 @@ HerringtonDarkholme/yats.vim
honza/vim-snippets
hotwatermorning/auto-git-diff
hsanson/vim-android
hsitz/VimOrganizer
ianks/vim-tsx
icymind/NeoSolarized
idris-hackers/idris-vim
@@ -139,6 +145,7 @@ jeffkreeftmeijer/neovim-sensible
jelera/vim-javascript-syntax
jgdavey/tslime.vim
jhradilek/vim-docbk
jhradilek/vim-snippets as vim-docbk-snippets
jiangmiao/auto-pairs
jistr/vim-nerdtree-tabs
jlanzarotta/bufexplorer
@@ -153,6 +160,7 @@ JuliaEditorSupport/julia-vim
Julian/vim-textobj-variable-segment
junegunn/fzf.vim
junegunn/goyo.vim
junegunn/gv.vim
junegunn/limelight.vim
junegunn/seoul256.vim
junegunn/vader.vim
@@ -226,6 +234,7 @@ MarcWeber/vim-addon-toggle-buffer
MarcWeber/vim-addon-xdebug
markonm/traces.vim
martinda/Jenkinsfile-vim-syntax
mattn/calendar-vim as mattn-calendar-vim
mattn/emmet-vim
mattn/gist-vim
mattn/webapi-vim
@@ -429,8 +438,10 @@ tpope/vim-projectionist
tpope/vim-repeat
tpope/vim-rhubarb
tpope/vim-rsi
tpope/vim-salve
tpope/vim-scriptease
tpope/vim-sensible
tpope/vim-sexp-mappings-for-regular-people
tpope/vim-sleuth
tpope/vim-speeddating
tpope/vim-surround
@@ -447,6 +458,7 @@ tyru/caw.vim
tyru/open-browser-github.vim
tyru/open-browser.vim
uarun/vim-protobuf
udalov/kotlin-vim
ujihisa/neco-look
valloric/youcompleteme
vhda/verilog_systemverilog.vim
@@ -479,6 +491,7 @@ vim-scripts/ReplaceWithRegister
vim-scripts/ShowMultiBase
vim-scripts/tabmerge
vim-scripts/taglist.vim
vim-scripts/utl.vim
vim-scripts/wombat256.vim
vim-scripts/YankRing.vim
vim-utils/vim-husk

View File

@@ -64,7 +64,7 @@ in
mktplcRef = {
name = "latex-workshop";
publisher = "James-Yu";
version = "8.2.0";
version = "8.2.0";
sha256 = "1ai16aam4v5jzhxgms589q0l24kyk1a9in6z4i7g05b3sahyxab2";
};
meta = with stdenv.lib; {
@@ -84,12 +84,61 @@ in
};
};
ms-azuretools.vscode-docker = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-docker";
publisher = "ms-azuretools";
version = "0.8.1";
sha256 = "0n59whmcrx8946xix6skvc50f2vsc85ckvn8cs06w9mqmymm1q0s";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ms-kubernetes-tools.vscode-kubernetes-tools = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-kubernetes-tools";
publisher = "ms-kubernetes-tools";
version = "1.0.6";
sha256 = "12a4phl1pddsajy3n0ld6rp607iy0pif6pqrs6ljbg2x97fyra28";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ms-vscode.Go = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "Go";
publisher = "ms-vscode";
version = "0.11.7";
sha256 = "1l6jjdfivw1pn9y4d4i7zf80ls1k1b0ap1d828ah57ad3bgmyqfi";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ms-vscode.cpptools = callPackage ./cpptools {};
ms-python.python = callPackage ./python {
extractNuGet = callPackage ./python/extract-nuget.nix { };
};
redhat.vscode-yaml = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-yaml";
publisher = "redhat";
version = "0.5.3";
sha256 = "03swlsp906rqlrx6jf3ibh7pk36sm0zdr8jfy6sr3w5lqjg27gka";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
skyapps.fish-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "fish-vscode";
@@ -106,8 +155,8 @@ in
mktplcRef = {
name = "vim";
publisher = "vscodevim";
version = "1.3.0";
sha256 = "18z24w7smjjnv945f8qyy6dl95xckyqa6gg3gijfcigvq5sgyawc";
version = "1.11.3";
sha256 = "1smzsgcrkhghbnpy51gp28kh74l7y4s2m8pfxabb4ffb751254j0";
};
meta = {
license = stdenv.lib.licenses.mit;