-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathnvfetcher_example.toml
76 lines (63 loc) · 2.37 KB
/
nvfetcher_example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[feeluown-core]
src.pypi = "feeluown"
fetch.pypi = "feeluown"
[apple-emoji]
# A fake version, which is unused in the fetcher
src.manual = "0.0.0.20200413"
fetch.url = "https://github.com/samuelngs/apple-emoji-linux/releases/download/alpha-release-v1.0.0/AppleColorEmoji.ttf"
[nvfetcher-git]
# Follow the latest git commit
src.git = "https://github.com/berberman/nvfetcher"
fetch.github = "berberman/nvfetcher"
[gcc-10]
# Find a tag by regex
src.github_tag = "gcc-mirror/gcc"
# nvchecker list options, which uses regex to filter out a list of tags
src.include_regex = "releases/gcc-10.*"
fetch.github = "gcc-mirror/gcc"
# [vim]
# src.webpage = "http://ftp.vim.org/pub/vim/patches/7.3/"
# src.regex = "7\\.3\\.\\d+"
# fetch.github = "vim/vim"
# # nvchecker global options, which adds prefix `v` to the version number
# src.from_pattern = "(.+)"
# src.to_pattern = "v\\1"
[fd]
src.github = "sharkdp/fd"
fetch.github = "sharkdp/fd"
# Pull the contents of `Cargo.lock` into generated nix expr
extract = ["Cargo.lock"]
[rust-git-dependency-example]
src.manual = "8a5f37a8f80a3b05290707febf57e88661cee442"
fetch.git = "https://gist.github.com/NickCao/6c4dbc4e15db5da107de6cdb89578375"
# Calculate outputHashes for git dependencies in cargo lock
cargo_locks = ["Cargo.lock"]
[vscode-LiveServer]
src.openvsx = "ritwickdey.LiveServer"
fetch.openvsx = "ritwickdey.LiveServer"
passthru = { a.b = "example", publisher = "ritwickdey", name = "LiveServer" }
[cmd-example]
src.cmd = "echo v2.5"
fetch.github = "lilydjwg/nvchecker"
[nixpkgs]
src.git = "https://github.com/NixOS/nixpkgs"
fetch.tarball = "https://github.com/nixos/nixpkgs/archive/$ver.tar.gz"
[alpine]
src.container = "library/alpine"
src.include_regex = "3\\..*"
fetch.docker = "library/alpine"
# To demonstrate package key containing `.`
["submodule.example"]
src.git = "https://github.com/githubtraining/example-dependency"
fetch.git = "https://github.com/githubtraining/example-dependency"
git.fetchSubmodules = true
[wallpaper]
fetch.url = "https://files.yande.re/image/3fc51f6a2fb10c96b73dd0fce6ddb9c8/yande.re%201048717%20dress%20garter%20lolita_fashion%20ruo_gan_zhua.jpg"
src.manual = "latest"
# Override the name of the file in the Nix store
url.name = "wallpaper.jpg"
# To demonstrate how to use `sparseCheckout` option
[noto-fonts-cjk-sans-fix-weight]
src.manual = "Sans2.004"
fetch.github = "notofonts/noto-cjk"
git.sparseCheckout = [ "Sans/OTC" ]