Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-08-13 12:00:52 +00:00 committed by GitHub
commit 0ee8715a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 2843 additions and 3239 deletions

View file

@ -7899,6 +7899,11 @@
githubId = 31008330;
name = "Jann Marc Villablanca";
};
jgarcia = {
github = "chewblacka";
githubId = 18430320;
name = "John Garcia";
};
jgart = {
email = "jgart@dismail.de";
github = "jgarte";

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],
)

View file

@ -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) [

View file

@ -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}"

View file

@ -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 = [

View file

@ -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 = [

View file

@ -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.

View file

@ -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 = [

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 ];

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 = [

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;
};

File diff suppressed because it is too large Load diff

View file

@ -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

View file

@ -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" ];

View file

@ -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;

View file

@ -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=";

View file

@ -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; };

View file

@ -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

View file

@ -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 ];

View file

@ -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;

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=";
};
}

View file

@ -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";
};
}

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"
]
}
]

View file

@ -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 ];
};
}

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=";
};
}

View file

@ -19,6 +19,7 @@
, python3Packages
, qemu
, rsyslog
, openconnect
, samba
}:
@ -115,7 +116,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;

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;
};
}

View file

@ -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;
};
})

View file

@ -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}";

View file

@ -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";

View file

@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ adolfogc yana ];
platforms = platforms.all;
mainProgram = "qrencode";
};
}

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=";

View file

@ -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}

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,41 +1,29 @@
{ lib
, anyio
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, paho-mqtt
, poetry-core
, poetry-dynamic-versioning
# dependencies
, paho-mqtt
, typing-extensions
# tests
, anyio
, pytestCheckHook
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "aiomqtt";
version = "1.0.0";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sbtinstruments";
repo = "aiomqtt";
rev = "v${version}";
hash = "sha256-ct4KIGxiC5m0yrid0tOa/snO9oErxbqhLLH9kD69aEQ=";
rev = "refs/tags/v${version}";
hash = "sha256-8f3opbvN/hmT6AEMD7Co5n5IqdhP0higbaDGUBWJRzU=";
};
patches = [
(fetchpatch {
# adds test marker for network access
url = "https://github.com/sbtinstruments/aiomqtt/commit/225c1bfc99bc6ff908bd03c1115963e43ab8a9e6.patch";
hash = "sha256-UMEwCoX2mWBA7+p+JujkH5fc9sd/2hbb28EJ0fN24z4=";
})
];
nativeBuildInputs = [
poetry-core
poetry-dynamic-versioning
@ -46,13 +34,15 @@ buildPythonPackage rec {
typing-extensions
];
pythonImportsCheck = [ "aiomqtt" ];
nativeCheckInputs = [
anyio
pytestCheckHook
];
pythonImportsCheck = [
"aiomqtt"
];
pytestFlagsArray = [
"-m" "'not network'"
];
@ -60,7 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "The idiomatic asyncio MQTT client, wrapped around paho-mqtt";
homepage = "https://github.com/sbtinstruments/aiomqtt";
changelog = "https://github.com/sbtinstruments/aiomqtt/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/sbtinstruments/aiomqtt/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};

View file

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, cachecontrol
, cwl-upgrader
, cwlformat
, fetchFromGitHub
@ -11,12 +10,13 @@
, pythonOlder
, rdflib
, requests
, ruamel-yaml
, schema-salad
}:
buildPythonPackage rec {
pname = "cwl-utils";
version = "0.26";
version = "0.28";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,15 +25,15 @@ buildPythonPackage rec {
owner = "common-workflow-language";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-T82zaXILbQFOIE0/HhNjpYutSdA1UeaxXO/M7Z4sSfo=";
hash = "sha256-hplpsig+phIX6WCbUV0ILcA62f5DE/yTyKfoaeumgyY=";
};
propagatedBuildInputs = [
cachecontrol
cwl-upgrader
packaging
rdflib
requests
ruamel-yaml
schema-salad
];
@ -55,6 +55,9 @@ buildPythonPackage rec {
"test_graph_split"
"test_caches_js_processes"
"test_load_document_with_remote_uri"
# Don't run tests which require network access
"test_remote_packing"
"test_remote_packing_github_soft_links"
];
meta = with lib; {

View file

@ -1,23 +1,25 @@
{ lib
, fetchPypi
, buildPythonPackage
, pkg-config
, gtk3
, fetchPypi
, gobject-introspection
, pygobject3
, goocanvas2
, isPy3k
, gtk3
, pkg-config
, pygobject3
, pythonOlder
}:
buildPythonPackage rec {
pname = "GooCalendar";
version = "0.7.2";
pname = "goocalendar";
version = "0.8.0";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "318b3b7790ac9d6d98881eee3b676fc9c17fc15d21dcdaff486e3c303333b41a";
pname = "GooCalendar";
inherit version;
hash = "sha256-LwL5TLRkD6ALucabLUeB0k4rIX+O/aW2ebS2rZPjIUs=";
};
nativeBuildInputs = [
@ -37,10 +39,15 @@ buildPythonPackage rec {
# No upstream tests available
doCheck = false;
pythonImportsCheck = [
"goocalendar"
];
meta = with lib; {
description = "A calendar widget for GTK using PyGoocanvas.";
description = "A calendar widget for GTK using PyGoocanvas";
homepage = "https://goocalendar.tryton.org/";
license = licenses.gpl2;
maintainers = [ maintainers.udono ];
changelog = "https://foss.heptapod.net/tryton/goocalendar/-/blob/${version}/CHANGELOG";
license = licenses.gpl2Only;
maintainers = with maintainers; [ udono ];
};
}

View file

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "2.20.0";
version = "2.21.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-PUeEqed0crzfHLAHDDu4GgktMaNt11nuovfMIkz5iwk=";
hash = "sha256-2fDvv5QMo5LwfRN4f8LadtHhaN7a+uD48bQgjgwRMtw=";
};
propagatedBuildInputs = [

View file

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.28.0";
version = "2.29.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yML87bCWsuiV+jcznu6QDaLwKxSCb4Nd2BUm5f+wtRE=";
hash = "sha256-kBcdzhfr5k5MiSJu3tVyE09a5whQgj6m1AsUEwcQxS4=";
};
propagatedBuildInputs = [

View file

@ -1,20 +1,20 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, responses
, pytestCheckHook
, python-dotenv
, pytest-rerunfailures
, requests
, python-dateutil
, websocket-client
, ibm-cloud-sdk-core
, pytest-rerunfailures
, pytestCheckHook
, python-dateutil
, python-dotenv
, pythonOlder
, requests
, responses
, websocket-client
}:
buildPythonPackage rec {
pname = "ibm-watson";
version = "7.0.0";
version = "7.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -23,28 +23,23 @@ buildPythonPackage rec {
owner = "watson-developer-cloud";
repo = "python-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-AerEd4TkK/A0KhSy+QWxRDD4pjobsx4oDxMr+wUCGt0=";
hash = "sha256-f/nf9WFiUNDQBkFNMV16EznCw0TN9L4fDIPQ/j4B1Sc=";
};
propagatedBuildInputs = [
requests
python-dateutil
websocket-client
ibm-cloud-sdk-core
python-dateutil
requests
websocket-client
];
nativeCheckInputs = [
responses
pytest-rerunfailures
pytestCheckHook
python-dotenv
pytest-rerunfailures
responses
];
postPatch = ''
substituteInPlace setup.py \
--replace websocket-client==1.1.0 websocket-client>=1.1.0
'';
pythonImportsCheck = [
"ibm_watson"
];
@ -52,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Client library to use the IBM Watson Services";
homepage = "https://github.com/watson-developer-cloud/python-sdk";
changelog = "https://github.com/watson-developer-cloud/python-sdk/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ globin ];
};

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, setuptools
@ -43,6 +44,15 @@ buildPythonPackage rec {
hash = "sha256-MXzPIcbG8b1JwhEyAZG4DRObGaHq+ipVHMrZCzaxLdE=";
};
patches = [
# https://github.com/librosa/librosa/pull/1731
(fetchpatch {
name = "support-scipy-1.11.patch";
url = "https://github.com/librosa/librosa/commit/12dee8eabed7df14c5622b52c05393ddfeb11f4b.patch";
hash = "sha256-JxTXU0Mc+QYpsafjoGLaIccD7EdCYJvIVianeosYpw4=";
})
];
nativeBuildInputs = [
setuptools
];

View file

@ -1,10 +1,10 @@
{ lib
, asyncio-dgram
, buildPythonPackage
, click
, dnspython
, fetchFromGitHub
, poetry-core
, poetry-dynamic-versioning
, pytest-asyncio
, pytest-rerunfailures
, pytestCheckHook
@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "mcstatus";
version = "11.0.0";
version = "11.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -22,25 +22,26 @@ buildPythonPackage rec {
owner = "py-mine";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-+r6WL59T9rNAKl3r4Hef75uJoD7DRYA23uS/OlzRyRk=";
hash = "sha256-1jPIsFEJ17kjtCBiX4IvSf2FxYw9DkH3MrrJ85N71tc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"' \
--replace " --cov=mcstatus --cov-append --cov-branch --cov-report=term-missing -vvv --no-cov-on-fail" ""
'';
nativeBuildInputs = [
poetry-core
poetry-dynamic-versioning
];
propagatedBuildInputs = [
asyncio-dgram
click
dnspython
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest-asyncio
pytest-rerunfailures

View file

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "python-roborock";
version = "0.32.2";
version = "0.32.3";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "humbertogontijo";
repo = "python-roborock";
rev = "refs/tags/v${version}";
hash = "sha256-QMKdStv8WNGUjRrtU6ZKXsJPsYWMXbDMqWUO1nkD1Cc=";
hash = "sha256-rKE+dgq0ax/EZ0qYkGVsnHhNxyt3F74hI2tZAaOHCqI=";
};
pythonRelaxDeps = [

View file

@ -0,0 +1,27 @@
{
lib,
buildPythonPackage,
fetchPypi,
sabnzbd,
}:
buildPythonPackage rec {
pname = "sabctools";
version = "7.0.2"; # needs to match version sabnzbd expects, e.g. https://github.com/sabnzbd/sabnzbd/blob/4.0.x/requirements.txt#L3
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-AB5/McuOIDkhu7rtb3nFaqOTx3zwm92+3NEnH5HjzBo=";
};
pythonImportsCheck = ["sabctools"];
passthru.tests = {inherit sabnzbd;};
meta = with lib; {
description = "C implementations of functions for use within SABnzbd";
homepage = "https://github.com/sabnzbd/sabctools";
license = licenses.gpl2Only;
maintainers = with maintainers; [adamcstephens];
};
}

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "streamdeck";
version = "0.9.3";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-9bNWsNEW5Di2EZ3z+p8y4Q7GTfIG66b05pTiQcff7HE=";
hash = "sha256-aVmWbrBhZ49NfwOp23FD1dxZF+w/q26fIOVs7iQXUxo=";
};
patches = [

View file

@ -5,7 +5,7 @@ index 824c59c..f13754e 100644
@@ -110,7 +110,7 @@ class LibUSBHIDAPI(Transport):
search_library_names = {
"Windows": ["hidapi.dll", "libhidapi-0.dll"],
"Windows": ["hidapi.dll", "libhidapi-0.dll", "./hidapi.dll"],
- "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
+ "Linux": ["@libusb@"],
"Darwin": ["libhidapi.dylib"],

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "tplink-omada-client";
version = "1.3.2";
version = "1.3.3";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "tplink_omada_client";
inherit version;
hash = "sha256-AR0jCoYePll6pZA1Nw/lrH4AhFL6WmGQjzLlYJl7IsQ=";
hash = "sha256-Jo0p/28Hzokeq0SAdyWfkKzoscVkQj9kP3VnRlWjR8o=";
};
nativeBuildInputs = [

View file

@ -15,16 +15,16 @@
rustPlatform.buildRustPackage rec {
pname = "espup";
version = "0.4.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "esp-rs";
repo = "espup";
rev = "v${version}";
hash = "sha256-gzM+RT4Rt+LaYk7CwYUTIMci8DDI0y3+7y+N2yKRDOc=";
hash = "sha256-Eb0Q+Ju5nTXL0XvNhAo4Mc+ZP/vOfld313H9/oI3I2U=";
};
cargoHash = "sha256-GYhF6VDBAieZbu4x9EiQVVJkmx0aRYK0xwGGP0nuVGc=";
cargoHash = "sha256-ZKku6ElEtYXxwqeWTDKcCuZ4Wgqonc0B9nMyNd0VcdU=";
nativeBuildInputs = [
pkg-config

View file

@ -2,18 +2,18 @@
buildGraalvmNativeImage rec {
pname = "clojure-lsp";
version = "2023.07.01-22.35.41";
version = "2023.08.06-00.28.06";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-/gpynrmu9O6nRH5TzfXwxbPbpk7c6ZzwR6cp8F2puUM=";
sha256 = "sha256-wc7M2cPRtdaRzZn3GNu/aCbQ2VqxiDxvu/b7qnBVUBo=";
};
jar = fetchurl {
url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar";
sha256 = "90457834b079eea57d07b62a1281ebe91b7449d61da0f6e20d5b9f8f8163e525";
sha256 = "c301821ac6914999a44f5c1cd371d46b248fe9a2e31d43a666d0bc2656cfdd78";
};
extraNativeImageBuildArgs = [

View file

@ -10,13 +10,13 @@
buildGoModule rec {
pname = "src-cli";
version = "5.1.0";
version = "5.1.1";
src = fetchFromGitHub {
owner = "sourcegraph";
repo = "src-cli";
rev = version;
hash = "sha256-sN6Ea1kJce8Jqy8YrkWzDrQDrmA8F+UYz7ZuqfdbnJ4=";
hash = "sha256-r9ugSs9I5K7yuAtOTWCKr3dHGBtmTQVehKqZ3ago1U4=";
};
vendorHash = "sha256-A533f+FfEzU2TlNwHkD8gjeQYRATz85cCCmqLdl9290=";

View file

@ -9,14 +9,14 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-show-asm";
version = "0.2.20";
version = "0.2.21";
src = fetchCrate {
inherit pname version;
hash = "sha256-uLF/xDRxw8sLWXkxxHa2cQ6MVMhcN5dop/qfWNEdyIE=";
hash = "sha256-0Fj+yC464XdqeMWBgBj5g6ZQGrurFM5LbqSe9GSgbGg=";
};
cargoHash = "sha256-HDHsTc7JKvLp5Ezaxctjlhd304TXdcVndkuiE9GBSZ0=";
cargoHash = "sha256-fW+WvsZv34ZpwaRCs6Uom7t0cV+9yPIlN5pbRea9YEk=";
nativeBuildInputs = [
installShellFiles

View file

@ -14,11 +14,15 @@
, jdk8
, jdk17
, gamemode
, flite
, mesa-demos
, msaClientID ? null
, gamemodeSupport ? stdenv.isLinux
, textToSpeechSupport ? stdenv.isLinux
, jdks ? [ jdk17 jdk8 ]
, additionalLibs ? [ ]
, additionalPrograms ? [ ]
}:
let
prismlauncherFinal = prismlauncher-unwrapped.override {
@ -46,7 +50,7 @@ symlinkJoin {
qtWrapperArgs =
let
libs = (with xorg; [
runtimeLibs = (with xorg; [
libX11
libXext
libXcursor
@ -61,14 +65,21 @@ symlinkJoin {
stdenv.cc.cc.lib
]
++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite
++ additionalLibs;
runtimePrograms = [
xorg.xrandr
mesa-demos # need glxinfo
]
++ additionalPrograms;
in
[ "--prefix PRISMLAUNCHER_JAVA_PATHS : ${lib.makeSearchPath "bin/java" jdks}" ]
++ lib.optionals stdenv.isLinux [
"--set LD_LIBRARY_PATH /run/opengl-driver/lib:${lib.makeLibraryPath libs}"
"--set LD_LIBRARY_PATH /run/opengl-driver/lib:${lib.makeLibraryPath runtimeLibs}"
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
"--prefix PATH : ${lib.makeBinPath [xorg.xrandr]}"
"--prefix PATH : ${lib.makeBinPath runtimePrograms}"
];
inherit (prismlauncherFinal) meta;

View file

@ -0,0 +1,65 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, inih
, ninja
, pkg-config
, qtbase
, wrapQtAppsHook
, makeDesktopItem
, copyDesktopItems
}:
stdenv.mkDerivation rec {
pname = "qzdl";
version = "unstable-2023-04-04";
src = fetchFromGitHub {
owner = "qbasicer";
repo = "qzdl";
rev = "44aaec0182e781a3cef373e5c795c9dbd9cd61bb";
hash = "sha256-K/mJQb7uO2H94krWJIJtFRYd6BAe2TX1xBt6fGBb1tA=";
};
patches = [
./non-bundled-inih.patch
];
nativeBuildInputs = [
cmake
copyDesktopItems
ninja
pkg-config
wrapQtAppsHook
];
buildInputs = [
inih
qtbase
];
postInstall = ''
install -Dm644 $src/res/zdl3.svg $out/share/icons/hicolor/scalable/apps/zdl3.svg
'';
desktopItems = [
(makeDesktopItem {
name = "zdl3";
exec = "zdl %U";
icon = "zdl3";
desktopName = "ZDL";
genericName = "A ZDoom WAD Launcher";
categories = [ "Game" ];
})
];
meta = with lib; {
description = "A ZDoom WAD Launcher";
homepage = "https://zdl.vectec.net";
license = licenses.gpl3Only;
inherit (qtbase.meta) platforms;
maintainers = with maintainers; [ azahi ];
mainProgram = "zdl";
};
}

View file

@ -0,0 +1,36 @@
diff --git i/CMakeLists.txt w/CMakeLists.txt
index 10a8fb6..dcab540 100644
--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -6,16 +6,8 @@ set(CMAKE_AUTOMOC ON)
project(qzdl LANGUAGES C CXX)
find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
-include(FetchContent)
-FetchContent_Declare(
- inih
- GIT_REPOSITORY https://github.com/benhoyt/inih.git
- GIT_TAG r44
-)
-FetchContent_GetProperties(inih)
-if (NOT inih_POPULATED)
- FetchContent_Populate(inih)
-endif()
+find_package(PkgConfig)
+pkg_check_modules(INIH inih)
add_executable(
zdl
@@ -45,9 +37,8 @@ add_executable(
libwad.cpp
qzdl.cpp
${PROJECT_SOURCE_DIR}/zdlconf/zdlconf.cpp
- ${inih_SOURCE_DIR}/ini.c
)
-target_include_directories(zdl PRIVATE ${PROJECT_SOURCE_DIR}/zdlconf)
-target_include_directories(zdl PRIVATE ${inih_SOURCE_DIR})
-target_link_libraries(zdl Qt5::Core Qt5::Widgets)
+target_include_directories(zdl PRIVATE ${PROJECT_SOURCE_DIR}/zdlconf ${INIH_INCLUDEDIR})
+target_link_libraries(zdl Qt5::Core Qt5::Widgets ${INIH_LDFLAGS})
+install(TARGETS zdl RUNTIME DESTINATION "bin")

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitLab
, glib
, cmake
, libxml2
, meson
@ -38,6 +39,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
meson
cmake
glib
libxml2
ninja
pkg-config

View file

@ -52,6 +52,12 @@ stdenv.mkDerivation {
# fixes "multiple definition of `VDPAUDeviceFunctions'" linking errors
url = "https://github.com/NVIDIA/nvidia-settings/commit/a7c1f5fce6303a643fadff7d85d59934bd0cf6b6.patch";
hash = "sha256-ZwF3dRTYt/hO8ELg9weoz1U/XcU93qiJL2d1aq1Jlak=";
})
++ lib.optional (lib.versionAtLeast nvidia_x11.settingsVersion "515.43.04")
(fetchpatch {
# fix wayland support for compositors that use wl_output version 4
url = "https://github.com/NVIDIA/nvidia-settings/pull/99/commits/2e0575197e2b3247deafd2a48f45afc038939a06.patch";
hash = "sha256-wKuO5CUTUuwYvsP46Pz+6fI0yxLNpZv8qlbL0TFkEFE=";
});
postPatch = lib.optionalString nvidia_x11.useProfiles ''

View file

@ -8,14 +8,14 @@
}:
buildGoModule rec {
version = "2.8.3";
version = "2.8.4";
pname = "grafana-loki";
src = fetchFromGitHub {
owner = "grafana";
repo = "loki";
rev = "v${version}";
hash = "sha256-Ceuxaxl4KHOlS51MbpYYox6r/SfbGcLrmKbst+xQk74=";
hash = "sha256-imMtVjDOkm+cFjyKbP/QNUTYLoLo8TbDQroT0fvbe10=";
};
vendorHash = null;

View file

@ -1,37 +1,60 @@
{ lib, stdenv
, coreutils
, fetchFromGitHub
, python3
, par2cmdline
, unzip
, unrar
, p7zip
, util-linux
, makeWrapper
, nixosTests
}:
let
pythonEnv = python3.withPackages(ps: with ps; [
babelfish
cffi
chardet
cheetah3
cheroot
cherrypy
cryptography
configobj
cryptography
feedparser
sabyenc3
puremagic
guessit
jaraco-classes
jaraco-collections
jaraco-context
jaraco-functools
jaraco-text
more-itertools
notify2
orjson
portend
puremagic
pycparser
pysocks
python-dateutil
pytz
rebulk
sabctools
sabyenc3
sgmllib3k
six
tempora
zc_lockfile
]);
path = lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
path = lib.makeBinPath [ coreutils par2cmdline unrar unzip p7zip util-linux ];
in stdenv.mkDerivation rec {
version = "3.7.2";
version = "4.0.3";
pname = "sabnzbd";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-1gGvdc6TJrkFIrN+TUL/7EejApgpgAQxnQbp8RMknHQ=";
sha256 = "sha256-6d/UGFuySgKvpqhGjzl007GS9yMgfgI3YwTxkxsCzew=";
};
nativeBuildInputs = [ makeWrapper ];
@ -59,6 +82,6 @@ in stdenv.mkDerivation rec {
homepage = "https://sabnzbd.org";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ fridh jojosch ];
maintainers = with lib.maintainers; [ fridh jojosch adamcstephens ];
};
}

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@
, nix-update-script
}:
let version = "1.2.0";
let version = "1.3.1";
in
rustPlatform.buildRustPackage {
pname = "meilisearch";
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage {
owner = "meilisearch";
repo = "MeiliSearch";
rev = "refs/tags/v${version}";
hash = "sha256-j+tz47dQFyKy51UAzFOc2YkAeYDUdsiteenC38cWrLI=";
hash = "sha256-jttT4qChoqwTnjjoW0Zc15ZieZN7KD1Us64Tk0eDG3Y=";
};
cargoBuildFlags = [
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage {
lockFile = ./Cargo.lock;
outputHashes = {
"actix-web-static-files-3.0.5" = "sha256-2BN0RzLhdykvN3ceRLkaKwSZtel2DBqZ+uz4Qut+nII=";
"heed-0.12.5" = "sha256-WOdpgc3sDNKBSYWB102xTxmY1SWljH9Q1+6xmj4Rb8Q=";
"heed-0.12.7" = "sha256-mthHMaTqmNae8gpe4ZnozABKBrgFQdn9KWCvIzJJ+u4=";
"lmdb-rkv-sys-0.15.1" = "sha256-zLHTprwF7aa+2jaD7dGYmOZpJYFijMTb4I3ODflNUII=";
"nelson-0.1.0" = "sha256-eF672quU576wmZSisk7oDR7QiDafuKlSg0BTQkXnzqY=";
};

View file

@ -1,14 +1,14 @@
{ stdenv, lib, python3, fetchPypi, fetchFromGitHub, installShellFiles }:
let
version = "2.50.0";
version = "2.51.0";
src = fetchFromGitHub {
name = "azure-cli-${version}-src";
owner = "Azure";
repo = "azure-cli";
rev = "azure-cli-${version}";
hash = "sha256-eKE/jdS5/PshCxn/4NXuW5rHh7jBsv2VQSWM3cjLHRw=";
hash = "sha512-KjkR1YKvL5stfmIbrfzj9Ons4iYyiKQdLiRh7I7Dd43lvJwXaYLNjIYL5SOX3F3D9nmNxCb0qmYAQH0iEmyVjw==";
};
# put packages that needs to be overridden in the py package scope
@ -269,8 +269,19 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
meta = with lib; {
homepage = "https://github.com/Azure/azure-cli";
description = "Next generation multi-platform command line experience for Azure";
downloadPage = "https://github.com/Azure/azure-cli/releases/tag/azure-cli-${version}";
longDescription = ''
The Azure Command-Line Interface (CLI) is a cross-platform
command-line tool to connect to Azure and execute administrative
commands on Azure resources. It allows the execution of commands
through a terminal using interactive command-line prompts or a script.
'';
changelog = "https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md";
sourceProvenance = [ sourceTypes.fromSource ];
license = licenses.mit;
mainProgram = "az";
maintainers = with maintainers; [ akechishiro jonringer ];
platforms = platforms.all;
};
})

View file

@ -65,7 +65,7 @@ let
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
--replace "cryptography>=3.2,<3.4" "cryptography" \
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions" \
--replace "msal[broker]==1.22.0" "msal[broker]" \
--replace "msal[broker]==1.24.0b1" "msal[broker]" \
--replace "packaging>=20.9,<22.0" "packaging"
'';
nativeCheckInputs = with self; [ pytest ];
@ -112,8 +112,8 @@ let
antlr4 = super.pkgs.antlr4_9;
});
azure-batch = overrideAzureMgmtPackage super.azure-batch "13.0.0" "zip"
"sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
azure-batch = overrideAzureMgmtPackage super.azure-batch "14.0.0" "zip"
"sha256-FlsembhvghAkxProX7NIadQHqg67DKS5b7JthZwmyTQ=";
azure-data-tables = overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip"
"sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw=";
@ -136,8 +136,8 @@ let
azure-mgmt-extendedlocation = overrideAzureMgmtPackage super.azure-mgmt-extendedlocation "1.0.0b2" "zip"
"sha256-mjfH35T81JQ97jVgElWmZ8P5MwXVxZQv/QJKNLS3T8A=";
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b2" "zip"
"sha256-e+I5MdbbX7WhxHCj1Ery3z2WUrJtpWGD1bhLbqReb58=";
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b4" "zip"
"sha512-NW2BNj45lKzBmPXWMuBnVEDG2C6xzo9J/QjcC5fczvyhKBIkhugJVOWdPUsSzyGeQYKdqpRWPOl0yBG/eblHQA==";
azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b10" "zip"
"sha256-sM8oZdhv+5WCd4RnMtEmCikTBmzGsap5heKzSbHbRPI=";
@ -151,11 +151,11 @@ let
azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "3.0.0" "zip"
"sha256-FJhuVgqNjdRIegP4vUISrAtHvvVle5VQFVITPm4HLEw=";
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "13.3.0" "zip"
"sha256-v1pTNPH0ujRm4VMt95Uw6d07lF8bgM3XIa3NJIbNLFI=";
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "13.5.0" "zip"
"sha512-bUFY0+JipVihatMib0Giv7THnv4rRAbT36PhP+5tcsVlBVLmCYqjyp0iWnTfSbvRiljKOjbm3w+xeC0gL/IE7w==";
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "29.1.0" "zip"
"sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg=";
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "30.0.0" "zip"
"sha256-cyD7r8OSdwsD7QK2h2AYXmCUVS7ZjX/V6nchClpRPHg=";
azure-mgmt-consumption = overrideAzureMgmtPackage super.azure-mgmt-consumption "2.0.0" "zip"
"sha256-moWonzDyJNJhdJviC0YWoOuJSFhvfw8gVzuOoy8mUYk=";
@ -163,8 +163,8 @@ let
azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "10.1.0" "zip"
"sha256-eNQ3rbKFdPRIyDjtXwH5ztN4GWCYBh3rWdn3AxcEwX4=";
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "24.0.0" "zip"
"sha256-sUp3LDVsc1DmVf4HdaXGSDeEvmAE2weSHHTxL/BwRk8=";
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "25.0.0" "zip"
"sha256-je7O92bklsbIlfsTUF2TXUqztAZxn8ep4ezCUHeLuhE=";
azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "9.2.0" "zip"
"sha256-PAaBkR77Ho2YI5I+lmazR/8vxEZWpbvM427yRu1ET0k=";
@ -249,8 +249,8 @@ let
azure-mgmt-search = overrideAzureMgmtPackage super.azure-mgmt-search "9.0.0" "zip"
"sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0=";
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "3.0.0" "zip"
"sha256-vLp874V/awKi2Yr+sH+YcbFij6M9iGGrE4fnMufbP4Q=";
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "5.0.0" "zip"
"sha512-wMI55Ou96rzUEZIeTDmMfR4KIz3tG98z6A6teJanGPyNgte9tGa0/+2ge0yX10iwRKZyZZPNTReCkcd+IOkS+A==";
azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "1.1.0" "zip"
"sha256-lUNIDyP5W+8aIX7manfMqaO2IJJm/+2O+Buv+Bh4EZE=";
@ -485,12 +485,12 @@ let
});
msal = super.msal.overridePythonAttrs(oldAttrs: rec {
version = "1.20.0";
version = "1.24.0b1";
src = fetchPypi {
inherit (oldAttrs) pname;
inherit version;
hash = "sha256-eDRM1MkdYTSlk7Xj5FVB5mbje3R/+KYxbDZo3R5qtrI=";
hash = "sha256-ze5CqX+m8XH4NUECL2SgNT9EXV4wS/0DgO5XMDHo/Uo=";
};
});
@ -514,12 +514,12 @@ let
});
knack = super.knack.overridePythonAttrs(oldAttrs: rec {
version = "0.10.1";
version = "0.11.0";
src = fetchPypi {
inherit (oldAttrs) pname;
inherit version;
hash = "sha256-xXKBKCl+bSaXkQhc+Wwv/fzvWM+DxjSly5LrA7KSmDg=";
hash = "sha256-62VoAB6RELGzIJQUMcUQM9EEzJjNoiVKXCsJulaf1JQ=";
};
});

View file

@ -8,16 +8,16 @@
buildGoModule rec {
pname = "clair";
version = "4.7.0";
version = "4.7.1";
src = fetchFromGitHub {
owner = "quay";
repo = pname;
rev = "v${version}";
hash = "sha256-jnEnzIxI6S5AoUpfurOcf5N2Fo03QFNjxUzkn+i4h0Q=";
hash = "sha256-+ABZafDc2nmHHnJGXj4iCSheuWoksPwDblmdIusUJuo=";
};
vendorHash = "sha256-6UdTqnbtX4X4qACXW8uybyiOVOGXVw5HBNUvC/l1xfo=";
vendorHash = "sha256-ptgHU/PrLqRG4h3C5x+XUy4+38Yu6h4gTeziaPJ2iWE=";
nativeBuildInputs = [
makeWrapper

View file

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "ouch";
version = "0.4.1";
version = "0.4.2";
src = fetchFromGitHub {
owner = "ouch-org";
repo = pname;
repo = "ouch";
rev = version;
sha256 = "sha256-WzdKr0i31qNRm1EpMZ/W4fOfKKItmvz6BYFbJWcfoHo=";
hash = "sha256-XJOv7JFUJulEkGCMLxGi9nldHaPM/CUzyENIC2TdtoE=";
};
cargoSha256 = "sha256-UhKcWpNuRNyA+uUw5kx84Y2F1Swr05m7JUM1+9lXYPM=";
cargoHash = "sha256-TfAAU46rH6Jq0MuLRjbaVMRjzoSLYNAWBnUcT8DyIVg=";
nativeBuildInputs = [ installShellFiles pkg-config ];
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
installShellCompletion artifacts/ouch.{bash,fish} --zsh artifacts/_ouch
'';
OUCH_ARTIFACTS_FOLDER = "artifacts";
env.OUCH_ARTIFACTS_FOLDER = "artifacts";
meta = with lib; {
description = "A command-line utility for easily compressing and decompressing files and directories";

View file

@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ svend ];
platforms = platforms.linux;
mainProgram = "dual-function-keys";
};
}

View file

@ -1,8 +1,9 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, fetchpatch, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "cc2538-bsl";
version = "unstable-2022-08-03";
format = "setuptools";
src = fetchFromGitHub rec {
owner = "JelmerT";
@ -11,7 +12,20 @@ python3Packages.buildPythonPackage rec {
hash = "sha256-fPY12kValxbJORi9xNyxzwkGpD9F9u3M1+aa9IlSiaE=";
};
nativeBuildInputs = [ python3Packages.setuptools-scm ];
patches = [
# https://github.com/JelmerT/cc2538-bsl/pull/138
(fetchpatch {
name = "clean-up-install-dependencies.patch";
url = "https://github.com/JelmerT/cc2538-bsl/commit/bf842adf8e99a9eb8528579e5b85e59ee23be08d.patch";
hash = "sha256-XKQ0kfl8yFrSF5RosHY9OvJR18Fh0dmAN1FlfZ024ME=";
})
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.1.dev0+g${lib.substring 0 7 src.rev}";
nativeBuildInputs = with python3Packages; [
setuptools-scm
];
propagatedBuildInputs = with python3Packages; [
intelhex
@ -19,7 +33,10 @@ python3Packages.buildPythonPackage rec {
python-magic
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.1.dev0+g${lib.substring 0 7 src.rev}";
nativeCheckInputs = with python3Packages; [
pytestCheckHook
scripttest
];
postInstall = ''
# Remove .py from binary

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "mmv";
version = "2.5";
version = "2.5.1";
src = fetchFromGitHub {
owner = "rrthomas";
repo = "mmv";
rev = "v${version}";
sha256 = "sha256-tQk3AwmUuhbxvFm9wiO7BM2GChGopvpCZAp8J9XCDF0=";
sha256 = "sha256-01MJjYVPfDaRkzitqKXTJZHbkkZTEaFoyYZEEMizHp0=";
fetchSubmodules = true;
};

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
description = "Tool to access the X clipboard from a console application";
homepage = "https://github.com/astrand/xclip";
license = lib.licenses.gpl2;
mainProgram = "xclip";
platforms = lib.platforms.all;
mainProgram = "xclip";
};
}

View file

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "dnscrypt-proxy2";
version = "2.1.4";
version = "2.1.5";
vendorSha256 = null;
@ -12,7 +12,7 @@ buildGoModule rec {
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "sha256-98DeCrDp0TmPCSvOrJ7KgIQZBR2K1fFJrmNccZ7nSug=";
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
};
meta = with lib; {

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "memtier-benchmark";
version = "1.4.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "redislabs";
repo = "memtier_benchmark";
rev = "refs/tags/${version}";
sha256 = "sha256-1ZgSmHOLvPecqVN9P/Mr/2cOdbdl4oe4GgMjLaDX7YQ=";
sha256 = "sha256-3KFBj+Cj5qO5k1hy5oSvtXdtTZIbGPJ1fhmnIeCW2s8=";
};
patchPhase = ''

View file

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "proxify";
version = "0.0.11";
version = "0.0.12";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "proxify";
rev = "refs/tags/v${version}";
hash = "sha256-aoge1K1T4jgh8TFN8nFIjFehmz/o1UefbzEbV85dHTk=";
hash = "sha256-j2FuyoTCc9mcoI683xZkMCL6QXy0dGEheNaormlgUvY=";
};
vendorHash = "sha256-ingumSn4EDdw1Vgwm/ghQTsErqFVFZtjNfwfDwdJ/2s=";
vendorHash = "sha256-kPj3KBi8Mbsj4BW7Vf1w4mW8EN07FuqgFhAkkLCl8Bc=";
meta = with lib; {
description = "Proxy tool for HTTP/HTTPS traffic capture";

View file

@ -6,8 +6,7 @@
}:
buildDotnetModule rec {
pname = "CertDump";
pname = "certdump";
version = "unstable-2023-07-12";
src = fetchFromGitHub {
@ -40,6 +39,5 @@ buildDotnetModule rec {
'';
license = licenses.asl20;
maintainers = [ maintainers.baloo ];
platforms = with platforms; (linux ++ darwin);
};
}

View file

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "cyclonedx-gomod";
version = "1.4.0";
version = "1.4.1";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = pname;
rev = "v${version}";
hash = "sha256-GCRLOfrL1jFExGb5DbJa8s7RQv8Wn81TGktShZqeC54=";
hash = "sha256-JczDfNBYT/Ap2lDucEvuT8NAwuQgmavOUvtznI6Q+Zc=";
};
vendorHash = "sha256-gFewqutvkFc/CVpBD3ORGcfiG5UNh5tQ1ElHpM3g5+I=";
vendorHash = "sha256-5Mn+f+oVwbn2qGaZct5+9f6tOBXfsB/I72yD7fHUrC8=";
# Tests require network access and cyclonedx executable
doCheck = false;

View file

@ -1,21 +1,21 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, autoconf-archive
, pkg-config
, autoreconfHook
, makeWrapper
, pkg-config
, substituteAll
, curl
, gtk3
, libassuan
, libbsd
, libproxy
, libxml2
, nssTools
, openssl
, p11-kit
, pcsclite
, nssTools
, substituteAll
}:
stdenv.mkDerivation rec {
@ -30,8 +30,15 @@ stdenv.mkDerivation rec {
hash = "sha256-70UjfkH+rx1Q+2XEuAByoDsP5ZelyuGXaHdkjTe/sCY=";
};
postPatch = ''
sed 's@m4_esyscmd_s(.*,@[${version}],@' -i configure.ac
substituteInPlace configure.ac --replace 'p11kitcfdir=""' 'p11kitcfdir="'$out/share/p11-kit/modules'"'
'';
nativeBuildInputs = [ autoreconfHook autoconf-archive pkg-config makeWrapper ];
buildInputs = [ curl gtk3 libassuan libbsd libproxy libxml2 openssl p11-kit pcsclite ];
preConfigure = ''
mkdir openssl
ln -s ${lib.getLib openssl}/lib openssl
@ -44,10 +51,6 @@ stdenv.mkDerivation rec {
# pinentry uses hardcoded `/usr/bin/pinentry`, so use the built-in (uglier) dialogs for pinentry.
configureFlags = [ "--disable-pinentry" ];
postPatch = ''
sed 's@m4_esyscmd_s(.*,@[${version}],@' -i configure.ac
'';
postInstall =
let
eid-nssdb-in = substituteAll {

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "exploitdb";
version = "2023-08-11";
version = "2023-08-12";
src = fetchFromGitLab {
owner = "exploit-database";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-Fv5vGPo9KZCNTllQhVHlGh496vdwpdTx1V0StaS9Flk=";
hash = "sha256-614RJCI3/7xV5CaeiJqH0G3Kxk3orSN+xePHgHZY4GM=";
};
nativeBuildInputs = [

View file

@ -1,4 +1,4 @@
# frozen_string_literal: true
source "https://rubygems.org"
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.3.28"
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.3.29"

View file

@ -1,9 +1,9 @@
GIT
remote: https://github.com/rapid7/metasploit-framework
revision: fa40647fa24c91f387b6d4b84bf818c90feb8fd9
ref: refs/tags/6.3.28
revision: 1f8710308cee679b61629e0050952ea37d647ff4
ref: refs/tags/6.3.29
specs:
metasploit-framework (6.3.28)
metasploit-framework (6.3.29)
actionpack (~> 7.0)
activerecord (~> 7.0)
activesupport (~> 7.0)
@ -103,25 +103,25 @@ GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
actionpack (7.0.6)
actionview (= 7.0.6)
activesupport (= 7.0.6)
actionpack (7.0.7)
actionview (= 7.0.7)
activesupport (= 7.0.7)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.6)
activesupport (= 7.0.6)
actionview (7.0.7)
activesupport (= 7.0.7)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.6)
activesupport (= 7.0.6)
activerecord (7.0.6)
activemodel (= 7.0.6)
activesupport (= 7.0.6)
activesupport (7.0.6)
activemodel (7.0.7)
activesupport (= 7.0.7)
activerecord (7.0.7)
activemodel (= 7.0.7)
activesupport (= 7.0.7)
activesupport (7.0.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@ -132,13 +132,13 @@ GEM
arel-helpers (2.14.0)
activerecord (>= 3.1.0, < 8)
aws-eventstream (1.2.0)
aws-partitions (1.799.0)
aws-sdk-core (3.180.2)
aws-partitions (1.803.0)
aws-sdk-core (3.180.3)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ec2 (1.396.0)
aws-sdk-ec2 (1.397.0)
aws-sdk-core (~> 3, >= 3.177.0)
aws-sigv4 (~> 1.1)
aws-sdk-ec2instanceconnect (1.32.0)
@ -150,7 +150,7 @@ GEM
aws-sdk-kms (1.71.0)
aws-sdk-core (~> 3, >= 3.177.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.132.0)
aws-sdk-s3 (1.132.1)
aws-sdk-core (~> 3, >= 3.179.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.6)
@ -186,7 +186,7 @@ GEM
eventmachine (>= 1.0.0.beta.4)
erubi (1.12.0)
eventmachine (1.2.7)
faker (3.2.0)
faker (3.2.1)
i18n (>= 1.8.11, < 2)
faraday (2.7.10)
faraday-net_http (>= 2.0, < 3.1)
@ -316,9 +316,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.6)
actionpack (= 7.0.6)
activesupport (= 7.0.6)
railties (7.0.7)
actionpack (= 7.0.7)
activesupport (= 7.0.7)
method_source
rake (>= 12.2)
thor (~> 1.0)

View file

@ -15,13 +15,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "metasploit-framework";
version = "6.3.28";
version = "6.3.29";
src = fetchFromGitHub {
owner = "rapid7";
repo = "metasploit-framework";
rev = version;
sha256 = "sha256-g6oM2xjfARBaVJm5AqfrqhLpa3av/0ixql2+62iuG94=";
sha256 = "sha256-e5aM4pGNDkF8UDxgb8O+uTNOiUmudnbDUWsO/Ke1nV4=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -4,50 +4,50 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d66w1d9rhvafd0dilqyr1ymsvr060l8hi0xvwij7cyvzzxrlrbc";
sha256 = "150sjsk12vzj9aswjy3cz124l8n8sn52bhd0wwly73rwc1a750sg";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
actionview = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1icfh9pgjpd29apzn07cnqa9nlpvjv7i4vrygack5gp7hp54l8m7";
sha256 = "1nn21k5psxdv2fkwxs679lr0b8n1nzli2ks343cx4azn6snp8b8a";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
activemodel = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "072iv0d3vpbp0xijg4jj99sjil1rykmqfj9addxj76bm5mbzwcaj";
sha256 = "1rspbw4yxx9fh2wyl2wvgwadwapfyx7j9zlirpd4pmk31wkhl4hf";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
activerecord = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1l0rn43bhyzlfa4wwcfz016vb4lkzvl0jf5zibkjy4sppxxixzrq";
sha256 = "1ygg145wxlgm12b1x5r0rsk2aa6i2wjz7bgb21j8vmyqyfl272cy";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
activesupport = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1cjsf26656996hv48wgv2mkwxf0fy1qc68ikgzq7mzfq2mmvmayk";
sha256 = "1wzbnv3hns0yiwbgh1m3q5j0d7b0k52nlpwirhxyv3l0ycmljfr9";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
addressable = {
groups = ["default"];
@ -104,30 +104,30 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1fdqsz0f826w1lm1npn4qagggnjpg683vxxvyfvc37pn07zmjbhf";
sha256 = "0iz9n7yl9w5570f03nxq27wk8crfvz3l63an9k87aglcnpkj5f9p";
type = "gem";
};
version = "1.799.0";
version = "1.803.0";
};
aws-sdk-core = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1sxkpg1mvg1aiqd2kp5h438qd5rjpgpx3ag0r5xsbzmij9ja3cj4";
sha256 = "0lc3j74v49b2akyimfnsx3vsgi1i3068cpchn358l0dv27aib6c2";
type = "gem";
};
version = "3.180.2";
version = "3.180.3";
};
aws-sdk-ec2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "01mcilr3qnj6pzwvv4qgdqcnpg5s1cj57b5k5gjl4bfvfyiq7x6z";
sha256 = "08ypqmikkbnp3aa2sy8p80pigjlvjpgygj86gxm3hwr68s033a2d";
type = "gem";
};
version = "1.396.0";
version = "1.397.0";
};
aws-sdk-ec2instanceconnect = {
groups = ["default"];
@ -164,10 +164,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cjb40w8hw4h59bbjidp6hlb1j6akb36d8s5a37vlm6zwq327i7f";
sha256 = "0iciakii0vcm16x0fivs5hwwhy3n8j1f9d7pimxr05yplnxizh6a";
type = "gem";
};
version = "1.132.0";
version = "1.132.1";
};
aws-sdk-ssm = {
groups = ["default"];
@ -374,10 +374,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1i3l58jrcapkp70v3swr0x4s6bj1101920al50wsaaj9dv0vhvm7";
sha256 = "0ysiqlvyy1351bzx7h92r93a35s32l8giyf9bac6sgr142sh3cnn";
type = "gem";
};
version = "3.2.0";
version = "3.2.1";
};
faraday = {
groups = ["default"];
@ -644,12 +644,12 @@
platforms = [];
source = {
fetchSubmodules = false;
rev = "fa40647fa24c91f387b6d4b84bf818c90feb8fd9";
sha256 = "1phvmrlfpgjxmaqlizxgfrmyj4maxfkh5fcraid100fz33dhral3";
rev = "1f8710308cee679b61629e0050952ea37d647ff4";
sha256 = "0plxnnkzq3kba71pcxmf964lwcxrpv1nyq1wa1y423ldj7i8r5kv";
type = "git";
url = "https://github.com/rapid7/metasploit-framework";
};
version = "6.3.28";
version = "6.3.29";
};
metasploit-model = {
groups = ["default"];
@ -1037,10 +1037,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dcabk5bl5flmspnb9d2qcvclcaw0nd5yr9w6m5pzsmylg3y63pv";
sha256 = "0in2b84qqmfnigx0li9bgi6l4knmgbj3a29fzm1zzb5jnv4r1gbr";
type = "gem";
};
version = "7.0.6";
version = "7.0.7";
};
rake = {
groups = ["default"];

View file

@ -8,14 +8,19 @@
mkDerivation rec {
pname = "plasma-pass";
version = "1.2.0";
version = "1.2.1";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "plasma";
repo = "plasma-pass";
rev = "v${version}";
sha256 = "1w2mzxyrh17x7da62b6sg1n85vnh1q77wlrfxwfb1pk77y59rlf1";
sha256 = "sha256-lCNskOXkSIcMPcMnTWE37sDCXfmtP0FhyMzxeF6L0iU=";
# So the tag is actually "v0.2.1" but the released version is later than
# 1.2.0 and the "release" on the gitlab page also says "1.2.1".
# I guess they just messed up the tag subject and description.
# Maintainer of plasma-pass was notified about this 2023-08-13
rev = "v0.2.1";
};
buildInputs = [

View file

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "vals";
version = "0.26.1";
version = "0.26.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "variantdev";
repo = pname;
sha256 = "sha256-gICEqwt34pllvxA8JVc0rCQ2F3w6wT96eKTTxE0j398=";
sha256 = "sha256-WTUdb2LF/50KT3BqwbvKu4TFocbYBdEAoD3IQiPD2bs=";
};
vendorHash = "sha256-6DJiqDEgEHQbyIt4iShoBnagBvspd3W3vD56/FGjESs=";

View file

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec {
pname = "mdbook-katex";
version = "0.5.6";
version = "0.5.7";
src = fetchCrate {
inherit pname version;
hash = "sha256-aG7mXMDogGfAHwz+itJthl7sJ4o+Oz5RnrTHNstrh28=";
hash = "sha256-yOZTvCuxb2dqH06xgvS2+Vz9Vev0mI/ZEzdL8JPMu8s=";
};
cargoHash = "sha256-LE9NalzCTYvcj7WwQKVc7HkbyUj9zQIA2RfK8uxNfOk=";
cargoHash = "sha256-zjBPOEv8jCn48QbK512O3PfLLeozr8ZHkZcfRQSQnvY=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "mdbook-open-on-gh";
version = "2.3.3";
version = "2.4.1";
src = fetchFromGitHub {
owner = "badboy";
repo = pname;
rev = version;
hash = "sha256-K7SkfUxav/r8icrpdfnpFTSZdYV9qUEvYZ2dGSbaP0w=";
hash = "sha256-d+8/7lli6iyzAWHIi0ahwPBwGhXrQrCKQisD2+jPHQ0=";
};
cargoHash = "sha256-Uvg0h0s3xtv/bVjqWLldvM/R5HQ6yoHdnBXvpUp/E3A=";
cargoHash = "sha256-WbPYrjDMJEwle+Pev5nr9ZhnycbXUjdrx8XAqQ0OpaM=";
meta = with lib; {
description = "mdbook preprocessor to add a open-on-github link on every page";

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "google-guest-oslogin";
version = "20230502.00";
version = "20230808.00";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "guest-oslogin";
rev = version;
sha256 = "sha256-66e0d6nE3880xsdI67O71TyZKQi3sGHkx7fLo3xVI7Q=";
sha256 = "sha256-6CHMnoPrfXFAgTyIoGPsMos9CaW6W0zcbpIG1j7DRqk=";
};
postPatch = ''

View file

@ -6962,7 +6962,7 @@ with pkgs;
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; };
CertDump = callPackage ../tools/security/CertDump { };
certdump = callPackage ../tools/security/certdump { };
certstrap = callPackage ../tools/security/certstrap { };
@ -20685,6 +20685,8 @@ with pkgs;
clanlib = callPackage ../development/libraries/clanlib { };
clap = callPackage ../development/libraries/clap { };
classads = callPackage ../development/libraries/classads { };
clfft = callPackage ../development/libraries/clfft { };
@ -21644,7 +21646,7 @@ with pkgs;
granted = callPackage ../tools/admin/granted { };
grantlee = callPackage ../development/libraries/grantlee { };
grantlee = libsForQt5.callPackage ../development/libraries/grantlee { };
gsasl = callPackage ../development/libraries/gsasl { };
@ -21813,6 +21815,8 @@ with pkgs;
gtk-layer-shell = callPackage ../development/libraries/gtk-layer-shell { };
gtk4-layer-shell = callPackage ../development/libraries/gtk4-layer-shell { };
gts = callPackage ../development/libraries/gts { };
gumbo = callPackage ../development/libraries/gumbo { };
@ -25431,10 +25435,7 @@ with pkgs;
wlr-protocols = callPackage ../development/libraries/wlroots/protocols.nix { };
wt = wt4;
inherit (callPackages ../development/libraries/wt {
boost = boost175;
})
wt3
inherit (libsForQt5.callPackage ../development/libraries/wt { })
wt4;
wxformbuilder = callPackage ../development/tools/wxformbuilder { };
@ -40662,6 +40663,8 @@ with pkgs;
qperf = callPackage ../os-specific/linux/qperf { };
qzdl = libsForQt5.callPackage ../games/qzdl { };
rates = callPackage ../tools/misc/rates {
inherit (darwin.apple_sdk.frameworks) Security;
};

View file

@ -11271,6 +11271,8 @@ self: super: with self; {
s3-credentials = callPackage ../development/python-modules/s3-credentials { };
sabctools = callPackage ../development/python-modules/sabctools { };
sabyenc3 = callPackage ../development/python-modules/sabyenc3 { };
sabyenc = callPackage ../development/python-modules/sabyenc { };