Merge master into haskell-updates

This commit is contained in:
github-actions[bot]
2023-08-14 00:11:47 +00:00
committed by GitHub
258 changed files with 7197 additions and 5444 deletions
+10
View File
@@ -4708,6 +4708,11 @@
githubId = 7875;
name = "Rommel Martinez";
};
eclairevoyant = {
github = "eclairevoyant";
githubId = 848000;
name = "éclairevoyant";
};
edanaher = {
email = "nixos@edanaher.net";
github = "edanaher";
@@ -7905,6 +7910,11 @@
githubId = 31008330;
name = "Jann Marc Villablanca";
};
jgarcia = {
github = "chewblacka";
githubId = 18430320;
name = "John Garcia";
};
jgart = {
email = "jgart@dismail.de";
github = "jgarte";
+106 -77
View File
@@ -4,20 +4,20 @@
# - maintainers/scripts/update-luarocks-packages
# format:
# $ nix run nixpkgs.python3Packages.black -c black update.py
# $ nix run nixpkgs#black maintainers/scripts/pluginupdate.py
# type-check:
# $ nix run nixpkgs.python3Packages.mypy -c mypy update.py
# $ nix run nixpkgs#python3.pkgs.mypy maintainers/scripts/pluginupdate.py
# linted:
# $ nix run nixpkgs.python3Packages.flake8 -c flake8 --ignore E501,E265 update.py
# $ nix run nixpkgs#python3.pkgs.flake8 -- --ignore E501,E265 maintainers/scripts/pluginupdate.py
import argparse
import csv
import functools
import http
import json
import logging
import os
import subprocess
import logging
import sys
import time
import traceback
@@ -25,14 +25,14 @@ import urllib.error
import urllib.parse
import urllib.request
import xml.etree.ElementTree as ET
from dataclasses import asdict, dataclass
from datetime import datetime
from functools import wraps
from multiprocessing.dummy import Pool
from pathlib import Path
from typing import Dict, List, Optional, Tuple, Union, Any, Callable
from urllib.parse import urljoin, urlparse
from tempfile import NamedTemporaryFile
from dataclasses import dataclass, asdict
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
from urllib.parse import urljoin, urlparse
import git
@@ -41,12 +41,13 @@ ATOM_LINK = "{http://www.w3.org/2005/Atom}link" # "
ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
LOG_LEVELS = {
logging.getLevelName(level): level for level in [
logging.DEBUG, logging.INFO, logging.WARN, logging.ERROR ]
logging.getLevelName(level): level
for level in [logging.DEBUG, logging.INFO, logging.WARN, logging.ERROR]
}
log = logging.getLogger()
def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: float = 2):
"""Retry calling the decorated function using an exponential backoff.
http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/
@@ -77,6 +78,7 @@ def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: floa
return deco_retry
@dataclass
class FetchConfig:
proc: int
@@ -91,22 +93,21 @@ def make_request(url: str, token=None) -> urllib.request.Request:
# a dictionary of plugins and their new repositories
Redirects = Dict['PluginDesc', 'Repo']
Redirects = Dict["PluginDesc", "Repo"]
class Repo:
def __init__(
self, uri: str, branch: str
) -> None:
def __init__(self, uri: str, branch: str) -> None:
self.uri = uri
'''Url to the repo'''
"""Url to the repo"""
self._branch = branch
# Redirect is the new Repo to use
self.redirect: Optional['Repo'] = None
self.redirect: Optional["Repo"] = None
self.token = "dummy_token"
@property
def name(self):
return self.uri.split('/')[-1]
return self.uri.split("/")[-1]
@property
def branch(self):
@@ -114,6 +115,7 @@ class Repo:
def __str__(self) -> str:
return f"{self.uri}"
def __repr__(self) -> str:
return f"Repo({self.name}, {self.uri})"
@@ -125,9 +127,9 @@ class Repo:
def latest_commit(self) -> Tuple[str, datetime]:
log.debug("Latest commit")
loaded = self._prefetch(None)
updated = datetime.strptime(loaded['date'], "%Y-%m-%dT%H:%M:%S%z")
updated = datetime.strptime(loaded["date"], "%Y-%m-%dT%H:%M:%S%z")
return loaded['rev'], updated
return loaded["rev"], updated
def _prefetch(self, ref: Optional[str]):
cmd = ["nix-prefetch-git", "--quiet", "--fetch-submodules", self.uri]
@@ -144,23 +146,23 @@ class Repo:
return loaded["sha256"]
def as_nix(self, plugin: "Plugin") -> str:
return f'''fetchgit {{
return f"""fetchgit {{
url = "{self.uri}";
rev = "{plugin.commit}";
sha256 = "{plugin.sha256}";
}}'''
}}"""
class RepoGitHub(Repo):
def __init__(
self, owner: str, repo: str, branch: str
) -> None:
def __init__(self, owner: str, repo: str, branch: str) -> None:
self.owner = owner
self.repo = repo
self.token = None
'''Url to the repo'''
"""Url to the repo"""
super().__init__(self.url(""), branch)
log.debug("Instantiating github repo owner=%s and repo=%s", self.owner, self.repo)
log.debug(
"Instantiating github repo owner=%s and repo=%s", self.owner, self.repo
)
@property
def name(self):
@@ -213,7 +215,6 @@ class RepoGitHub(Repo):
new_repo = RepoGitHub(owner=new_owner, repo=new_name, branch=self.branch)
self.redirect = new_repo
def prefetch(self, commit: str) -> str:
if self.has_submodules():
sha256 = super().prefetch(commit)
@@ -233,12 +234,12 @@ class RepoGitHub(Repo):
else:
submodule_attr = ""
return f'''fetchFromGitHub {{
return f"""fetchFromGitHub {{
owner = "{self.owner}";
repo = "{self.repo}";
rev = "{plugin.commit}";
sha256 = "{plugin.sha256}";{submodule_attr}
}}'''
}}"""
@dataclass(frozen=True)
@@ -258,15 +259,14 @@ class PluginDesc:
return self.repo.name < other.repo.name
@staticmethod
def load_from_csv(config: FetchConfig, row: Dict[str, str]) -> 'PluginDesc':
def load_from_csv(config: FetchConfig, row: Dict[str, str]) -> "PluginDesc":
branch = row["branch"]
repo = make_repo(row['repo'], branch.strip())
repo = make_repo(row["repo"], branch.strip())
repo.token = config.github_token
return PluginDesc(repo, branch.strip(), row["alias"])
@staticmethod
def load_from_string(config: FetchConfig, line: str) -> 'PluginDesc':
def load_from_string(config: FetchConfig, line: str) -> "PluginDesc":
branch = "HEAD"
alias = None
uri = line
@@ -279,6 +279,7 @@ class PluginDesc:
repo.token = config.github_token
return PluginDesc(repo, branch.strip(), alias)
@dataclass
class Plugin:
name: str
@@ -302,22 +303,38 @@ class Plugin:
return copy
def load_plugins_from_csv(config: FetchConfig, input_file: Path,) -> List[PluginDesc]:
def load_plugins_from_csv(
config: FetchConfig,
input_file: Path,
) -> List[PluginDesc]:
log.debug("Load plugins from csv %s", input_file)
plugins = []
with open(input_file, newline='') as csvfile:
with open(input_file, newline="") as csvfile:
log.debug("Writing into %s", input_file)
reader = csv.DictReader(csvfile,)
reader = csv.DictReader(
csvfile,
)
for line in reader:
plugin = PluginDesc.load_from_csv(config, line)
plugins.append(plugin)
return plugins
def run_nix_expr(expr):
with CleanEnvironment():
cmd = ["nix", "eval", "--extra-experimental-features",
"nix-command", "--impure", "--json", "--expr", expr]
with CleanEnvironment() as nix_path:
cmd = [
"nix",
"eval",
"--extra-experimental-features",
"nix-command",
"--impure",
"--json",
"--expr",
expr,
"--nix-path",
nix_path,
]
log.debug("Running command %s", " ".join(cmd))
out = subprocess.check_output(cmd)
data = json.loads(out)
@@ -348,7 +365,7 @@ class Editor:
self.nixpkgs_repo = None
def add(self, args):
'''CSV spec'''
"""CSV spec"""
log.debug("called the 'add' command")
fetch_config = FetchConfig(args.proc, args.github_token)
editor = self
@@ -356,23 +373,27 @@ class Editor:
log.debug("using plugin_line", plugin_line)
pdesc = PluginDesc.load_from_string(fetch_config, plugin_line)
log.debug("loaded as pdesc", pdesc)
append = [ pdesc ]
editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, append=append)
plugin, _ = prefetch_plugin(pdesc, )
append = [pdesc]
editor.rewrite_input(
fetch_config, args.input_file, editor.deprecated, append=append
)
plugin, _ = prefetch_plugin(
pdesc,
)
autocommit = not args.no_commit
if autocommit:
commit(
editor.nixpkgs_repo,
"{drv_name}: init at {version}".format(
drv_name=editor.get_drv_name(plugin.normalized_name),
version=plugin.version
version=plugin.version,
),
[args.outfile, args.input_file],
)
# Expects arguments generated by 'update' subparser
def update(self, args ):
'''CSV spec'''
def update(self, args):
"""CSV spec"""
print("the update member function should be overriden in subclasses")
def get_current_plugins(self) -> List[Plugin]:
@@ -385,11 +406,11 @@ class Editor:
return plugins
def load_plugin_spec(self, config: FetchConfig, plugin_file) -> List[PluginDesc]:
'''CSV spec'''
"""CSV spec"""
return load_plugins_from_csv(config, plugin_file)
def generate_nix(self, _plugins, _outfile: str):
'''Returns nothing for now, writes directly to outfile'''
"""Returns nothing for now, writes directly to outfile"""
raise NotImplementedError()
def get_update(self, input_file: str, outfile: str, config: FetchConfig):
@@ -413,7 +434,6 @@ class Editor:
return update
@property
def attr_path(self):
return self.name + "Plugins"
@@ -427,10 +447,11 @@ class Editor:
def create_parser(self):
common = argparse.ArgumentParser(
add_help=False,
description=(f"""
description=(
f"""
Updates nix derivations for {self.name} plugins.\n
By default from {self.default_in} to {self.default_out}"""
)
),
)
common.add_argument(
"--input-names",
@@ -463,26 +484,33 @@ class Editor:
Uses GITHUB_API_TOKEN environment variables as the default value.""",
)
common.add_argument(
"--no-commit", "-n", action="store_true", default=False,
help="Whether to autocommit changes"
"--no-commit",
"-n",
action="store_true",
default=False,
help="Whether to autocommit changes",
)
common.add_argument(
"--debug", "-d", choices=LOG_LEVELS.keys(),
"--debug",
"-d",
choices=LOG_LEVELS.keys(),
default=logging.getLevelName(logging.WARN),
help="Adjust log level"
help="Adjust log level",
)
main = argparse.ArgumentParser(
parents=[common],
description=(f"""
description=(
f"""
Updates nix derivations for {self.name} plugins.\n
By default from {self.default_in} to {self.default_out}"""
)
),
)
subparsers = main.add_subparsers(dest="command", required=False)
padd = subparsers.add_parser(
"add", parents=[],
"add",
parents=[],
description="Add new plugin",
add_help=False,
)
@@ -502,10 +530,12 @@ class Editor:
pupdate.set_defaults(func=self.update)
return main
def run(self,):
'''
def run(
self,
):
"""
Convenience function
'''
"""
parser = self.create_parser()
args = parser.parse_args()
command = args.command or "update"
@@ -518,17 +548,15 @@ class Editor:
getattr(self, command)(args)
class CleanEnvironment(object):
def __enter__(self) -> None:
def __enter__(self) -> str:
self.old_environ = os.environ.copy()
local_pkgs = str(Path(__file__).parent.parent.parent)
os.environ["NIX_PATH"] = f"localpkgs={local_pkgs}"
self.empty_config = NamedTemporaryFile()
self.empty_config.write(b"{}")
self.empty_config.flush()
os.environ["NIXPKGS_CONFIG"] = self.empty_config.name
return f"localpkgs={local_pkgs}"
def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None:
os.environ.update(self.old_environ)
@@ -570,14 +598,15 @@ def print_download_error(plugin: PluginDesc, ex: Exception):
]
print("\n".join(tb_lines))
def check_results(
results: List[Tuple[PluginDesc, Union[Exception, Plugin], Optional[Repo]]]
) -> Tuple[List[Tuple[PluginDesc, Plugin]], Redirects]:
''' '''
""" """
failures: List[Tuple[PluginDesc, Exception]] = []
plugins = []
redirects: Redirects = {}
for (pdesc, result, redirect) in results:
for pdesc, result, redirect in results:
if isinstance(result, Exception):
failures.append((pdesc, result))
else:
@@ -594,17 +623,18 @@ def check_results(
else:
print(f", {len(failures)} plugin(s) could not be downloaded:\n")
for (plugin, exception) in failures:
for plugin, exception in failures:
print_download_error(plugin, exception)
sys.exit(1)
def make_repo(uri: str, branch) -> Repo:
'''Instantiate a Repo with the correct specialization depending on server (gitub spec)'''
"""Instantiate a Repo with the correct specialization depending on server (gitub spec)"""
# dumb check to see if it's of the form owner/repo (=> github) or https://...
res = urlparse(uri)
if res.netloc in [ "github.com", ""]:
res = res.path.strip('/').split('/')
if res.netloc in ["github.com", ""]:
res = res.path.strip("/").split("/")
repo = RepoGitHub(res[0], res[1], branch)
else:
repo = Repo(uri.strip(), branch)
@@ -675,7 +705,6 @@ def prefetch(
return (pluginDesc, e, None)
def rewrite_input(
config: FetchConfig,
input_file: Path,
@@ -684,12 +713,14 @@ def rewrite_input(
redirects: Redirects = {},
append: List[PluginDesc] = [],
):
plugins = load_plugins_from_csv(config, input_file,)
plugins = load_plugins_from_csv(
config,
input_file,
)
plugins.extend(append)
if redirects:
cur_date_iso = datetime.now().strftime("%Y-%m-%d")
with open(deprecated, "r") as f:
deprecations = json.load(f)
@@ -709,8 +740,8 @@ def rewrite_input(
with open(input_file, "w") as f:
log.debug("Writing into %s", input_file)
# fields = dataclasses.fields(PluginDesc)
fieldnames = ['repo', 'branch', 'alias']
writer = csv.DictWriter(f, fieldnames, dialect='unix', quoting=csv.QUOTE_NONE)
fieldnames = ["repo", "branch", "alias"]
writer = csv.DictWriter(f, fieldnames, dialect="unix", quoting=csv.QUOTE_NONE)
writer.writeheader()
for plugin in sorted(plugins):
writer.writerow(asdict(plugin))
@@ -726,7 +757,6 @@ def commit(repo: git.Repo, message: str, files: List[Path]) -> None:
print("no changes in working tree to commit")
def update_plugins(editor: Editor, args):
"""The main entry function of this module. All input arguments are grouped in the `Editor`."""
@@ -751,4 +781,3 @@ def update_plugins(editor: Editor, args):
f"{editor.attr_path}: resolve github repository redirects",
[args.outfile, args.input_file, editor.deprecated],
)
@@ -136,6 +136,10 @@
- `pharo` has been updated to latest stable (PharoVM 10.0.5), which is compatible with the latest stable and oldstable images (Pharo 10 and 11). The VM in question is the 64bit Spur. The 32bit version has been dropped due to lack of maintenance. The Cog VM has been deleted because it is severily outdated. Finally, the `pharo-launcher` package has been deleted because it was not compatible with the newer VM, and due to lack of maintenance.
- Emacs mainline version 29 was introduced. This new version includes many major additions, most notably `tree-sitter` support (enabled by default) and the pgtk variant (useful for Wayland users), which is available under the attribute `emacs29-pgtk`.
- Emacs macport version 29 was introduced.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.
@@ -170,6 +174,8 @@
- `services.fail2ban.jails` can now be configured with attribute sets defining settings and filters instead of lines. The stringed options `daemonConfig` and `extraSettings` have respectively been replaced by `daemonSettings` and `jails.DEFAULT.settings` which use attribute sets.
- The application firewall `opensnitch` now uses the process monitor method eBPF as default as recommended by upstream. The method can be changed with the setting [services.opensnitch.settings.ProcMonitorMethod](#opt-services.opensnitch.settings.ProcMonitorMethod).
- The module [services.ankisyncd](#opt-services.ankisyncd.package) has been switched to [anki-sync-server-rs](https://github.com/ankicommunity/anki-sync-server-rs) from the old python version, which was difficult to update, had not been updated in a while, and did not support recent versions of anki.
Unfortunately all servers supporting new clients (newer version of anki-sync-server, anki's built in sync server and this new rust package) do not support the older sync protocol that was used in the old server, so such old clients will also need updating and in particular the anki package in nixpkgs is also being updated in this release.
The module update takes care of the new config syntax and the data itself (user login and cards) are compatible, so users of the module will be able to just log in again after updating both client and server without any extra action.
@@ -1,7 +1,7 @@
{
x86_64-linux = "/nix/store/ny9r65799s7xhp605bc2753sjvzkxrrs-nix-2.15.1";
i686-linux = "/nix/store/ck55dz5klc7szi8rx9ghhm8gi2b5q5bw-nix-2.15.1";
aarch64-linux = "/nix/store/cl0a02vr28913dgw98hrm45a4baqr3z1-nix-2.15.1";
x86_64-darwin = "/nix/store/wq228jdbz16pp2lnxf32n8dv27pw53p8-nix-2.15.1";
aarch64-darwin = "/nix/store/x11cpsjg4q236msfz5scc325pfp9xy64-nix-2.15.1";
x86_64-linux = "/nix/store/3wqasl97rjiza3vd7fxjnvli2w9l30mk-nix-2.17.0";
i686-linux = "/nix/store/z360xswxfx55pmm1fng3hw748rbs0kkj-nix-2.17.0";
aarch64-linux = "/nix/store/9670sxa916xmv8n1kqs7cdvmnsrhrdjv-nix-2.17.0";
x86_64-darwin = "/nix/store/2rdbky9j8hc3mbgl6pnda4hkjllyfwnn-nix-2.17.0";
aarch64-darwin = "/nix/store/jl9qma14fb4zk9lq1k0syw2k9qm2gqjw-nix-2.17.0";
}
@@ -31,6 +31,8 @@ let
cfg = config.services.gitea-actions-runner;
settingsFormat = pkgs.formats.yaml { };
# Check whether any runner instance label requires a container runtime
# Empty label strings result in the upstream defined defaultLabels, which require docker
# https://gitea.com/gitea/act_runner/src/tag/v0.1.5/internal/app/cmd/register.go#L93-L98
@@ -119,6 +121,18 @@ in
that follows the filesystem hierarchy standard.
'';
};
settings = mkOption {
description = lib.mdDoc ''
Configuration for `act_runner daemon`.
See https://gitea.com/gitea/act_runner/src/branch/main/internal/pkg/config/config.example.yaml for an example configuration
'';
type = types.submodule {
freeformType = settingsFormat.type;
};
default = { };
};
hostPackages = mkOption {
type = listOf package;
@@ -169,6 +183,7 @@ in
wantsHost = hasHostScheme instance;
wantsDocker = wantsContainerRuntime && config.virtualisation.docker.enable;
wantsPodman = wantsContainerRuntime && config.virtualisation.podman.enable;
configFile = settingsFormat.generate "config.yaml" instance.settings;
in
nameValuePair "gitea-runner-${escapeSystemdPath name}" {
inherit (instance) enable;
@@ -196,7 +211,12 @@ in
User = "gitea-runner";
StateDirectory = "gitea-runner";
WorkingDirectory = "-/var/lib/gitea-runner/${name}";
ExecStartPre = pkgs.writeShellScript "gitea-register-runner-${name}" ''
# gitea-runner might fail when gitea is restarted during upgrade.
Restart = "on-failure";
RestartSec = 2;
ExecStartPre = [(pkgs.writeShellScript "gitea-register-runner-${name}" ''
export INSTANCE_DIR="$STATE_DIRECTORY/${name}"
mkdir -vp "$INSTANCE_DIR"
cd "$INSTANCE_DIR"
@@ -221,8 +241,8 @@ in
echo "$LABELS_WANTED" > "$LABELS_FILE"
fi
'';
ExecStart = "${cfg.package}/bin/act_runner daemon";
'')];
ExecStart = "${cfg.package}/bin/act_runner daemon --config ${configFile}";
SupplementaryGroups = optionals (wantsDocker) [
"docker"
] ++ optionals (wantsPodman) [
+1 -1
View File
@@ -351,7 +351,7 @@ in {
CacheDirectory = dirs cacheDirs;
RuntimeDirectory = dirName;
ReadWriteDirectories = lib.mkIf useCustomDir [ cfg.storageDir ];
StateDirectory = dirs (lib.optional (!useCustomDir) libDirs);
StateDirectory = dirs (lib.optionals (!useCustomDir) libDirs);
LogsDirectory = dirName;
PrivateTmp = true;
ProtectSystem = "strict";
@@ -13,7 +13,9 @@ in
example = [ "a8a2c3c10c1a68de" ];
type = types.listOf types.str;
description = lib.mdDoc ''
List of ZeroTier Network IDs to join on startup
List of ZeroTier Network IDs to join on startup.
Note that networks are only ever joined, but not automatically left after removing them from the list.
To remove networks, use the ZeroTier CLI: `zerotier-cli leave <network-id>`
'';
};
+12 -2
View File
@@ -147,7 +147,7 @@ in {
config = mkIf cfg.enable {
# pkg.opensnitch is referred to elsewhere in the module so we don't need to worry about it being garbage collected
services.opensnitch.settings = mapAttrs (_: v: mkDefault v) (builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile "${pkgs.opensnitch}/etc/default-config.json")));
services.opensnitch.settings = mapAttrs (_: v: mkDefault v) (builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile "${pkgs.opensnitch}/etc/opensnitchd/default-config.json")));
systemd = {
packages = [ pkgs.opensnitch ];
@@ -171,9 +171,19 @@ in {
${concatMapStrings ({ file, local }: ''
ln -sf '${file}' "${local}"
'') rules}
if [ ! -f /etc/opensnitch-system-fw.json ]; then
cp "${pkgs.opensnitch}/etc/opensnitchd/system-fw.json" "/etc/opensnitchd/system-fw.json"
fi
'');
environment.etc."opensnitchd/default-config.json".source = format.generate "default-config.json" cfg.settings;
environment.etc = mkMerge [ ({
"opensnitchd/default-config.json".source = format.generate "default-config.json" cfg.settings;
}) (mkIf (cfg.settings.ProcMonitorMethod == "ebpf") {
"opensnitchd/opensnitch.o".source = "${config.boot.kernelPackages.opensnitch-ebpf}/etc/opensnitchd/opensnitch.o";
"opensnitchd/opensnitch-dns.o".source = "${config.boot.kernelPackages.opensnitch-ebpf}/etc/opensnitchd/opensnitch-dns.o";
"opensnitchd/opensnitch-procs.o".source = "${config.boot.kernelPackages.opensnitch-ebpf}/etc/opensnitchd/opensnitch-procs.o";
})];
};
}
@@ -226,6 +226,10 @@ in
serviceConfig = {
ExecStart = "${pkgs.rustus}/bin/rustus";
StateDirectory = "rustus";
# User name is defined here to enable restoring a backup for example
# You will run the backup restore command as sudo -u rustus in order
# to have write permissions to /var/lib
User = "rustus";
DynamicUser = true;
LoadCredential = lib.optionals isHybridS3 [
"S3_ACCESS_KEY_PATH:${cfg.storage.s3_access_key_file}"
+53 -5
View File
@@ -1,8 +1,32 @@
{ config, options, lib, pkgs, ... }:
with lib;
let
inherit (lib)
all
concatMap
concatMapStrings
concatStrings
concatStringsSep
escapeShellArg
flip
foldr
forEach
hasPrefix
mapAttrsToList
literalExpression
makeBinPath
mkDefault
mkIf
mkMerge
mkOption
mkRemovedOptionModule
mkRenamedOptionModule
optional
optionals
optionalString
replaceStrings
types
;
cfg = config.boot.loader.grub;
@@ -63,7 +87,9 @@ let
extraGrubInstallArgs
extraEntriesBeforeNixOS extraPrepareConfig configurationLimit copyKernels
default fsIdentifier efiSupport efiInstallAsRemovable gfxmodeEfi gfxmodeBios gfxpayloadEfi gfxpayloadBios
users;
users
timeoutStyle
;
path = with pkgs; makeBinPath (
[ coreutils gnused gnugrep findutils diffutils btrfs-progs util-linux mdadm ]
++ optional cfg.efiSupport efibootmgr
@@ -148,7 +174,7 @@ in
(as opposed to external files) will be copied into the Nix store, and
will be visible to all local users.
'';
type = with types; attrsOf (submodule {
type = types.attrsOf (types.submodule {
options = {
hashedPasswordFile = mkOption {
example = "/path/to/file";
@@ -425,6 +451,28 @@ in
'';
};
timeoutStyle = mkOption {
default = "menu";
type = types.enum [ "menu" "countdown" "hidden" ];
description = lib.mdDoc ''
- `menu` shows the menu.
- `countdown` uses a text-mode countdown.
- `hidden` hides GRUB entirely.
When using a theme, the default value (`menu`) is appropriate for the graphical countdown.
When attempting to do flicker-free boot, `hidden` should be used.
See the [GRUB documentation section about `timeout_style`](https://www.gnu.org/software/grub/manual/grub/html_node/timeout.html).
::: {.note}
If this option is set to countdown or hidden [...] and ESC or F4 are pressed, or SHIFT is held down during that time, it will display the menu and wait for input.
:::
From: [Simple configuration handling page, under GRUB_TIMEOUT_STYLE](https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html).
'';
};
entryOptions = mkOption {
default = "--class nixos --unrestricted";
type = types.nullOr types.str;
@@ -699,7 +747,7 @@ in
boot.loader.grub.extraPrepareConfig =
concatStrings (mapAttrsToList (n: v: ''
${pkgs.coreutils}/bin/cp -pf "${v}" "@bootPath@/${n}"
${pkgs.coreutils}/bin/install -Dp "${v}" "${efi.efiSysMountPoint}/"${escapeShellArg n}
'') config.boot.loader.grub.extraFiles);
assertions = [
@@ -75,6 +75,7 @@ my $backgroundColor = get("backgroundColor");
my $configurationLimit = int(get("configurationLimit"));
my $copyKernels = get("copyKernels") eq "true";
my $timeout = int(get("timeout"));
my $timeoutStyle = get("timeoutStyle");
my $defaultEntry = get("default");
my $fsIdentifier = get("fsIdentifier");
my $grubEfi = get("grubEfi");
@@ -319,6 +320,7 @@ $conf .= "
set default=$defaultEntryText
set timeout=$timeout
fi
set timeout_style=$timeoutStyle
function savedefault {
if [ -z \"\${boot_once}\"]; then
@@ -383,6 +385,31 @@ rmtree("$bootPath/theme") or die "cannot clean up theme folder in $bootPath\n" i
if ($theme) {
# Copy theme
rcopy($theme, "$bootPath/theme") or die "cannot copy $theme to $bootPath\n";
# Detect which modules will need to be loaded
my $with_png = 0;
my $with_jpeg = 0;
find({ wanted => sub {
if ($_ =~ /\.png$/i) {
$with_png = 1;
}
elsif ($_ =~ /\.jpe?g$/i) {
$with_jpeg = 1;
}
}, no_chdir => 1 }, $theme);
if ($with_png) {
$conf .= "
insmod png
"
}
if ($with_jpeg) {
$conf .= "
insmod jpeg
"
}
$conf .= "
# Sets theme.
set theme=" . ($grubBoot->path eq "/" ? "" : $grubBoot->path) . "/theme/theme.txt
@@ -725,9 +752,8 @@ if (($requireNewInstall != 0) && ($efiTarget eq "only" || $efiTarget eq "both"))
if ($forceInstall eq "true") {
push @command, "--force";
}
if ($canTouchEfiVariables eq "true") {
push @command, "--bootloader-id=$bootloaderId";
} else {
push @command, "--bootloader-id=$bootloaderId";
if ($canTouchEfiVariables ne "true") {
push @command, "--no-nvram";
push @command, "--removable" if $efiInstallAsRemovable eq "true";
}
@@ -24,7 +24,7 @@
stdenv.mkDerivation rec {
pname = "squeekboard";
version = "1.21.0";
version = "1.22.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
owner = "Phosh";
repo = pname;
rev = "v${version}";
hash = "sha256-Mn0E+R/UzBLHPvarQHlEN4JBpf4VAaXdKdWLsFEyQE4=";
hash = "sha256-Rk6LOCZ5bhoo5ORAIIYWENrKUIVypd8bnKjyyBSbUYg=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
cp Cargo.lock.newer Cargo.lock
'';
name = "${pname}-${version}";
hash = "sha256-F2mef0HvD9WZRx05DEpQ1AO1skMwcchHZzJa74AHmsM=";
hash = "sha256-DygWra4R/w8KzkFzIVm4+ePpUpjiYGaDx2NQm6o+tWQ=";
};
mesonFlags = [
@@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "ocenaudio";
version = "3.12.4";
version = "3.12.5";
src = fetchurl {
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
sha256 = "sha256-B9mYFmb5wU3LtwMU2fubIhlVP0Zz1QNwciL5EY49P1I=";
sha256 = "sha256-+edswdSwuEiGpSNP7FW6xvZy/rH53KcSSGAFXSb0DIM=";
};
nativeBuildInputs = [
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,72 @@
{ lib
, stdenv
, fetchFromGitHub
, cargo
, desktop-file-utils
, meson
, ninja
, pkg-config
, rustPlatform
, rustc
, wrapGAppsHook4
, cairo
, gdk-pixbuf
, glib
, gtk4
, libadwaita
, pango
, pipewire
, wireplumber
}:
stdenv.mkDerivation rec {
pname = "pwvucontrol";
version = "0.2";
src = fetchFromGitHub {
owner = "saivert";
repo = "pwvucontrol";
rev = version;
hash = "sha256-jBvMLewBZi4LyX//YUyJQjqPvxnKqlpuLZAm9zpDMrA=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"libspa-0.6.0" = "sha256-CVLQ9JXRMo78/kay1TpRgRuk5v/Z5puPVMzLA30JRk8=";
"wireplumber-0.1.0" = "sha256-wkku9vqIMdV+HTkWCPXKH2KM1Xzf0xApC5zrVmgxhsA=";
};
};
nativeBuildInputs = [
cargo
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.bindgenHook
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];
buildInputs = [
cairo
gdk-pixbuf
glib
gtk4
libadwaita
pango
pipewire
wireplumber
];
meta = with lib; {
description = "Pipewire Volume Control";
homepage = "https://github.com/saivert/pwvucontrol";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ figsoda ];
mainProgram = "pwvucontrol";
platforms = platforms.linux;
};
}
@@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "spotify-player";
version = "0.14.1";
version = "0.15.0";
src = fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-+YPtu3hsKvk2KskVSpqcFufnWL5PxN8+xbkcz/JXW6g=";
hash = "sha256-5+YBlXHpAzGgw6MqgnMSggCASS++A/WWomftX8Jxe7g=";
};
cargoHash = "sha256-WgQ+v9dJyriqq7+WpXpPhjdwm2Sr0jozA1oW2inSPik=";
cargoHash = "sha256-PIYaJC3rVbPjc2CASzMGWAzUdrBwFnKqhrZO6nywdN8=";
nativeBuildInputs = [
pkg-config
+9 -5
View File
@@ -9,17 +9,17 @@
stdenv.mkDerivation {
inherit pname;
version = "1.2.15.828.g79f41970";
version = "1.2.17.834.g26ee1129";
src = if stdenv.isAarch64 then (
fetchurl {
url = "https://web.archive.org/web/20230710021420/https://download.scdn.co/SpotifyARM64.dmg";
sha256 = "sha256-1X0Mln47uYs5l1t+5BFBk5lLnXZgnSqZLX41yA91I0s=";
url = "https://web.archive.org/web/20230808124344/https://download.scdn.co/SpotifyARM64.dmg";
sha256 = "sha256-u22hIffuCT6DwN668TdZXYedY9PSE7ZnL+ITK78H7FI=";
})
else (
fetchurl {
url = "https://web.archive.org/web/20230710021726/https://download.scdn.co/Spotify.dmg";
sha256 = "sha256-CmKZx8Ad0w6STBN0O4Sc4XqidOM6fCl74u2sI8w+Swk=";
url = "https://web.archive.org/web/20230808124637/https://download.scdn.co/Spotify.dmg";
sha256 = "sha256-aaYMbZpa2LvyBeXmEAjrRYfYqbudhJHR/hvCNTsNQmw=";
});
nativeBuildInputs = [ undmg ];
@@ -27,8 +27,12 @@ stdenv.mkDerivation {
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
runHook postInstall
'';
meta = meta // {
@@ -17,13 +17,13 @@
stdenv.mkDerivation rec {
pname = "tageditor";
version = "3.7.9";
version = "3.8.1";
src = fetchFromGitHub {
owner = "martchus";
repo = pname;
rev = "v${version}";
hash = "sha256-QQvc9S+9h0Qy/qBROwJMZIALf/Rbj/9my4PZGxQzlnM=";
hash = "sha256-7YmjrVh8P3XfnNs2I8PoLigfVvzS0UnuAC67ZQp7WdA=";
};
nativeBuildInputs = [
+10 -1
View File
@@ -54,7 +54,16 @@ lib.makeScope pkgs.newScope (self:
withPgtk = true;
};
emacs-macport = callPackage (self.sources.emacs-macport) {
emacs28-macport = callPackage (self.sources.emacs28-macport) {
inherit gconf;
inherit (pkgs.darwin) sigtool;
inherit (pkgs.darwin.apple_sdk.frameworks)
AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz
QuartzCore WebKit;
};
emacs29-macport = callPackage (self.sources.emacs29-macport) {
inherit gconf;
inherit (pkgs.darwin) sigtool;
+39 -19
View File
@@ -4,9 +4,13 @@
}:
let
mainlineMeta = {
homepage = "https://www.gnu.org/software/emacs/";
description = "The extensible, customizable GNU text editor";
metaFor = variant: version: rev: {
homepage = {
"mainline" = "https://www.gnu.org/software/emacs/";
"macport" = "https://bitbucket.org/mituharu/emacs-mac/";
}.${variant};
description = "The extensible, customizable GNU text editor"
+ lib.optionalString (variant == "macport") " - macport variant";
longDescription = ''
GNU Emacs is an extensible, customizable text editorand more. At its core
is an interpreter for Emacs Lisp, a dialect of the Lisp programming
@@ -21,7 +25,15 @@ let
functionality, including a project planner, mail and news reader, debugger
interface, calendar, and more. Many of these extensions are distributed
with GNU Emacs; others are available separately.
'' + lib.optionalString (variant == "macport") ''
This release is built from Mitsuharu Yamamoto's patched source code
tailored for macOS.
'';
changelog = {
"mainline" = "https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.${version}";
"macport" = "https://bitbucket.org/mituharu/emacs-mac/raw/${rev}/NEWS-mac";
}.${variant};
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
AndersonTorres
@@ -31,7 +43,10 @@ let
lovek323
matthewbauer
];
platforms = lib.platforms.all;
platforms = {
"mainline" = lib.platforms.all;
"macport" = lib.platforms.darwin;
}.${variant};
mainProgram = "emacs";
};
in
@@ -46,23 +61,23 @@ in
hash = "sha256-4oSLcUDR0MOEt53QOiZSVU8kPJ67GwugmBxdX3F15Ag=";
};
meta = mainlineMeta;
meta = metaFor "mainline" "28.2" "28.2";
};
emacs29 = import ./generic.nix {
pname = "emacs";
version = "29.1-rc1";
version = "29.1";
variant = "mainline";
src = fetchFromSavannah {
repo = "emacs";
rev = "29.1-rc1";
hash = "sha256-p0lBSKsHrFwYTqO5UVIF/PgiqwdhYQE4oUVcPtd+gsU=";
rev = "29.1";
hash = "sha256-3HDCwtOKvkXwSULf3W7YgTz4GV8zvYnh2RrL28qzGKg=";
};
meta = mainlineMeta;
meta = metaFor "mainline" "29.1" "29.1";
};
emacs-macport = import ./generic.nix {
emacs28-macport = import ./generic.nix {
pname = "emacs-mac";
version = "28.2";
variant = "macport";
@@ -73,16 +88,21 @@ in
hash = "sha256-Ne2jQ2nVLNiQmnkkOXVc5AkLVkTpm8pFC7VNY2gQjPE=";
};
meta = {
homepage = "https://bitbucket.org/mituharu/emacs-mac/";
description = mainlineMeta.description + " - with macport patches";
longDescription = mainlineMeta.longDescription + ''
meta = metaFor "macport" "28.2" "emacs-28.2-mac-9.1";
};
This release is built from Mitsuharu Yamamoto's patched source code
tailoired for MacOS X.
'';
inherit (mainlineMeta) license maintainers;
platforms = lib.platforms.darwin;
emacs29-macport = import ./generic.nix {
pname = "emacs-mac";
version = "29.1";
variant = "macport";
src = fetchFromBitbucket {
owner = "mituharu";
repo = "emacs-mac";
rev = "emacs-29.1-mac-10.0";
hash = "sha256-TE829qJdPjeOQ+kD0SfyO8d5YpJjBge/g+nScwj+XVU=";
};
meta = metaFor "macport" "29.1" "emacs-29.1-mac-10.0";
};
}
@@ -9,13 +9,13 @@ let
else throw "unsupported platform";
in stdenv.mkDerivation (finalAttrs: {
pname = "pixelorama";
version = "0.11";
version = "0.11.1";
src = fetchFromGitHub {
owner = "Orama-Interactive";
repo = "Pixelorama";
rev = "v${finalAttrs.version}";
sha256 = "sha256-r4iQJBxXzIbQ7n19Ah6szuIfALmuKlHKcvKsxEzOttk=";
sha256 = "sha256-+gPkuVzQ86MzHQ0AjnPDdyk2p7eIxtggq+KJ43KVbk8=";
};
nativeBuildInputs = [
@@ -52,6 +52,7 @@ in stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://orama-interactive.itch.io/pixelorama";
description = "A free & open-source 2D sprite editor, made with the Godot Engine!";
changelog = "https://github.com/Orama-Interactive/Pixelorama/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = licenses.mit;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ felschr ];
@@ -517,7 +517,7 @@ self: super: {
});
fuzzy-nvim = super.fuzzy-nvim.overrideAttrs {
dependencies = with self; [ telescope-fzy-native-nvim ];
dependencies = with self; [ telescope-fzf-native-nvim ];
};
fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs {
@@ -0,0 +1,45 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, wrapGAppsHook4
, libadwaita
, libpanel
, gtksourceview5
, poppler
}:
rustPlatform.buildRustPackage {
pname = "fm";
version = "unstable-2023-07-25";
src = fetchFromGitHub {
owner = "euclio";
repo = "fm";
rev = "a0830b5483a48a8b1e40982f20c28dcb5bfe4a6e";
hash = "sha256-uso7j+bf6PF5wiTzSJymSxNNfzqXVcJygkfGdzQl4xA=";
};
cargoHash = "sha256-3IxpnDYbfLI1VAMgqIE4eSkiT9Z6HcC3K6MH6uqD9Ic=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
libadwaita
libpanel
gtksourceview5
poppler
];
meta = with lib; {
description = "Small, general purpose file manager built with GTK4";
homepage = "https://github.com/euclio/fm";
license = licenses.mit;
maintainers = with maintainers; [ aleksana ];
mainProgram = "fm";
platforms = platforms.unix;
};
}
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, libjpeg }:
stdenv.mkDerivation rec {
version = "1.5.4";
version = "1.5.5";
pname = "jpegoptim";
src = fetchFromGitHub {
owner = "tjko";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cfPQTSINEdii/A2czAIxKDUw6RZOH4xZI7HnUmKuR9k=";
sha256 = "sha256-3p3kcUur1u09ROdKXG5H8eilu463Rzbn2yfYo5o6+KM=";
};
# There are no checks, it seems.
@@ -5,13 +5,13 @@
mkDerivation rec {
pname = "yacreader";
version = "9.12.0";
version = "9.13.1";
src = fetchFromGitHub {
owner = "YACReader";
repo = pname;
rev = version;
sha256 = "sha256-sIQxUiTGQCcHmxBp0Mf49e/XVaJe7onlLHiorMlNLZ8=";
sha256 = "sha256-kiacyHA/G0TnRH/96RqDTF7vdDnf2POMw/iSgtSRbmM=";
};
nativeBuildInputs = [ qmake pkg-config ];
+3 -3
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "charm";
version = "0.12.5";
version = "0.12.6";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "charm";
rev = "v${version}";
sha256 = "sha256-lTjpvh0bl4Fk+d3mcDvVQY3Ef6UYE23qoS60nltVcsU=";
sha256 = "sha256-RtUHJIMbodICEDIhjH/QZlAS7dxBsL/uNYA2IoObAg0=";
};
vendorSha256 = "sha256-TNxAtx+fT6CEpa2g/tNl9sCwt3kAmNq7G870TPt2MQ4=";
vendorHash = "sha256-V5azvQ8vMkgF2Myt6h5Gw09b+Xwg1XLyTImG52qQ+20=";
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
@@ -19,11 +19,11 @@
stdenv.mkDerivation rec {
pname = "crow-translate";
version = "2.10.7";
version = "2.10.10";
src = fetchzip {
url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz";
hash = "sha256-OVRl9yQKK3hJgRVV/W4Fl3LxdFpJs01Mo3pwxLg2RXg=";
hash = "sha256-PvfruCqmTBFLWLeIL9NV6+H2AifXcY97ImHzD1zEs28=";
};
patches = [
+2 -2
View File
@@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec {
pname = "fluidd";
version = "1.24.2";
version = "1.25.0";
src = fetchurl {
name = "fluidd-v${version}.zip";
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
sha256 = "sha256-w0IqcvVbeYG9Ly8QzJIxgWIMeYQBf4Ogwi+eRLfD8kk=";
sha256 = "sha256-p8NesTNwsiq4YiEHtBpYP6eljs4PvDaQ2Ot6/htvzr4=";
};
nativeBuildInputs = [ unzip ];
+2 -2
View File
@@ -19,14 +19,14 @@
stdenv.mkDerivation rec {
pname = "fnott";
version = "1.4.0";
version = "1.4.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fnott";
rev = version;
sha256 = "sha256-cJ7XmnC4x8lhZ+JRqobeQxTTps4Oz95zYdlFtr3KC1A=";
sha256 = "sha256-8SKInlj54BP3Gn/DNVoLN62+Dfa8G5d/q2xGUXXdsjo=";
};
depsBuildBuild = [
+4 -4
View File
@@ -2,7 +2,7 @@
let
pname = "notesnook";
version = "2.5.7";
version = "2.6.1";
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
@@ -16,9 +16,9 @@ let
src = fetchurl {
url = "https://github.com/streetwriters/notesnook/releases/download/v${version}/notesnook_${suffix}";
hash = {
x86_64-linux = "sha256-M/59pjhuKF/MOMpT9/qrlThHO0V8e49cfiaWMkEWHNg=";
x86_64-darwin = "sha256-cluIizmweIMU6RIFxoEQ3DYChRVEuVLxrPjwfFfeq1w=";
aarch64-darwin = "sha256-cbBnKrb8poyDL1D+32UrOl3RXt8Msncw440qra9+Gs0=";
x86_64-linux = "sha256-PLHP1Q4+xcHyr0323K4BD+oH57SspsrAcxRe/C6RFDU=";
x86_64-darwin = "sha256-gOUL3qLSM+/pr519Gc0baUtbmhA40lG6XzuCRyGILkc=";
aarch64-darwin = "sha256-d1nXdCv1mK4+4Gef1upIkHS3J2d9qzTLXbBWabsJwpw=";
}.${system} or throwSystem;
};
+1 -1
View File
@@ -12,7 +12,7 @@ appimageTools.wrapType2 rec {
meta = with lib; {
description = "A note-taking application focused on learning and productivity";
homepage = "https://remnote.com/";
maintainers = with maintainers; [ max-niederman ];
maintainers = with maintainers; [ max-niederman jgarcia ];
license = licenses.unfree;
platforms = platforms.linux;
};
@@ -35,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/nickclyde/rofi-bluetooth";
license = licenses.gpl3Only;
maintainers = with maintainers; [ MoritzBoehme ];
mainProgram = "rofi-bluetooth";
platforms = platforms.linux;
};
})
File diff suppressed because it is too large Load Diff
@@ -6,27 +6,22 @@
rustPlatform.buildRustPackage rec {
pname = "taskwarrior-tui";
version = "0.23.7";
version = "0.25.1";
src = fetchFromGitHub {
owner = "kdheepak";
repo = "taskwarrior-tui";
rev = "v${version}";
sha256 = "sha256-D7+C02VlE42wWQSOkeTJVDS4rWnGB06RTZ7tzdpYmZw=";
sha256 = "sha256-m/VExBibScZt8zlxbTSQtZdbcc1EBZ+k0DXu+pXFUnA=";
};
cargoHash = "sha256-DFf4leS8/891YzZCkkd/rU+cUm94nOnXYDZgJK+NoCY=";
nativeBuildInputs = [ installShellFiles ];
# Because there's a test that requires terminal access
doCheck = false;
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"task-hookrs-0.7.0" = "sha256-EGnhUgYxygU3JrYXQPE9SheuXWS91qEwR+w3whaYuYw=";
};
};
postInstall = ''
installManPage docs/taskwarrior-tui.1
installShellCompletion completions/taskwarrior-tui.{bash,fish} --zsh completions/_taskwarrior-tui
@@ -3,6 +3,9 @@
, python3
, fetchFromGitHub
, pcre2
, libnotify
, libappindicator
, pkg-config
, gnome
, makeWrapper
, removeReferencesTo
@@ -10,19 +13,19 @@
flutter37.buildFlutterApplication rec {
pname = "yubioath-flutter";
version = "6.1.0";
version = "6.2.0";
src = fetchFromGitHub {
owner = "Yubico";
repo = "yubioath-flutter";
rev = version;
sha256 = "sha256-N9/qwC79mG9r+zMPLHSPjNSQ+srGtnXuKsf0ijtH7CI=";
hash = "sha256-NgzijuvyWNl9sFQzq1Jzk1povF8c/rKuVyVKeve+Vic=";
};
passthru.helper = python3.pkgs.callPackage ./helper.nix { inherit src version meta; };
depsListFile = ./deps.json;
vendorHash = "sha256-WfZiB7MO4wHUg81xm67BMu4zQdC9CfhN5BQol+AI2S8=";
vendorHash = "sha256-q/dNj9Pu7zg0HkV2QkXBbXiTsljsSJOqXhvAQlnoLlA=";
postPatch = ''
substituteInPlace linux/CMakeLists.txt \
@@ -68,10 +71,13 @@ flutter37.buildFlutterApplication rec {
nativeBuildInputs = [
makeWrapper
removeReferencesTo
pkg-config
];
buildInputs = [
pcre2
libnotify
libappindicator
];
disallowedReferences = [
+317 -142
View File
@@ -1,7 +1,7 @@
[
{
"name": "yubico_authenticator",
"version": "6.1.0+60100",
"version": "6.2.0+60200",
"kind": "root",
"source": "root",
"dependencies": [
@@ -17,8 +17,18 @@
"freezed_annotation",
"window_manager",
"qrscanner_zxing",
"screen_retriever",
"desktop_drop",
"url_launcher",
"path_provider",
"vector_graphics",
"vector_graphics_compiler",
"path",
"file_picker",
"archive",
"crypto",
"tray_manager",
"local_notifier",
"integration_test",
"flutter_test",
"flutter_lints",
@@ -29,7 +39,7 @@
},
{
"name": "json_serializable",
"version": "6.5.4",
"version": "6.6.1",
"kind": "dev",
"source": "hosted",
"dependencies": [
@@ -60,7 +70,7 @@
},
{
"name": "source_gen",
"version": "1.2.6",
"version": "1.2.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -69,7 +79,6 @@
"build",
"dart_style",
"glob",
"meta",
"path",
"source_span",
"yaml"
@@ -116,7 +125,7 @@
{
"name": "path",
"version": "1.8.2",
"kind": "transitive",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
@@ -127,16 +136,9 @@
"source": "hosted",
"dependencies": []
},
{
"name": "meta",
"version": "1.8.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "glob",
"version": "2.1.0",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -157,6 +159,13 @@
"path"
]
},
{
"name": "meta",
"version": "1.8.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "async",
"version": "2.10.0",
@@ -192,14 +201,14 @@
},
{
"name": "args",
"version": "2.3.1",
"version": "2.4.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "analyzer",
"version": "5.2.0",
"version": "5.6.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -239,7 +248,7 @@
{
"name": "crypto",
"version": "3.0.2",
"kind": "transitive",
"kind": "direct",
"source": "hosted",
"dependencies": [
"typed_data"
@@ -265,7 +274,7 @@
},
{
"name": "_fe_analyzer_shared",
"version": "50.0.0",
"version": "54.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -290,7 +299,7 @@
},
{
"name": "logging",
"version": "1.1.0",
"version": "1.1.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
@@ -310,7 +319,7 @@
},
{
"name": "json_annotation",
"version": "4.7.0",
"version": "4.8.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -319,7 +328,7 @@
},
{
"name": "checked_yaml",
"version": "2.0.1",
"version": "2.0.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -412,7 +421,7 @@
},
{
"name": "web_socket_channel",
"version": "2.2.0",
"version": "2.3.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -432,7 +441,7 @@
},
{
"name": "timing",
"version": "1.0.0",
"version": "1.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -504,7 +513,7 @@
},
{
"name": "mime",
"version": "1.0.3",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": []
@@ -520,7 +529,7 @@
},
{
"name": "io",
"version": "1.0.3",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -559,7 +568,7 @@
},
{
"name": "code_builder",
"version": "4.3.0",
"version": "4.4.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -582,7 +591,7 @@
},
{
"name": "built_value",
"version": "8.4.2",
"version": "8.4.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -594,7 +603,7 @@
},
{
"name": "fixnum",
"version": "1.0.1",
"version": "1.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": []
@@ -634,13 +643,14 @@
},
{
"name": "build_resolvers",
"version": "2.1.0",
"version": "2.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"analyzer",
"async",
"build",
"collection",
"crypto",
"graphs",
"logging",
@@ -654,7 +664,7 @@
},
{
"name": "build_daemon",
"version": "3.1.0",
"version": "3.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -861,7 +871,7 @@
{
"name": "archive",
"version": "3.3.2",
"kind": "transitive",
"kind": "direct",
"source": "hosted",
"dependencies": [
"crypto",
@@ -945,44 +955,86 @@
]
},
{
"name": "url_launcher",
"version": "6.1.7",
"name": "local_notifier",
"version": "0.1.5",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"url_launcher_android",
"url_launcher_ios",
"url_launcher_linux",
"url_launcher_macos",
"url_launcher_platform_interface",
"url_launcher_web",
"url_launcher_windows"
"uuid"
]
},
{
"name": "url_launcher_windows",
"version": "3.0.1",
"name": "uuid",
"version": "3.0.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"url_launcher_platform_interface"
"crypto"
]
},
{
"name": "url_launcher_platform_interface",
"version": "2.1.1",
"kind": "transitive",
"name": "tray_manager",
"version": "0.2.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"plugin_platform_interface"
"menu_base",
"path",
"shortid"
]
},
{
"name": "shortid",
"version": "0.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "menu_base",
"version": "0.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "file_picker",
"version": "5.2.7",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"flutter_web_plugins",
"flutter_plugin_android_lifecycle",
"plugin_platform_interface",
"ffi",
"path",
"win32"
]
},
{
"name": "win32",
"version": "3.1.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi"
]
},
{
"name": "ffi",
"version": "2.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "plugin_platform_interface",
"version": "2.1.3",
"version": "2.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -990,14 +1042,12 @@
]
},
{
"name": "url_launcher_web",
"version": "2.0.13",
"name": "flutter_plugin_android_lifecycle",
"version": "2.0.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"flutter_web_plugins",
"url_launcher_platform_interface"
"flutter"
]
},
{
@@ -1015,9 +1065,198 @@
"vector_math"
]
},
{
"name": "vector_graphics_compiler",
"version": "1.1.4",
"kind": "direct",
"source": "hosted",
"dependencies": [
"args",
"meta",
"path_parsing",
"xml",
"vector_graphics_codec"
]
},
{
"name": "vector_graphics_codec",
"version": "1.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "xml",
"version": "6.2.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta",
"petitparser"
]
},
{
"name": "petitparser",
"version": "5.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta"
]
},
{
"name": "path_parsing",
"version": "1.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"vector_math",
"meta"
]
},
{
"name": "vector_graphics",
"version": "1.1.4",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"vector_graphics_codec"
]
},
{
"name": "path_provider",
"version": "2.0.14",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"path_provider_android",
"path_provider_foundation",
"path_provider_linux",
"path_provider_platform_interface",
"path_provider_windows"
]
},
{
"name": "path_provider_windows",
"version": "2.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi",
"flutter",
"path",
"path_provider_platform_interface",
"win32"
]
},
{
"name": "path_provider_platform_interface",
"version": "2.0.6",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"platform",
"plugin_platform_interface"
]
},
{
"name": "path_provider_linux",
"version": "2.1.9",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi",
"flutter",
"path",
"path_provider_platform_interface",
"xdg_directories"
]
},
{
"name": "xdg_directories",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path",
"process"
]
},
{
"name": "path_provider_foundation",
"version": "2.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"path_provider_platform_interface"
]
},
{
"name": "path_provider_android",
"version": "2.0.22",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"path_provider_platform_interface"
]
},
{
"name": "url_launcher",
"version": "6.1.10",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"url_launcher_android",
"url_launcher_ios",
"url_launcher_linux",
"url_launcher_macos",
"url_launcher_platform_interface",
"url_launcher_web",
"url_launcher_windows"
]
},
{
"name": "url_launcher_windows",
"version": "3.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"url_launcher_platform_interface"
]
},
{
"name": "url_launcher_platform_interface",
"version": "2.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"plugin_platform_interface"
]
},
{
"name": "url_launcher_web",
"version": "2.0.15",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"flutter_web_plugins",
"url_launcher_platform_interface"
]
},
{
"name": "url_launcher_macos",
"version": "3.0.1",
"version": "3.0.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1027,7 +1266,7 @@
},
{
"name": "url_launcher_linux",
"version": "3.0.1",
"version": "3.0.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1037,7 +1276,7 @@
},
{
"name": "url_launcher_ios",
"version": "6.0.17",
"version": "6.1.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1047,7 +1286,7 @@
},
{
"name": "url_launcher_android",
"version": "6.0.22",
"version": "6.0.24",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1057,7 +1296,7 @@
},
{
"name": "desktop_drop",
"version": "0.4.0",
"version": "0.4.1",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -1068,7 +1307,7 @@
},
{
"name": "cross_file",
"version": "0.3.3+2",
"version": "0.3.3+4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1076,6 +1315,15 @@
"meta"
]
},
{
"name": "screen_retriever",
"version": "0.1.6",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "qrscanner_zxing",
"version": "1.0.0",
@@ -1088,7 +1336,7 @@
},
{
"name": "window_manager",
"version": "0.3.0",
"version": "0.3.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -1097,18 +1345,9 @@
"screen_retriever"
]
},
{
"name": "screen_retriever",
"version": "0.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "flutter_riverpod",
"version": "2.1.3",
"version": "2.3.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -1130,7 +1369,7 @@
},
{
"name": "riverpod",
"version": "2.1.3",
"version": "2.3.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1142,7 +1381,7 @@
},
{
"name": "shared_preferences",
"version": "2.0.16",
"version": "2.1.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -1157,7 +1396,7 @@
},
{
"name": "shared_preferences_windows",
"version": "2.1.1",
"version": "2.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1171,7 +1410,7 @@
},
{
"name": "shared_preferences_platform_interface",
"version": "2.1.0",
"version": "2.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1179,49 +1418,9 @@
"plugin_platform_interface"
]
},
{
"name": "path_provider_windows",
"version": "2.1.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi",
"flutter",
"path",
"path_provider_platform_interface",
"win32"
]
},
{
"name": "win32",
"version": "3.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi"
]
},
{
"name": "ffi",
"version": "2.0.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "path_provider_platform_interface",
"version": "2.0.5",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"platform",
"plugin_platform_interface"
]
},
{
"name": "shared_preferences_web",
"version": "2.0.4",
"version": "2.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1232,7 +1431,7 @@
},
{
"name": "shared_preferences_linux",
"version": "2.1.1",
"version": "2.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1244,33 +1443,9 @@
"shared_preferences_platform_interface"
]
},
{
"name": "path_provider_linux",
"version": "2.1.7",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"ffi",
"flutter",
"path",
"path_provider_platform_interface",
"xdg_directories"
]
},
{
"name": "xdg_directories",
"version": "0.2.0+2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"meta",
"path",
"process"
]
},
{
"name": "shared_preferences_foundation",
"version": "2.1.1",
"version": "2.2.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1280,7 +1455,7 @@
},
{
"name": "shared_preferences_android",
"version": "2.0.14",
"version": "2.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -1,4 +1,5 @@
{ buildPythonApplication
, python3
, poetry-core
, yubikey-manager
, fido2
@@ -19,13 +20,16 @@ buildPythonApplication {
sourceRoot = "${src.name}/helper";
format = "pyproject";
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];
pythonRelaxDeps = true;
postPatch = ''
sed -i \
-e 's,zxing-cpp = .*,zxing-cpp = "*",g' \
-e 's,mss = .*,mss = "*",g' \
-e 's,yubikey-manager = .*,yubikey-manager = "*",g' \
-e 's,Pillow = .*,Pillow = "*",g' \
pyproject.toml
substituteInPlace pyproject.toml \
--replace "authenticator-helper" "yubioath-flutter-helper" \
--replace "0.1.0" "${version}"
'';
postInstall = ''
@@ -51,11 +51,11 @@
stdenv.mkDerivation rec {
pname = "yandex-browser";
version = "23.5.4.682-1";
version = "23.7.1.1148-1";
src = fetchurl {
url = "http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${pname}-beta/${pname}-beta_${version}_amd64.deb";
sha256 = "sha256-ZhPX4K9huCO2uyjfUsWEkaspdvUurB7jNfUMqqIFO4U=";
sha256 = "sha256-SJbuT2MnsXcqOSk4xCUokseDotjbWgAnvwnfNPF9zi4=";
};
nativeBuildInputs = [
@@ -8,16 +8,16 @@
buildGoModule rec {
pname = "karmor";
version = "0.13.11";
version = "0.13.13";
src = fetchFromGitHub {
owner = "kubearmor";
repo = "kubearmor-client";
rev = "v${version}";
hash = "sha256-/EPORKpEQEPyt+iSzJ6gpM6VICJPal5oWAyxCOnjLCU=";
hash = "sha256-3lgbJ6bxKirb2KR9e4yI0gqkXfpgCdnX0smyMS5BBKA=";
};
vendorHash = "sha256-DXMD7X1Fdqg0Yr6YE+hgWFuuLSjY9HjrEV2ZrLys8fg=";
vendorHash = "sha256-raMR27DqgT/Hjp3yAMAKLbfOjIZs0K0XsncgmIP6vxk=";
nativeBuildInputs = [ installShellFiles ];
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "krelay";
version = "0.0.4";
version = "0.0.5";
src = fetchFromGitHub {
owner = "knight42";
repo = pname;
rev = "v${version}";
sha256 = "sha256-NAIRzHWXD4z6lpwi+nVVoCIzfWdaMdrWwht24KgQh3c=";
sha256 = "sha256-TC+1y0RNBobHr1BsvZdmOM58N2CIBeA7pQoWRj1SXCw=";
};
vendorSha256 = "sha256-1/zy5gz1wvinwzRjjhvrIHdjO/Jy/ragqM5QQaAajXI=";
vendorHash = "sha256-yW6Uephj+cpaMO8LMOv3I02nvooscACB9N2vq1qrXwY=";
subPackages = [ "cmd/client" ];
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "kubectl-gadget";
version = "0.18.1";
version = "0.19.0";
src = fetchFromGitHub {
owner = "inspektor-gadget";
repo = "inspektor-gadget";
rev = "v${version}";
hash = "sha256-QB1OX5G0WkV8k84282+haQc2JVMUhsO99cpEMrHR9qY=";
hash = "sha256-5FbjD02HsMChaMMvTjsB/hzivO4s1H5tLK1QMIMlBCI=";
};
vendorHash = "sha256-5ydul1buJignI5KCn6TMYCjdJ6ni6NgYQrnrGBPADI4=";
vendorHash = "sha256-Beas+oXcK5i4ibE5EAa9+avYuax/kr3op1xbtMPJMas=";
CGO_ENABLED = 0;
@@ -2,18 +2,18 @@
buildGoModule rec{
pname = "pinniped";
version = "0.24.0";
version = "0.25.0";
src = fetchFromGitHub {
owner = "vmware-tanzu";
repo = "pinniped";
rev = "v${version}";
sha256 = "sha256-v1VuCM6sMNVj6nAVuqphDUVGBc3k0oYJWt9TJb/3fP4=";
sha256 = "sha256-tUdPeBqAXYaBB2rtkhrhN3kRSVv8dg0UI7GEmIdO+fc=";
};
subPackages = "cmd/pinniped";
vendorHash = "sha256-k3fFr83LPY10ASLERzUO/8ojZgx3LLGFEIjMxaGehTs=";
vendorHash = "sha256-IFVXNd1UkfZiw8YKG3v9uHCJQCE3ajOsjbHv5r3y3L4=";
ldflags = [ "-s" "-w" ];
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "rke";
version = "1.4.7";
version = "1.4.8";
src = fetchFromGitHub {
owner = "rancher";
repo = pname;
rev = "v${version}";
hash = "sha256-XiFXFd9pZBrZdYggVoHhxdu4cH+IyDtDNr7ztM+Zskk=";
hash = "sha256-tc3XZyn1jdjkxWXG6qjsE2udpoq+RhhIWHXGmUQyO0Y=";
};
vendorHash = "sha256-MFXNwEEXtsEwB0Hcx8gn/Pz9dZM1zUUKhNYp5BlRUEk=";
@@ -9,14 +9,14 @@
"vendorHash": null
},
"acme": {
"hash": "sha256-oJ/z4NY/zba1fxH2uyzpbggc0C+8fRsJ2E/NrJyCvkQ=",
"hash": "sha256-azNFQ4U7iGIKLingq4GItjXvdcsm0YkrQ4PRvEeDjVU=",
"homepage": "https://registry.terraform.io/providers/vancluever/acme",
"owner": "vancluever",
"proxyVendor": true,
"repo": "terraform-provider-acme",
"rev": "v2.15.1",
"rev": "v2.16.1",
"spdx": "MPL-2.0",
"vendorHash": "sha256-aeIZKd4f9fRyFGgeiAGABWkyj/mdtiCnEPhUenLqRXU="
"vendorHash": "sha256-9F853+GHfwGH0JQRLawLEB8X76z/Xll1Aa4+vBRWk1o="
},
"age": {
"hash": "sha256-bJrzjvkrCX93bNqCA+FdRibHnAw6cb61StqtwUY5ok4=",
@@ -5,12 +5,12 @@
let
pname = "cozydrive";
version = "3.32.0";
version = "3.38.0";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/cozy-labs/cozy-desktop/releases/download/v${version}/Cozy-Drive-${version}-x86_64.AppImage";
sha256 = "0qd5abswqbzqkk1krn9la5d8wkwfydkqrnbak3xmzbdxnkg4gc9a";
sha256 = "3liOzZVOjtV1cGrKlOKiFRRqnt8KHPr5Ye5HU0e/BYo=";
};
appimageContents = appimageTools.extract { inherit name src; };
@@ -2,6 +2,15 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "addr2line"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3"
dependencies = [
"gimli",
]
[[package]]
name = "adler"
version = "1.0.2"
@@ -252,7 +261,7 @@ checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -289,13 +298,13 @@ checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae"
[[package]]
name = "async-trait"
version = "0.1.68"
version = "0.1.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"
checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -326,6 +335,21 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "backtrace"
version = "0.3.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12"
dependencies = [
"addr2line",
"cc",
"cfg-if",
"libc",
"miniz_oxide",
"object",
"rustc-demangle",
]
[[package]]
name = "base64"
version = "0.12.3"
@@ -506,6 +530,9 @@ name = "cc"
version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
dependencies = [
"jobserver",
]
[[package]]
name = "cfg-expr"
@@ -779,9 +806,15 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
name = "dunce"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
[[package]]
name = "either"
version = "1.8.1"
@@ -806,7 +839,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -899,10 +932,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flare"
version = "0.9.0"
version = "0.9.1"
dependencies = [
"ashpd",
"async-recursion",
"async-trait",
"env_logger",
"err-derive",
@@ -950,9 +982,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "form_urlencoded"
version = "1.1.0"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652"
dependencies = [
"percent-encoding",
]
@@ -1044,7 +1076,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -1257,6 +1289,12 @@ dependencies = [
"polyval",
]
[[package]]
name = "gimli"
version = "0.27.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"
[[package]]
name = "gio"
version = "0.17.9"
@@ -1338,6 +1376,12 @@ dependencies = [
"system-deps",
]
[[package]]
name = "glob"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "gloo-timers"
version = "0.2.6"
@@ -1701,9 +1745,9 @@ dependencies = [
[[package]]
name = "idna"
version = "0.3.0"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c"
dependencies = [
"unicode-bidi",
"unicode-normalization",
@@ -1790,6 +1834,15 @@ version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
[[package]]
name = "jobserver"
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
dependencies = [
"libc",
]
[[package]]
name = "js-sys"
version = "0.3.63"
@@ -1819,12 +1872,11 @@ dependencies = [
[[package]]
name = "libadwaita"
version = "0.3.1"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1c4efd2020a4fcedbad2c4a97de97bf6045e5dc49d61d5a5d0cfd753db60700"
checksum = "1ab9c0843f9f23ff25634df2743690c3a1faffe0a190e60c490878517eb81abf"
dependencies = [
"bitflags",
"futures-channel",
"gdk-pixbuf",
"gdk4",
"gio",
@@ -1832,15 +1884,14 @@ dependencies = [
"gtk4",
"libadwaita-sys",
"libc",
"once_cell",
"pango",
]
[[package]]
name = "libadwaita-sys"
version = "0.3.0"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0727b85b4fe2b1bed5ac90df6343de15cbf8118bfb96d7c3cc1512681a4b34ac"
checksum = "4231cb2499a9f0c4cdfa4885414b33e39901ddcac61150bc0bb4ff8a57ede404"
dependencies = [
"gdk4-sys",
"gio-sys",
@@ -1854,9 +1905,9 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.144"
version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]]
name = "libm"
@@ -1867,7 +1918,7 @@ checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"
[[package]]
name = "libsignal-protocol"
version = "0.1.0"
source = "git+https://github.com/signalapp/libsignal?tag=v0.22.2#39293fa9067c8b305a76b8d748f6931e645a8f15"
source = "git+https://github.com/signalapp/libsignal?tag=v0.28.1#86b2fcc427bf32530866f4e30b18707c1f3682f7"
dependencies = [
"aes 0.7.5",
"aes-gcm-siv",
@@ -1876,18 +1927,23 @@ dependencies = [
"block-modes",
"curve25519-dalek",
"displaydoc",
"generic-array",
"hex",
"hkdf 0.11.0",
"hmac 0.11.0",
"itertools",
"log",
"num_enum",
"pqcrypto-kyber",
"pqcrypto-traits",
"prost 0.9.0",
"prost-build 0.9.0",
"rand 0.7.3",
"sha2 0.9.9",
"signal-crypto",
"subtle",
"thiserror",
"typenum",
"uuid",
"x25519-dalek",
]
@@ -1895,7 +1951,7 @@ dependencies = [
[[package]]
name = "libsignal-service"
version = "0.1.0"
source = "git+https://github.com/whisperfish/libsignal-service-rs?rev=a2e871a#a2e871a3a28e615d70b0cdc50e9d8abc2867e535"
source = "git+https://github.com/whisperfish/libsignal-service-rs?rev=3c65765#3c65765e8610790afc419af306aa0c1ac77e72af"
dependencies = [
"aes 0.7.5",
"aes-gcm",
@@ -1928,7 +1984,7 @@ dependencies = [
[[package]]
name = "libsignal-service-hyper"
version = "0.1.0"
source = "git+https://github.com/whisperfish/libsignal-service-rs?rev=a2e871a#a2e871a3a28e615d70b0cdc50e9d8abc2867e535"
source = "git+https://github.com/whisperfish/libsignal-service-rs?rev=3c65765#3c65765e8610790afc419af306aa0c1ac77e72af"
dependencies = [
"async-trait",
"async-tungstenite",
@@ -1988,9 +2044,9 @@ dependencies = [
[[package]]
name = "log"
version = "0.4.18"
version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"
checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
dependencies = [
"value-bag",
]
@@ -2314,10 +2370,19 @@ dependencies = [
]
[[package]]
name = "once_cell"
version = "1.17.2"
name = "object"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b"
checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1"
dependencies = [
"memchr",
]
[[package]]
name = "once_cell"
version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "oncemutex"
@@ -2473,9 +2538,9 @@ dependencies = [
[[package]]
name = "percent-encoding"
version = "2.2.0"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
[[package]]
name = "petgraph"
@@ -2541,7 +2606,7 @@ dependencies = [
[[package]]
name = "poksho"
version = "0.7.0"
source = "git+https://github.com/signalapp/libsignal?tag=v0.22.2#39293fa9067c8b305a76b8d748f6931e645a8f15"
source = "git+https://github.com/signalapp/libsignal?tag=v0.28.1#86b2fcc427bf32530866f4e30b18707c1f3682f7"
dependencies = [
"curve25519-dalek",
"hmac 0.11.0",
@@ -2593,10 +2658,41 @@ version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "pqcrypto-internals"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0127cbc0239f585139a56effd7867921eae3425a000a72dde2b0a156062346b2"
dependencies = [
"cc",
"dunce",
"getrandom 0.2.9",
"libc",
]
[[package]]
name = "pqcrypto-kyber"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe9d9695c19e525d5366c913562a331fbeef9a2ad801d9a9ded61a0e4c2fe0fb"
dependencies = [
"cc",
"glob",
"libc",
"pqcrypto-internals",
"pqcrypto-traits",
]
[[package]]
name = "pqcrypto-traits"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97e91cb6af081c6daad5fa705f8adb0634c027662052cb3174bdf2957bf07e25"
[[package]]
name = "presage"
version = "0.6.0-dev"
source = "git+https://github.com/Schmiddiii/presage.git?rev=c1a246e1ac5181c34e83d9f838da154ca3160b5c#c1a246e1ac5181c34e83d9f838da154ca3160b5c"
source = "git+https://github.com/whisperfish/presage?rev=9337c5c#9337c5cd9d4c20967eb233d10d8265c58a62b79f"
dependencies = [
"base64 0.12.3",
"futures",
@@ -2615,7 +2711,7 @@ dependencies = [
[[package]]
name = "presage-store-sled"
version = "0.6.0-dev"
source = "git+https://github.com/Schmiddiii/presage.git?rev=c1a246e1ac5181c34e83d9f838da154ca3160b5c#c1a246e1ac5181c34e83d9f838da154ca3160b5c"
source = "git+https://github.com/whisperfish/presage?rev=9337c5c#9337c5cd9d4c20967eb233d10d8265c58a62b79f"
dependencies = [
"async-trait",
"base64 0.12.3",
@@ -2668,9 +2764,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.59"
version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b"
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
dependencies = [
"unicode-ident",
]
@@ -2811,9 +2907,9 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.28"
version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965"
dependencies = [
"proc-macro2",
]
@@ -2920,13 +3016,25 @@ dependencies = [
[[package]]
name = "regex"
version = "1.8.3"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390"
checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575"
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax 0.7.2",
"regex-automata",
"regex-syntax 0.7.4",
]
[[package]]
name = "regex-automata"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310"
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax 0.7.4",
]
[[package]]
@@ -2949,9 +3057,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
[[package]]
name = "regex-syntax"
version = "0.7.2"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
[[package]]
name = "ring"
@@ -2968,6 +3076,12 @@ dependencies = [
"winapi",
]
[[package]]
name = "rustc-demangle"
version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
[[package]]
name = "rustc_version"
version = "0.4.0"
@@ -3101,29 +3215,29 @@ checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"
[[package]]
name = "serde"
version = "1.0.163"
version = "1.0.175"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2"
checksum = "5d25439cd7397d044e2748a6fe2432b5e85db703d6d097bd014b3c0ad1ebff0b"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.163"
version = "1.0.175"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e"
checksum = "b23f7ade6f110613c0d63858ddb8b94c1041f550eab58a16b371bdf2c9c80ab4"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
name = "serde_json"
version = "1.0.96"
version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b"
dependencies = [
"itoa",
"ryu",
@@ -3138,7 +3252,7 @@ checksum = "bcec881020c684085e55a25f7fd888954d56609ef363479dc5a1305eb0d40cab"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -3150,6 +3264,19 @@ dependencies = [
"serde",
]
[[package]]
name = "sha-1"
version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
dependencies = [
"block-buffer 0.9.0",
"cfg-if",
"cpufeatures",
"digest 0.9.0",
"opaque-debug",
]
[[package]]
name = "sha-1"
version = "0.10.1"
@@ -3196,6 +3323,23 @@ dependencies = [
"digest 0.10.7",
]
[[package]]
name = "signal-crypto"
version = "0.1.0"
source = "git+https://github.com/signalapp/libsignal?tag=v0.28.1#86b2fcc427bf32530866f4e30b18707c1f3682f7"
dependencies = [
"aes 0.7.5",
"block-modes",
"displaydoc",
"generic-array",
"ghash",
"hmac 0.11.0",
"sha-1 0.9.8",
"sha2 0.9.9",
"subtle",
"thiserror",
]
[[package]]
name = "signal-hook"
version = "0.3.15"
@@ -3293,9 +3437,9 @@ dependencies = [
[[package]]
name = "syn"
version = "2.0.18"
version = "2.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0"
dependencies = [
"proc-macro2",
"quote",
@@ -3378,7 +3522,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -3398,11 +3542,12 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.28.2"
version = "1.29.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"
checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da"
dependencies = [
"autocfg",
"backtrace",
"libc",
"mio",
"num_cpus",
@@ -3430,7 +3575,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -3519,7 +3664,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
@@ -3551,7 +3696,7 @@ dependencies = [
"log",
"rand 0.8.5",
"rustls",
"sha-1",
"sha-1 0.10.1",
"thiserror",
"url",
"utf-8",
@@ -3634,9 +3779,9 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
[[package]]
name = "url"
version = "2.3.1"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"
dependencies = [
"form_urlencoded",
"idna",
@@ -3732,7 +3877,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
"wasm-bindgen-shared",
]
@@ -3766,7 +3911,7 @@ checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -4027,9 +4172,9 @@ dependencies = [
[[package]]
name = "zbus"
version = "3.13.1"
version = "3.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c3d77c9966c28321f1907f0b6c5a5561189d1f7311eea6d94180c6be9daab29"
checksum = "31de390a2d872e4cd04edd71b425e29853f786dc99317ed72d73d6fcf5ebb948"
dependencies = [
"async-broadcast",
"async-executor",
@@ -4040,6 +4185,7 @@ dependencies = [
"async-recursion",
"async-task",
"async-trait",
"blocking",
"byteorder",
"derivative",
"enumflags2",
@@ -4067,24 +4213,23 @@ dependencies = [
[[package]]
name = "zbus_macros"
version = "3.13.1"
version = "3.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6e341d12edaff644e539ccbbf7f161601294c9a84ed3d7e015da33155b435af"
checksum = "41d1794a946878c0e807f55a397187c11fc7a038ba5d868e7db4f3bd7760bc9d"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"regex",
"syn 1.0.109",
"winnow",
"zvariant_utils",
]
[[package]]
name = "zbus_names"
version = "2.5.1"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82441e6033be0a741157a72951a3e4957d519698f3a824439cc131c5ba77ac2a"
checksum = "fb80bb776dbda6e23d705cf0123c3b95df99c4ebeaec6c2599d4a5419902b4a9"
dependencies = [
"serde",
"static_assertions",
@@ -4108,13 +4253,25 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 2.0.27",
]
[[package]]
name = "zkcredential"
version = "0.1.0"
source = "git+https://github.com/signalapp/libsignal?tag=v0.28.1#86b2fcc427bf32530866f4e30b18707c1f3682f7"
dependencies = [
"curve25519-dalek",
"displaydoc",
"lazy_static",
"poksho",
"serde",
]
[[package]]
name = "zkgroup"
version = "0.9.0"
source = "git+https://github.com/signalapp/libsignal?tag=v0.22.2#39293fa9067c8b305a76b8d748f6931e645a8f15"
source = "git+https://github.com/signalapp/libsignal?tag=v0.28.1#86b2fcc427bf32530866f4e30b18707c1f3682f7"
dependencies = [
"aead",
"aes-gcm-siv",
@@ -4126,13 +4283,16 @@ dependencies = [
"poksho",
"serde",
"sha2 0.9.9",
"signal-crypto",
"subtle",
"zkcredential",
]
[[package]]
name = "zvariant"
version = "3.14.0"
version = "3.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622cc473f10cef1b0d73b7b34a266be30ebdcfaea40ec297dd8cbda088f9f93c"
checksum = "44b291bee0d960c53170780af148dca5fa260a63cdd24f1962fa82e03e53338c"
dependencies = [
"byteorder",
"enumflags2",
@@ -4145,9 +4305,9 @@ dependencies = [
[[package]]
name = "zvariant_derive"
version = "3.14.0"
version = "3.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d9c1b57352c25b778257c661f3c4744b7cefb7fc09dd46909a153cce7773da2"
checksum = "934d7a7dfc310d6ee06c87ffe88ef4eca7d3e37bb251dece2ef93da8f17d8ecd"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -19,23 +19,23 @@
stdenv.mkDerivation rec {
pname = "flare";
version = "0.9.0";
version = "0.9.1";
src = fetchFromGitLab {
domain = "gitlab.com";
owner = "Schmiddiii";
owner = "schmiddi-on-mobile";
repo = pname;
rev = version;
hash = "sha256-6p9uuK71fJvJs0U14jJEVb2mfpZWrCZZFE3eoZe9eVo=";
hash = "sha256-RceCVn2OmrHyY2DWT+5XeOc+HlQGVdtOmfo3+2r9hKs=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"curve25519-dalek-3.2.1" = "sha256-0hFRhn920tLBpo6ZNCl6DYtTMHMXY/EiDvuhOPVjvC0=";
"libsignal-protocol-0.1.0" = "sha256-IBhmd3WzkICiADO24WLjDJ8pFILGwWNUHLXKpt+Y0IY=";
"libsignal-service-0.1.0" = "sha256-WSRqBNq9jbe6PSeExfmehNZwjlB70GLlHkrDlw59O5c=";
"presage-0.6.0-dev" = "sha256-oNDfFLir3XL2UOGrWR/IFO7XTeJKX+vjdrd3qbIomtw=";
"libsignal-protocol-0.1.0" = "sha256-VQwrGTNZnlDK5p8ZleAZYtbzDiVTHxc93/CRlCUjWtE=";
"libsignal-service-0.1.0" = "sha256-azXQGC008rcqF2C8yHy5CM2NU1Hvwv2I3Kr8aI6URS8=";
"presage-0.6.0-dev" = "sha256-MNd4CvBv6htZQj2g2a3JcQ1r/kk4UPSBLFezEnRK+60=";
};
};
@@ -65,9 +65,9 @@ stdenv.mkDerivation rec {
];
meta = {
changelog = "https://gitlab.com/Schmiddiii/flare/-/blob/${src.rev}/CHANGELOG.md";
changelog = "https://gitlab.com/schmiddi-on-mobile/flare/-/blob/${src.rev}/CHANGELOG.md";
description = "An unofficial Signal GTK client";
homepage = "https://gitlab.com/Schmiddiii/flare";
homepage = "https://gitlab.com/schmiddi-on-mobile/flare";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.linux;
@@ -27,13 +27,13 @@
stdenv.mkDerivation rec {
pname = "whatsapp-for-linux";
version = "1.6.3";
version = "1.6.4";
src = fetchFromGitHub {
owner = "eneshecan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YmiEzemoGLwCUVfnuTmruSkI0oBg7yNuodWmXTMGh8g=";
sha256 = "sha256-DU9tvIvDfOtBydR68yeRMFYdMjiBrOobCDXIZMmm7pQ=";
};
nativeBuildInputs = [
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "jmeter";
version = "5.6";
version = "5.6.2";
src = fetchurl {
url = "https://archive.apache.org/dist/jmeter/binaries/apache-${pname}-${version}.tgz";
sha256 = "sha256-AZaQ4vNSB3418fJxXLPAX472lnsyBMCYBltdFqwSP54=";
sha256 = "sha256-CGltO2J40nI0LRhgniFn7yjS0dX3G1koCcALvVfMjvA=";
};
nativeBuildInputs = [ makeWrapper jre ];
@@ -16,7 +16,7 @@
stdenv.mkDerivation rec {
pname = "owncloud-client";
version = "4.1.0";
version = "4.2.0";
libregraph = callPackage ./libre-graph-api-cpp-qt-client.nix { };
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
owner = "owncloud";
repo = "client";
rev = "refs/tags/v${version}";
hash = "sha256-L0xeLYzlonzNClOcijyucGdwgQHTS7TlczIyJGbVQ5E=";
hash = "sha256-dPNVp5DxCI4ye8eFjHoLGDlf8Ap682o1UB0k2VNr2rs=";
};
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules wrapQtAppsHook qttools ];
@@ -10,14 +10,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "pyrosimple";
version = "2.9.1";
version = "2.10.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "kannibalox";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-eRj9zHbopzwPvB3YxN5P8A/Dqwvh+FcIr+pEC0ov/xg=";
hash = "sha256-3ZsRJNGbcKGU6v2uYUintMpKY8Z/DyTIDDxTsDEV6lw=";
};
pythonRelaxDeps = [
@@ -19,13 +19,13 @@
}:
let
version = "1.16.5";
version = "1.17.0";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
rev = "refs/tags/v${version}";
hash = "sha256-suwXFqq3QSdY0KzSpr6NKPwm6xtMBR8aP5VV3XTynqI=";
hash = "sha256-Zv+5DMviBGyc24R+qcAlvjko7wH+Gturvw5nzFJlIfk=";
};
# Use specific package versions required by paperless-ngx
@@ -51,7 +51,7 @@ let
pname = "paperless-ngx-frontend";
inherit version src;
npmDepsHash = "sha256-rzIDivZTZZWt6kgLt8mstYmvv5TlC+O8O/g01+aLMHQ=";
npmDepsHash = "sha256-J8oUDvcJ0fawTv9L1B9hw8l47UZvOCj16jUF+83W8W8=";
nativeBuildInputs = [
python3
@@ -1,31 +1,40 @@
{ lib, python3, fetchPypi }:
{ lib, python3, fetchpatch, fetchPypi }:
python3.pkgs.buildPythonPackage rec {
pname = "macs2";
version = "2.2.8";
version = "2.2.9.1";
format = "pyproject";
src = fetchPypi {
pname = lib.toUpper pname;
inherit version;
hash = "sha256-KgpDasidj4yUoeQQaQA3dg5eN5Ka1xnFRpbnTvhKmOA=";
hash = "sha256-jVa8N/uCP8Y4fXgTjOloQFxUoKjNl3ZoJwX9CYMlLRY=";
};
postPatch = ''
# prevent setup.py from installing numpy
substituteInPlace setup.py \
--replace "subprocess.call([sys.executable, \"-m\", 'pip', 'install', f'numpy{numpy_requires}'],cwd=cwd)" "0"
'';
patches = [
# https://github.com/macs3-project/MACS/pull/590
(fetchpatch {
name = "remove-pip-build-dependency.patch";
url = "https://github.com/macs3-project/MACS/commit/cf95a930daccf9f16e5b9a9224c5a2670cf67939.patch";
hash = "sha256-WB3Ubqk5fKtZt97QYo/sZDU/yya9MUo1NL4VsKXR+Yo=";
})
];
nativeBuildInputs = with python3.pkgs; [
cython
numpy
setuptools
wheel
];
propagatedBuildInputs = with python3.pkgs; [ numpy ];
propagatedBuildInputs = with python3.pkgs; [
numpy
];
nativeCheckInputs = [
python3.pkgs.unittestCheckHook
__darwinAllowLocalNetworking = true;
nativeCheckInputs = with python3.pkgs; [
unittestCheckHook
];
unittestFlagsArray = [
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "fast-downward";
version = "22.12.0";
version = "23.06.0";
src = fetchFromGitHub {
owner = "aibasel";
repo = "downward";
rev = "release-${version}";
sha256 = "sha256-GwZ5BGzLRMgWNBaA7M2D2p9OxvdyWqm+sTwxGpcI/qY=";
sha256 = "sha256-yNaMyS47yxc/p5Rs/kHwD/pgjGXnHBdybYdo1GIEmA4=";
};
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
@@ -11,11 +11,11 @@
stdenvNoCC.mkDerivation rec {
pname = "iterm2";
version = "3.4.19";
version = "3.4.20";
src = fetchzip {
url = "https://iterm2.com/downloads/stable/iTerm2-${lib.replaceStrings ["."] ["_"] version}.zip";
hash = "sha256-UioKFhlwVdrkHtoS1ixXE2rykVO5aQeNQ8TnC5kNSUc=";
hash = "sha256-RXBv3RXd2Kq8k7rbOE3HPEf6vI64VZCo1IX03gDy7l0=";
};
dontFixup = true;
@@ -6,7 +6,7 @@
let
pname = "lefthook";
version = "1.4.7";
version = "1.4.8";
in
buildGoModule rec {
inherit pname version;
@@ -15,7 +15,7 @@ buildGoModule rec {
owner = "evilmartians";
repo = "lefthook";
rev = "v${version}";
hash = "sha256-zpey+2j0pLpE+wvqPcjVS5Mp+eQJiYtRsFAC8lPh4ck=";
hash = "sha256-lK2JGENCqfNXXzZBHirEoOB5+ktea38ypb2VD7GWxhg=";
};
vendorHash = "sha256-/VLS7+nPERjIU7V2CzqXH69Z3/y+GKZbAFn+KcRKRuA=";
+23 -5
View File
@@ -4,24 +4,42 @@
, lib
, gnugrep
, gnused
, wget
, curl
, catt
, syncplay
, ffmpeg
, fzf
, mpv
, aria2
, withMpv ? true, mpv
, withVlc ? false, vlc
, withIina ? false, iina
, chromecastSupport ? false
, syncSupport ? false
}:
assert withMpv || withVlc || withIina;
stdenvNoCC.mkDerivation rec {
pname = "ani-cli";
version = "4.5";
version = "4.6";
src = fetchFromGitHub {
owner = "pystardust";
repo = "ani-cli";
rev = "v${version}";
hash = "sha256-HDpspU9OZxDET7/1rnKdGgaVEBt0gpzGtd3DuNIj7FY=";
hash = "sha256-ahyCD4QsYyb3xtNK03HITeF0+hJFIHZ+PAjisuS/Kdo=";
};
nativeBuildInputs = [ makeWrapper ];
runtimeDependencies =
let player = []
++ lib.optional withMpv mpv
++ lib.optional withVlc vlc
++ lib.optional withIina iina;
in [ gnugrep gnused curl fzf ffmpeg aria2 ]
++ player
++ lib.optional chromecastSupport catt
++ lib.optional syncSupport syncplay;
installPhase = ''
runHook preInstall
@@ -29,7 +47,7 @@ stdenvNoCC.mkDerivation rec {
install -Dm755 ani-cli $out/bin/ani-cli
wrapProgram $out/bin/ani-cli \
--prefix PATH : ${lib.makeBinPath [ gnugrep gnused wget fzf mpv aria2 ]}
--prefix PATH : ${lib.makeBinPath runtimeDependencies}
runHook postInstall
'';
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
buildInputs = [ glib mpv-unwrapped ];
postPatch = ''
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
'';
installFlags = [ "SCRIPTS_DIR=$(out)/share/mpv/scripts" ];
# Otherwise, the shared object isn't `strip`ped. See:
@@ -4,14 +4,14 @@
}:
stdenv.mkDerivation rec {
version = "2.13.c.4";
version = "2.13.c.5";
pname = "i3lock-color";
src = fetchFromGitHub {
owner = "PandorasFox";
repo = "i3lock-color";
rev = version;
sha256 = "sha256-bbjkvgSKD57sdOtPYGLAKpQoIsJnF6s6ySq4dTWC3tI=";
sha256 = "sha256-fuLeglRif2bruyQRqiL3nm3q6qxoHcPdVdL+QjGBR/k=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
'';
homepage = "https://i3wm.org/i3lock/";
maintainers = with maintainers; [ malyn domenkozar ];
mainProgram = "i3lock";
license = licenses.bsd3;
platforms = platforms.all;
};
+7 -9
View File
@@ -4,7 +4,7 @@ let
commonNativeBuildInputs = [ fontforge python3 ];
common =
{ version, repo, sha256, nativeBuildInputs, postPatch ? null }:
{ version, repo, sha256, docsToInstall, nativeBuildInputs, postPatch ? null }:
stdenv.mkDerivation rec {
pname = "liberation-fonts";
inherit version;
@@ -20,11 +20,7 @@ let
installPhase = ''
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
install -m444 -Dt $out/share/doc/${pname}-${version} AUTHORS || true
install -m444 -Dt $out/share/doc/${pname}-${version} ChangeLog || true
install -m444 -Dt $out/share/doc/${pname}-${version} COPYING || true
install -m444 -Dt $out/share/doc/${pname}-${version} License.txt || true
install -m444 -Dt $out/share/doc/${pname}-${version} README || true
install -m444 -Dt $out/share/doc/${pname}-${version} ${lib.concatStringsSep " " docsToInstall}
'';
meta = with lib; {
@@ -51,18 +47,20 @@ in
liberation_ttf_v1 = common {
repo = "liberation-1.7-fonts";
version = "1.07.5";
nativeBuildInputs = commonNativeBuildInputs ;
docsToInstall = [ "AUTHORS" "ChangeLog" "COPYING" "License.txt" "README" ];
nativeBuildInputs = commonNativeBuildInputs;
sha256 = "1ffl10mf78hx598sy9qr5m6q2b8n3mpnsj73bwixnd4985gsz56v";
};
liberation_ttf_v2 = common {
repo = "liberation-fonts";
version = "2.1.0";
version = "2.1.5";
docsToInstall = [ "AUTHORS" "ChangeLog" "LICENSE" "README.md" ];
nativeBuildInputs = commonNativeBuildInputs ++ [ fonttools ];
postPatch = ''
substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
'font = ttLib.TTFont(fontfile)' \
'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
'';
sha256 = "03xpzaas264x5n6qisxkhc68pkpn32m7y78qdm3rdkxdwi8mv8mz";
sha256 = "Wg1uoD2k/69Wn6XU+7wHqf2KO/bt4y7pwgmG7+IUh4Q=";
};
}
@@ -3,12 +3,12 @@
let
generator = pkgsBuildBuild.buildGoModule rec {
pname = "v2ray-domain-list-community";
version = "20230730120627";
version = "20230810162343";
src = fetchFromGitHub {
owner = "v2fly";
repo = "domain-list-community";
rev = version;
hash = "sha256-lnTP8KDYdIa7iq14h0TEVfAlJDtsURfSZaEdQ8L1TRM=";
hash = "sha256-RzYFpbiy0ajOjyu9Fdw+aJX9cLbquXzfWiLPaszyxOY=";
};
vendorHash = "sha256-dYaGR5ZBORANKAYuPAi9i+KQn2OAGDGTZxdyVjkcVi8=";
meta = with lib; {
@@ -19,17 +19,17 @@ in
lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ] themeVariants
lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants
lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants
lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "dracula" "gruvbox" "rimless" "normal" ] tweaks
lib.checkListOfEnum "${pname}: tweaks" [ "nord" "dracula" "gruvbox" "all" "black" "rimless" "normal" "float" ] tweaks
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2023.04.11";
version = "2023-08-12";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
hash = "sha256-lVHDQmu9GLesasmI2GQ0hx4f2NtgaM4IlJk/hXe2XzY=";
hash = "sha256-Ss6IXd4vYUvIF5/Hn4IVLNvDSaewTY0GNZp7X5Lmz/c=";
};
nativeBuildInputs = [
@@ -1,17 +1,17 @@
{ lib, flutter, fetchFromGitHub }:
flutter.buildFlutterApplication rec {
pname = "expidus-file-manager";
version = "0.1.2";
version = "0.2.0";
src = fetchFromGitHub {
owner = "ExpidusOS";
repo = "file-manager";
rev = version;
sha256 = "sha256-aAPmwzNPgu08Ov9NyRW5bcj3jQzG9rpWwrABRyK2Weg=";
hash = "sha256-p/bKVC1LpvVcyI3NYjQ//QL/6UutjVg649IZSmz4w9g=";
};
depsListFile = ./deps.json;
vendorHash = "sha256-mPGrpMUguM9XAYWH8lBQuytxZ3J0gS2XOMPkKyFMLbc=";
vendorHash = "sha256-m2GCLC4ZUvDdBVKjxZjelrZZHY3+R7DilOOT84Twrxg=";
postInstall = ''
rm $out/bin/file_manager
@@ -37,5 +37,6 @@ flutter.buildFlutterApplication rec {
license = licenses.gpl3;
maintainers = with maintainers; [ RossComputerGuy ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
mainProgram = "expidus-file-manager";
};
}
+170 -152
View File
@@ -1,7 +1,7 @@
[
{
"name": "file_manager",
"version": "0.1.2+1",
"version": "0.2.0+65656565656565",
"kind": "root",
"source": "root",
"dependencies": [
@@ -29,6 +29,9 @@
"intl",
"provider",
"flutter_markdown",
"flutter_adaptive_scaffold",
"package_info_plus",
"pub_semver",
"flutter_test",
"flutter_lints"
]
@@ -262,142 +265,20 @@
"source": "sdk",
"dependencies": []
},
{
"name": "flutter_markdown",
"version": "0.6.15",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"markdown",
"meta",
"path"
]
},
{
"name": "markdown",
"version": "7.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"args",
"meta"
]
},
{
"name": "args",
"version": "2.4.1",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "provider",
"version": "6.0.5",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"flutter",
"nested"
]
},
{
"name": "nested",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "intl",
"version": "0.18.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"clock",
"meta",
"path"
]
},
{
"name": "filesize",
"version": "2.0.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "pubspec",
"version": "2.3.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"path",
"pub_semver",
"yaml",
"uri"
]
},
{
"name": "uri",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher",
"quiver"
]
},
{
"name": "quiver",
"version": "3.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher"
]
},
{
"name": "yaml",
"version": "3.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner"
]
},
{
"name": "pub_semver",
"version": "2.1.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"meta"
]
},
{
"name": "sentry_flutter",
"version": "7.7.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"flutter_web_plugins",
"sentry",
"package_info_plus",
"collection",
"meta"
]
},
{
"name": "package_info_plus",
"version": "3.1.2",
"kind": "transitive",
"kind": "direct",
"source": "hosted",
"dependencies": [
"ffi",
@@ -493,6 +374,137 @@
"vector_math"
]
},
{
"name": "flutter_adaptive_scaffold",
"version": "0.1.5",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "flutter_markdown",
"version": "0.6.15",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"markdown",
"meta",
"path"
]
},
{
"name": "markdown",
"version": "7.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"args",
"meta"
]
},
{
"name": "args",
"version": "2.4.2",
"kind": "transitive",
"source": "hosted",
"dependencies": []
},
{
"name": "provider",
"version": "6.0.5",
"kind": "direct",
"source": "hosted",
"dependencies": [
"collection",
"flutter",
"nested"
]
},
{
"name": "nested",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter"
]
},
{
"name": "intl",
"version": "0.18.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"clock",
"meta",
"path"
]
},
{
"name": "filesize",
"version": "2.0.1",
"kind": "direct",
"source": "hosted",
"dependencies": []
},
{
"name": "pubspec",
"version": "2.3.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"path",
"pub_semver",
"yaml",
"uri"
]
},
{
"name": "uri",
"version": "1.0.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher",
"quiver"
]
},
{
"name": "quiver",
"version": "3.2.1",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"matcher"
]
},
{
"name": "yaml",
"version": "3.1.2",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"collection",
"source_span",
"string_scanner"
]
},
{
"name": "sentry_flutter",
"version": "7.7.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
"flutter",
"flutter_web_plugins",
"sentry",
"package_info_plus",
"meta"
]
},
{
"name": "sentry",
"version": "7.7.0",
@@ -543,7 +555,7 @@
},
{
"name": "path_provider_windows",
"version": "2.1.6",
"version": "2.1.7",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -556,7 +568,7 @@
},
{
"name": "permission_handler",
"version": "10.2.0",
"version": "10.3.0",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -570,7 +582,7 @@
},
{
"name": "permission_handler_platform_interface",
"version": "3.9.0",
"version": "3.10.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -591,7 +603,7 @@
},
{
"name": "permission_handler_apple",
"version": "9.0.8",
"version": "9.1.0",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -601,7 +613,7 @@
},
{
"name": "permission_handler_android",
"version": "10.2.2",
"version": "10.2.3",
"kind": "transitive",
"source": "hosted",
"dependencies": [
@@ -621,7 +633,7 @@
},
{
"name": "shared_preferences",
"version": "2.1.1",
"version": "2.1.2",
"kind": "direct",
"source": "hosted",
"dependencies": [
@@ -977,29 +989,14 @@
"flutter",
"material_theme_builder",
"libtokyo",
"flutter_localizations",
"path",
"intl",
"filesize"
]
},
{
"name": "libtokyo",
"version": "0.1.0",
"kind": "direct",
"source": "git",
"dependencies": [
"meta",
"path"
]
},
{
"name": "material_theme_builder",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"material_color_utilities"
"filesize",
"bitsdojo_window",
"shared_preferences",
"pubspec",
"url_launcher"
]
},
{
@@ -1019,5 +1016,26 @@
"path",
"vector_math"
]
},
{
"name": "libtokyo",
"version": "0.1.0",
"kind": "direct",
"source": "git",
"dependencies": [
"meta",
"path",
"pubspec"
]
},
{
"name": "material_theme_builder",
"version": "1.0.4",
"kind": "transitive",
"source": "hosted",
"dependencies": [
"flutter",
"material_color_utilities"
]
}
]
+6 -3
View File
@@ -6,11 +6,12 @@
, itstool
, libxml2
, gtk3
, file
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
# can be defaulted to true once engrampa builds with meson (version > 1.27.0)
, withMagic ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, file
}:
stdenv.mkDerivation rec {
@@ -26,20 +27,22 @@ stdenv.mkDerivation rec {
pkg-config
gettext
itstool
libxml2 # for xmllint
wrapGAppsHook
];
buildInputs = [
libxml2
gtk3
file #libmagic
mate.caja
hicolor-icon-theme
mate.mate-desktop
] ++ lib.optionals withMagic [
file
];
configureFlags = [
"--with-cajadir=$$out/lib/caja/extensions-2.0"
] ++ lib.optionals withMagic [
"--enable-magic"
];
@@ -6,40 +6,34 @@
, meson
, ninja
, vala
, python3
, gtk3
, granite
, libgee
, libhandy
, clutter-gst
, clutter-gtk
, gst_all_1
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-videos";
version = "2.9.1";
version = "3.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "videos";
rev = version;
sha256 = "sha256-G961ndONwHiqdeO26Ulxkg71ByfdFMAV35VFzu4TQ3M=";
sha256 = "sha256-O98478E3NlY2NYqjyy8mcXZ3lG+wIV+VrPzdzOp44yA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
python3
vala
wrapGAppsHook
];
buildInputs = [
clutter-gst
clutter-gtk
granite
gtk3
libgee
@@ -48,16 +42,12 @@ stdenv.mkDerivation rec {
gst-libav
gst-plugins-bad
gst-plugins-base
gst-plugins-good
# https://github.com/elementary/videos/issues/356
(gst-plugins-good.override { gtkSupport = true; })
gst-plugins-ugly
gstreamer
]);
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@@ -24,6 +25,23 @@ stdenv.mkDerivation rec {
sha256 = "sha256-YFI1UM7CxjYkoIhSg9Fn81Ze6DX7D7p89xibk7ik8bI=";
};
patches = [
# Don't set picture-uri-dark. elementary-gsettings-schemas won't
# aware of our custom remove-backgrounds.gschema.override so it
# will be a confusing invalid value otherwise (though gala actually
# can handle it well).
# https://github.com/elementary/default-settings/pull/282
(fetchpatch {
url = "https://github.com/elementary/default-settings/commit/881f84b8316e549ab627b7ac9acf352e0346a1a4.patch";
sha256 = "sha256-zf2Anr+ljLjHbn5ZmRj3nCRVJ52rwe4EkwdIfSOGeLQ=";
})
# https://github.com/elementary/default-settings/pull/283
(fetchpatch {
url = "https://github.com/elementary/default-settings/commit/37ef6062a8651875dd9d927c5730155c8b26e953.patch";
sha256 = "sha256-u7rrwuHgMPn1eIyIuwJcBgy8SshaXgrgFTSNm8IHbaY=";
})
];
nativeBuildInputs = [
accountsservice
dbus
@@ -5,7 +5,6 @@
, meson
, ninja
, pkg-config
, python3
, vala
, wrapGAppsHook4
, appcenter
@@ -19,20 +18,19 @@
stdenv.mkDerivation rec {
pname = "elementary-onboarding";
version = "7.1.0";
version = "7.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "onboarding";
rev = version;
sha256 = "sha256-OWALEcVOOh7wjEEvysd+MQhB/iK3105XCIVp5pklMwY=";
sha256 = "sha256-5vEKQUGg5KQSheM6tSK8uieEfCqlY6pABfPb/333FHU=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
python3
vala
wrapGAppsHook4
];
@@ -47,11 +45,6 @@ stdenv.mkDerivation rec {
libgee
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};
@@ -26,13 +26,13 @@
stdenv.mkDerivation rec {
pname = "gala";
version = "7.1.1";
version = "7.1.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-s63znprGrMvitefAKlbL3r1s0kbo7NA9bhrNH8w0h2o=";
sha256 = "sha256-g+Zcdl6SJ4uO6I1x3Ru6efZkf+O3UaW790n/zxmGkHU=";
};
patches = [
@@ -19,10 +19,14 @@ let
version = engineVersion;
dontUnpack = true;
src = fetchurl {
pname = "flutter-sky_engine-LICENSE";
version = engineVersion;
url = "https://raw.githubusercontent.com/flutter/engine/${engineVersion}/sky/packages/sky_engine/LICENSE";
sha256 = hashes.skyNotice;
};
flutterNotice = fetchurl {
pname = "flutter-LICENSE";
version = engineVersion;
url = "https://raw.githubusercontent.com/flutter/flutter/${flutterVersion}/LICENSE";
sha256 = hashes.flutterNotice;
};
@@ -1,6 +1,6 @@
{
"1a65d409c7a1438a34d21b60bf30a6fd5db59314" = {
skyNotice = "sha256-n9B26rLlfUqdR6s+2+PNK4H/fN95UE0T7/Vic19W6yo=";
skyNotice = "sha256-+EitMZAAvJ1mIlfm5ZTfY+pk8tfyu33XM7P8qOdj+J8=";
flutterNotice = "sha256-pZjblLYpD/vhC17PkRBXtqlDNRxyf92p5fKJHWhwCiA=";
android-arm = {
"artifacts.zip" = "sha256-KDMiI6SQoZHfFV5LJJZ7VOGyEKC4UxzRc777j4BbXgM=";
+2 -2
View File
@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "tvm";
version = "0.12.0";
version = "0.13.0";
src = fetchFromGitHub {
owner = "apache";
repo = "incubator-tvm";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-NHfYx45Zad+jsILR24c2U+Xmb2rKaTyl8xl5uxAFtak=";
sha256 = "sha256-WG0vU3lxX5FNs0l37mTE1T7rSEEtfTEisE3cMphzeAk=";
};
nativeBuildInputs = [ cmake ];
@@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
name = "kamilalisp";
version = "0.2p";
version = "0.3.0.1";
src = fetchurl {
url = "https://github.com/kspalaiologos/kamilalisp/releases/download/v${version}/kamilalisp-${lib.versions.majorMinor version}.jar";
hash = "sha256-6asl9zRTidDxWsgIRxUA1ygYug/aqiQ5XAEwWYNOfKE=";
url = "https://github.com/kspalaiologos/kamilalisp/releases/download/v${version}/kamilalisp-${version}.jar";
hash = "sha256-SW0U483eHptkYw+yJV/2cImfK3uEjkl8ma54yeagF6s=";
};
dontUnpack = true;
@@ -8,8 +8,8 @@ let
# base_version is of the form major.minor.patch
# vc_version is of the form YYMMDDCC
# version corresponds to the tag on GitHub
base_version = "8.1.0";
vc_version = "23051307";
base_version = "8.1.1";
vc_version = "23060707";
in stdenv.mkDerivation rec {
pname = "renpy";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
owner = "renpy";
repo = "renpy";
rev = version;
sha256 = "sha256-5EU4jaBTU+a9UNHRs7xrKQ7ZivhDEqisO3l4W2E6F+c=";
sha256 = "sha256-aJ/MobZ6SNBYRC/EpUxAMLJ3pwK6PC92DV0YL/LF5Ew=";
};
nativeBuildInputs = [
@@ -49,9 +49,11 @@ in stdenv.mkDerivation rec {
cp tutorial/game/tutorial_director.rpy{m,}
cat > renpy/vc_version.py << EOF
vc_version = ${vc_version}
version = '${version}'
official = False
nightly = False
# Look at https://renpy.org/latest.html for what to put.
version_name = 'Where No One Has Gone Before'
EOF
'';
@@ -1,51 +0,0 @@
diff --git a/module/renpybidicore.c b/module/renpybidicore.c
index 849430d..d883a52 100644
--- a/module/renpybidicore.c
+++ b/module/renpybidicore.c
@@ -1,10 +1,6 @@
#include <Python.h>
-#ifdef RENPY_BUILD
#include <fribidi.h>
-#else
-#include <fribidi-src/lib/fribidi.h>
-#endif
#include <stdlib.h>
diff --git a/module/setup.py b/module/setup.py
index bd16816..f6b8794 100755
--- a/module/setup.py
+++ b/module/setup.py
@@ -118,29 +118,17 @@ cython(
sdl + [ png, 'z', 'm' ])
FRIBIDI_SOURCES = """
-fribidi-src/lib/fribidi.c
-fribidi-src/lib/fribidi-arabic.c
-fribidi-src/lib/fribidi-bidi.c
-fribidi-src/lib/fribidi-bidi-types.c
-fribidi-src/lib/fribidi-deprecated.c
-fribidi-src/lib/fribidi-joining.c
-fribidi-src/lib/fribidi-joining-types.c
-fribidi-src/lib/fribidi-mem.c
-fribidi-src/lib/fribidi-mirroring.c
-fribidi-src/lib/fribidi-run.c
-fribidi-src/lib/fribidi-shape.c
renpybidicore.c
""".split()
cython(
"_renpybidi",
FRIBIDI_SOURCES,
+ ["fribidi"],
includes=[
- BASE + "/fribidi-src/",
- BASE + "/fribidi-src/lib/",
+ "@fribidi@/include/fribidi/",
],
define_macros=[
("FRIBIDI_ENTRY", ""),
- ("HAVE_CONFIG_H", "1"),
])
if not (android or ios or emscripten):
@@ -9,13 +9,13 @@
, examples ? false
}: stdenv.mkDerivation rec {
pname = "cassandra-cpp-driver";
version = "2.16.2";
version = "2.17.0";
src = fetchFromGitHub {
owner = "datastax";
repo = "cpp-driver";
rev = "refs/tags/${version}";
sha256 = "sha256-NAvaRLhEvFjSmXcyM039wLC6IfLws2rkeRpbE5eL/rQ=";
sha256 = "sha256-sLKLaBFnGq3NIQV7Tz5aAfsL+LeLw8XDbcJt//H468k=";
};
nativeBuildInputs = [ cmake pkg-config ];
+2 -2
View File
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "cglm";
version = "0.9.0";
version = "0.9.1";
src = fetchFromGitHub {
owner = "recp";
repo = "cglm";
rev = "v${version}";
sha256 = "sha256-V6qX6f1pETjDHVu+VJXRDcKKiCBYuQnh8Bz48HRyRR8=";
sha256 = "sha256-qOPOJ+h1bq5yKkP3ZNeZnRwiOMSgS7bxTk7s/5tREQw=";
};
nativeBuildInputs = [ cmake ];
@@ -0,0 +1,32 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "clap";
version = "1.1.8";
src = fetchFromGitHub {
owner = "free-audio";
repo = "clap";
rev = version;
hash = "sha256-UY6HSth3xuXVfiKolttpYf19rZ2c/X1FXHV7TA/hAiM=";
};
postPatch = ''
substituteInPlace clap.pc.in \
--replace '$'"{prefix}/@CMAKE_INSTALL_INCLUDEDIR@" '@CMAKE_INSTALL_FULL_INCLUDEDIR@'
'';
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Clever Audio Plugin API interface headers";
homepage = "https://cleveraudio.org/";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ ris ];
};
}
+2 -9
View File
@@ -67,14 +67,7 @@ in
};
fmt_10 = generic {
version = "10.0.0";
sha256 = "sha256-sVY2TVPS/Zx32p5XIYR6ghqN4kOZexzH7Cr+y8sZXK8=";
patches = [
# fixes a test failure on pkgsMusl.fmt
(fetchpatch {
url = "https://github.com/fmtlib/fmt/commit/eaa6307691a9edb9e2f2eacf70500fc6989b416c.diff";
hash = "sha256-PydnmOn/o9DexBViFGUUAO9KFjVS6CN8GVDHcl/+K8g=";
})
];
version = "10.1.0";
sha256 = "sha256-t/Mcl3n2dj8UEnptQh4YgpvWrxSYN3iGPZ3LKwzlPAg=";
};
}
@@ -18,6 +18,7 @@
, python3Packages
, qemu
, rsyslog
, openconnect
, samba
}:
@@ -106,7 +107,7 @@ stdenv.mkDerivation rec {
'';
passthru.tests = {
inherit ngtcp2-gnutls curlWithGnuTls ffmpeg emacs qemu knot-resolver;
inherit ngtcp2-gnutls curlWithGnuTls ffmpeg emacs qemu knot-resolver samba openconnect;
inherit (ocamlPackages) ocamlnet;
haskell-gnutls = haskellPackages.gnutls;
python3-gnutls = python3Packages.python3-gnutls;
+15 -21
View File
@@ -1,34 +1,28 @@
{ lib, stdenv, fetchurl, qt4, cmake }:
{ stdenv, lib, fetchFromGitHub, qtbase, cmake, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "grantlee";
version = "0.5.1";
version = "5.2.0";
# Upstream download server has country code firewall, so I made a mirror.
src = fetchurl {
urls = [
"http://downloads.grantlee.org/grantlee-${version}.tar.gz"
"http://www.loegria.net/grantlee/grantlee-${version}.tar.gz"
];
sha256 = "1b501xbimizmbmysl1j5zgnp48qw0r2r7lhgmxvzhzlv9jzhj60r";
src = fetchFromGitHub {
owner = "steveire";
repo = pname;
rev = "v${version}";
hash = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 ];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ qtbase ];
meta = {
description = "Qt4 port of Django template system";
description = "Libraries for text templating with Qt";
longDescription = ''
Grantlee is a plugin based String Template system written using the Qt
framework. The goals of the project are to make it easier for application
developers to separate the structure of documents from the data they
contain, opening the door for theming.
The syntax is intended to follow the syntax of the Django template system,
and the design of Django is reused in Grantlee.'';
Grantlee is a set of Free Software libraries written using the Qt framework. Currently two libraries are shipped with Grantlee: Grantlee Templates and Grantlee TextDocument.
The goal of Grantlee Templates is to make it easier for application developers to separate the structure of documents from the data they contain, opening the door for theming and advanced generation of other text such as code.
The syntax uses the syntax of the Django template system, and the core design of Django is reused in Grantlee.
'';
homepage = "https://github.com/steveire/grantlee";
license = lib.licenses.lgpl21;
inherit (qt4.meta) platforms;
license = lib.licenses.lgpl21Plus;
};
}
@@ -0,0 +1,65 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
, wayland-scanner
, wayland
, gtk4
, gobject-introspection
, vala
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gtk4-layer-shell";
version = "1.0.1";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "devdoc";
src = fetchFromGitHub {
owner = "wmww";
repo = "gtk4-layer-shell";
rev = "v${finalAttrs.version}";
hash = "sha256-MG/YW4AhC2joUX93Y/pzV4s8TrCo5Z/I3hAT70jW8dw=";
};
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
vala
wayland-scanner
];
buildInputs = [
wayland
gtk4
];
mesonFlags = [
"-Ddocs=true"
"-Dexamples=true"
];
meta = with lib; {
description = "A library to create panels and other desktop components for Wayland using the Layer Shell protocol and GTK4";
license = licenses.mit;
maintainers = with maintainers; [ donovanglover ];
platforms = platforms.linux;
};
})
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "hiredis";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "redis";
repo = "hiredis";
rev = "v${version}";
sha256 = "sha256-0ESRnZTL6/vMpek+2sb0YQU3ajXtzj14yvjfOSQYjf4=";
sha256 = "sha256-ZxUITm3OcbERcvaNqGQU46bEfV+jN6safPalG0TVfBg=";
};
PREFIX = "\${out}";
@@ -12,14 +12,14 @@
mkDerivation rec {
pname = "kirigami-addons";
version = "0.8.0";
version = "0.10.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "libraries";
repo = pname;
rev = "v${version}";
hash = "sha256-ObbpM1gVVFhOIHOla5YS8YYe+JoPgdZ8kJ356wLTJq4=";
hash = "sha256-wwc0PCY8vNCmmwfIYYQhQea9AYkHakvTaERtazz8npQ=";
};
nativeBuildInputs = [
@@ -66,16 +66,16 @@ let
projectArch = "x86_64";
};
};
platforms."aarch64-linux".sha256 = "1348821cprfy46fvzipqfy9qmv1jw48dsi2nxnk3k1097c6xb9zq";
platforms."x86_64-linux".sha256 = "0w58bqys331wssfqrv27v1fbvrgj4hs1kyjanld9vvdlna0x8kpg";
platforms."aarch64-linux".sha256 = "06f7dm3k04ij2jczlvwkmfrb977x46lx0n0vyz8xl4kvf2x5psp8";
platforms."x86_64-linux".sha256 = "09flbhddnl85m63rv70pmnfi2v8axjicad5blbrvdh2gj09g7y1r";
platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms;
in
stdenv.mkDerivation rec {
pname = "cef-binary";
version = "115.3.11";
gitRevision = "a61da9b";
chromiumVersion = "115.0.5790.114";
version = "115.3.13";
gitRevision = "749b4d4";
chromiumVersion = "115.0.5790.171";
src = fetchurl {
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_${platformInfo.platformStr}_minimal.tar.bz2";
@@ -14,13 +14,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "minizip-ng";
version = "4.0.0";
version = "4.0.1";
src = fetchFromGitHub {
owner = "zlib-ng";
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-YgBOsznV1JtnpLUJeqZ06zvdB3tNbOlFhhLd1pMJhEM=";
sha256 = "sha256-3bCGZupdJWcwp2d+XeqKZG3GxzXFm1UftV/PiN0u5iA=";
};
nativeBuildInputs = [ cmake pkg-config ];
@@ -5,13 +5,13 @@
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
stdenv.mkDerivation rec {
pname = "oneDNN";
version = "3.2";
version = "3.2.1";
src = fetchFromGitHub {
owner = "oneapi-src";
repo = "oneDNN";
rev = "v${version}";
sha256 = "sha256-V+0NyQMa4pY9Rhw6bLuqTom0ps/+wm4mGfn1rTi+0YM=";
sha256 = "sha256-/LbT2nHPpZHjY3xbJ9bDabR7aIMvetNP4mB+rxuTfy8=";
};
outputs = [ "out" "dev" "doc" ];
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://github.com/raspberrypi/picotool";
homepage = "https://github.com/raspberrypi/pico-sdk";
description = "SDK provides the headers, libraries and build system necessary to write programs for the RP2040-based devices";
license = licenses.bsd3;
maintainers = with maintainers; [ muscaln ];
@@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ adolfogc yana ];
platforms = platforms.all;
mainProgram = "qrencode";
};
}
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "tagparser";
version = "11.6.0";
version = "12.0.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = "tagparser";
rev = "v${version}";
hash = "sha256-zi1n5Mdto8DmUq5DWxcr4f+DX6Sq/JsK8uzRzj5f0/E=";
hash = "sha256-b6nAVhakQA8oKHP48+1S+4SX6EcI0kxK8uXTZ05cLnQ=";
};
nativeBuildInputs = [ cmake ];
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "uthenticode";
version = "1.0.9";
version = "2.0.0";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "uthenticode";
rev = "v${version}";
hash = "sha256-MEpbvt03L501BP42j6S7rXE9j1d8j6D2Y5kgPNlbHzc=";
hash = "sha256-XGKROp+1AJWUjCwMOikh+yvNMGuENJGb/kzJsEOEFeY=";
};
cmakeFlags = [ "-DBUILD_TESTS=1" "-DUSE_EXTERNAL_GTEST=1" ];
+3 -7
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, boost, pkg-config, doxygen, qt48Full, libharu
{ lib, stdenv, fetchFromGitHub, cmake, boost, pkg-config, doxygen, qtbase, libharu
, pango, fcgi, firebird, libmysqlclient, postgresql, graphicsmagick, glew, openssl
, pcre, harfbuzz, icu
}:
@@ -19,11 +19,12 @@ let
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
boost doxygen qt48Full libharu
boost doxygen qtbase libharu
pango fcgi firebird libmysqlclient postgresql graphicsmagick glew
openssl pcre harfbuzz icu
];
dontWrapQtApps = true;
cmakeFlags = [
"-DWT_CPP_11_MODE=-std=c++11"
"--no-warn-unused-cli"
@@ -44,11 +45,6 @@ let
};
};
in {
wt3 = generic {
version = "3.7.1";
sha256 = "19gf5lbrc5shpvcdyzjh20k8zdj4cybxqvkhwqfl9rvhw89qr11k";
};
wt4 = generic {
version = "4.9.1";
sha256 = "sha256-Qm0qqYB/CLVHUgKE9N83MgAWQ2YFdumrB0i84qYNto8=";
@@ -1,4 +1,4 @@
{deployAndroidPackage, lib, package, autoPatchelfHook, makeWrapper, os, pkgs, pkgsi686Linux, stdenv, cmdLineToolsVersion, postInstall}:
{deployAndroidPackage, lib, package, autoPatchelfHook, makeWrapper, os, pkgs, pkgsi686Linux, stdenv, postInstall}:
deployAndroidPackage {
name = "androidsdk";
@@ -16,7 +16,7 @@ deployAndroidPackage {
export ANDROID_SDK_ROOT="$out/libexec/android-sdk"
# Wrap all scripts that require JAVA_HOME
find $ANDROID_SDK_ROOT/cmdline-tools/${cmdLineToolsVersion}/bin -maxdepth 1 -type f -executable | while read program; do
find $ANDROID_SDK_ROOT/${package.path}/bin -maxdepth 1 -type f -executable | while read program; do
if grep -q "JAVA_HOME" $program; then
wrapProgram $program --prefix PATH : ${pkgs.jdk11}/bin \
--prefix ANDROID_SDK_ROOT : $ANDROID_SDK_ROOT
@@ -24,12 +24,12 @@ deployAndroidPackage {
done
# Wrap sdkmanager script
wrapProgram $ANDROID_SDK_ROOT/cmdline-tools/${cmdLineToolsVersion}/bin/sdkmanager \
wrapProgram $ANDROID_SDK_ROOT/${package.path}/bin/sdkmanager \
--prefix PATH : ${lib.makeBinPath [ pkgs.jdk11 ]} \
--add-flags "--sdk_root=$ANDROID_SDK_ROOT"
# Patch all script shebangs
patchShebangs $ANDROID_SDK_ROOT/cmdline-tools/${cmdLineToolsVersion}/bin
patchShebangs $ANDROID_SDK_ROOT/${package.path}/bin
cd $ANDROID_SDK_ROOT
${postInstall}
@@ -2,12 +2,12 @@
, licenseAccepted ? false
}:
{ cmdLineToolsVersion ? "9.0"
{ cmdLineToolsVersion ? "11.0"
, toolsVersion ? "26.1.1"
, platformToolsVersion ? "34.0.1"
, buildToolsVersions ? [ "33.0.2" ]
, platformToolsVersion ? "34.0.4"
, buildToolsVersions ? [ "34.0.0" ]
, includeEmulator ? false
, emulatorVersion ? "33.1.6"
, emulatorVersion ? "32.1.14"
, platformVersions ? []
, includeSources ? false
, includeSystemImages ? false
@@ -314,6 +314,8 @@ rec {
'') plugins}
''; # */
cmdline-tools-package = check-version packages "cmdline-tools" cmdLineToolsVersion;
# This derivation deploys the tools package and symlinks all the desired
# plugins that we want to use. If the license isn't accepted, prints all the licenses
# requested and throws.
@@ -329,9 +331,9 @@ rec {
by an environment variable for a single invocation of the nix tools.
$ export NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1
'' else callPackage ./cmdline-tools.nix {
inherit deployAndroidPackage os cmdLineToolsVersion;
inherit deployAndroidPackage os;
package = check-version packages "cmdline-tools" cmdLineToolsVersion;
package = cmdline-tools-package;
postInstall = ''
# Symlink all requested plugins
@@ -375,7 +377,7 @@ rec {
ln -s $i $out/bin
done
find $ANDROID_SDK_ROOT/cmdline-tools/${cmdLineToolsVersion}/bin -type f -executable | while read i; do
find $ANDROID_SDK_ROOT/${cmdline-tools-package.path}/bin -type f -executable | while read i; do
ln -s $i $out/bin
done
@@ -26,7 +26,7 @@ let
# Declaration of versions for everything. This is useful since these
# versions may be used in multiple places in this Nix expression.
android = {
platforms = [ "33" ];
platforms = [ "34" ];
systemImageTypes = [ "google_apis" ];
abis = [ "arm64-v8a" "x86_64" ];
};
@@ -115,10 +115,10 @@ pkgs.mkShell rec {
echo "installed_packages_section: ''${installed_packages_section}"
packages=(
"build-tools;33.0.2" "cmdline-tools;9.0" \
"emulator" "patcher;v4" "platform-tools" "platforms;android-33" \
"system-images;android-33;google_apis;arm64-v8a" \
"system-images;android-33;google_apis;x86_64"
"build-tools;34.0.0" "cmdline-tools;11.0" \
"emulator" "patcher;v4" "platform-tools" "platforms;android-34" \
"system-images;android-34;google_apis;arm64-v8a" \
"system-images;android-34;google_apis;x86_64"
)
for package in "''${packages[@]}"; do
@@ -135,7 +135,7 @@ pkgs.mkShell rec {
nativeBuildInputs = [ androidSdk androidEmulator jdk ];
} ''
avdmanager delete avd -n testAVD || true
echo "" | avdmanager create avd --force --name testAVD --package 'system-images;android-33;google_apis;x86_64'
echo "" | avdmanager create avd --force --name testAVD --package 'system-images;android-34;google_apis;x86_64'
result=$(avdmanager list avd)
if [[ ! $result =~ "Name: testAVD" ]]; then
@@ -25,18 +25,18 @@ let
# versions may be used in multiple places in this Nix expression.
android = {
versions = {
cmdLineToolsVersion = "9.0";
platformTools = "34.0.1";
buildTools = "33.0.2";
cmdLineToolsVersion = "11.0";
platformTools = "34.0.4";
buildTools = "34.0.0";
ndk = [
"25.1.8937393" # LTS NDK
"25.2.9519653"
"26.0.10404224-rc1"
];
cmake = "3.6.4111459";
emulator = "33.1.6";
emulator = "33.1.17";
};
platforms = ["23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33"];
platforms = [ "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" ];
abis = ["armeabi-v7a" "arm64-v8a"];
extras = ["extras;google;gcm"];
};
@@ -165,19 +165,20 @@ pkgs.mkShell rec {
installed_packages_section=$(echo "''${output%%Available Packages*}" | awk 'NR>4 {print $1}')
packages=(
"build-tools;33.0.2" "platform-tools" \
"build-tools;34.0.0" "platform-tools" \
"platforms;android-23" "platforms;android-24" "platforms;android-25" "platforms;android-26" \
"platforms;android-27" "platforms;android-28" "platforms;android-29" "platforms;android-30" \
"platforms;android-31" "platforms;android-32" "platforms;android-33" \
"platforms;android-31" "platforms;android-32" "platforms;android-33" "platforms;android-34" \
"sources;android-23" "sources;android-24" "sources;android-25" "sources;android-26" \
"sources;android-27" "sources;android-28" "sources;android-29" "sources;android-30" \
"sources;android-31" "sources;android-32" "sources;android-33" \
"sources;android-31" "sources;android-32" "sources;android-33" "sources;android-34" \
"system-images;android-28;google_apis_playstore;arm64-v8a" \
"system-images;android-29;google_apis_playstore;arm64-v8a" \
"system-images;android-30;google_apis_playstore;arm64-v8a" \
"system-images;android-31;google_apis_playstore;arm64-v8a" \
"system-images;android-32;google_apis_playstore;arm64-v8a" \
"system-images;android-33;google_apis_playstore;arm64-v8a"
"system-images;android-33;google_apis_playstore;arm64-v8a" \
"system-images;android-34;google_apis_playstore;arm64-v8a"
)
for package in "''${packages[@]}"; do
File diff suppressed because it is too large Load Diff
@@ -6,15 +6,13 @@
buildDunePackage rec {
pname = "odoc";
version = "2.2.0";
version = "2.2.1";
src = fetchurl {
url = "https://github.com/ocaml/odoc/releases/download/${version}/odoc-${version}.tbz";
sha256 = "sha256-aBjJcfwMPu2dPRQzifgHObFhivcLn9tEOzW9fwEhdAw=";
sha256 = "sha256-F4blO/CCT+HHx7gdKn2EaEal0RZ3lp5jljYfd6OBaAM=";
};
duneVersion = "3";
nativeBuildInputs = [ cppo ];
buildInputs = [ astring cmdliner fpath result tyxml odoc-parser fmt ];
@@ -35,5 +33,6 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/ocaml/odoc";
changelog = "https://github.com/ocaml/odoc/blob/${version}/CHANGES.md";
};
}
@@ -10,15 +10,15 @@
buildDunePackage rec {
pname = "ssl";
version = "0.5.13";
version = "0.7.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-ssl";
rev = version;
sha256 = "sha256-Ws7QZOvZVy0QixMiBFJZEOnYzYlCWrZ1d95gOp/a5a0=";
rev = "v${version}";
hash = "sha256-gi80iwlKaI4TdAVnCyPG03qRWFa19DHdTrA0KMFBAc4=";
};
nativeBuildInputs = [ pkg-config ];

Some files were not shown because too many files have changed in this diff Show More