Merge master into staging-next
This commit is contained in:
commit
0ee8715a0d
|
@ -7899,6 +7899,11 @@
|
||||||
githubId = 31008330;
|
githubId = 31008330;
|
||||||
name = "Jann Marc Villablanca";
|
name = "Jann Marc Villablanca";
|
||||||
};
|
};
|
||||||
|
jgarcia = {
|
||||||
|
github = "chewblacka";
|
||||||
|
githubId = 18430320;
|
||||||
|
name = "John Garcia";
|
||||||
|
};
|
||||||
jgart = {
|
jgart = {
|
||||||
email = "jgart@dismail.de";
|
email = "jgart@dismail.de";
|
||||||
github = "jgarte";
|
github = "jgarte";
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
# - maintainers/scripts/update-luarocks-packages
|
# - maintainers/scripts/update-luarocks-packages
|
||||||
|
|
||||||
# format:
|
# format:
|
||||||
# $ nix run nixpkgs.python3Packages.black -c black update.py
|
# $ nix run nixpkgs#black maintainers/scripts/pluginupdate.py
|
||||||
# type-check:
|
# type-check:
|
||||||
# $ nix run nixpkgs.python3Packages.mypy -c mypy update.py
|
# $ nix run nixpkgs#python3.pkgs.mypy maintainers/scripts/pluginupdate.py
|
||||||
# linted:
|
# 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 argparse
|
||||||
import csv
|
import csv
|
||||||
import functools
|
import functools
|
||||||
import http
|
import http
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import logging
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -25,14 +25,14 @@ import urllib.error
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
from dataclasses import asdict, dataclass
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from multiprocessing.dummy import Pool
|
from multiprocessing.dummy import Pool
|
||||||
from pathlib import Path
|
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 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
|
import git
|
||||||
|
|
||||||
|
@ -41,12 +41,13 @@ ATOM_LINK = "{http://www.w3.org/2005/Atom}link" # "
|
||||||
ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
|
ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
|
||||||
|
|
||||||
LOG_LEVELS = {
|
LOG_LEVELS = {
|
||||||
logging.getLevelName(level): level for level in [
|
logging.getLevelName(level): level
|
||||||
logging.DEBUG, logging.INFO, logging.WARN, logging.ERROR ]
|
for level in [logging.DEBUG, logging.INFO, logging.WARN, logging.ERROR]
|
||||||
}
|
}
|
||||||
|
|
||||||
log = logging.getLogger()
|
log = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: float = 2):
|
def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: float = 2):
|
||||||
"""Retry calling the decorated function using an exponential backoff.
|
"""Retry calling the decorated function using an exponential backoff.
|
||||||
http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/
|
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
|
return deco_retry
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class FetchConfig:
|
class FetchConfig:
|
||||||
proc: int
|
proc: int
|
||||||
|
@ -91,22 +93,21 @@ def make_request(url: str, token=None) -> urllib.request.Request:
|
||||||
|
|
||||||
|
|
||||||
# a dictionary of plugins and their new repositories
|
# a dictionary of plugins and their new repositories
|
||||||
Redirects = Dict['PluginDesc', 'Repo']
|
Redirects = Dict["PluginDesc", "Repo"]
|
||||||
|
|
||||||
|
|
||||||
class Repo:
|
class Repo:
|
||||||
def __init__(
|
def __init__(self, uri: str, branch: str) -> None:
|
||||||
self, uri: str, branch: str
|
|
||||||
) -> None:
|
|
||||||
self.uri = uri
|
self.uri = uri
|
||||||
'''Url to the repo'''
|
"""Url to the repo"""
|
||||||
self._branch = branch
|
self._branch = branch
|
||||||
# Redirect is the new Repo to use
|
# Redirect is the new Repo to use
|
||||||
self.redirect: Optional['Repo'] = None
|
self.redirect: Optional["Repo"] = None
|
||||||
self.token = "dummy_token"
|
self.token = "dummy_token"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
return self.uri.split('/')[-1]
|
return self.uri.split("/")[-1]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def branch(self):
|
def branch(self):
|
||||||
|
@ -114,6 +115,7 @@ class Repo:
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return f"{self.uri}"
|
return f"{self.uri}"
|
||||||
|
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
return f"Repo({self.name}, {self.uri})"
|
return f"Repo({self.name}, {self.uri})"
|
||||||
|
|
||||||
|
@ -125,9 +127,9 @@ class Repo:
|
||||||
def latest_commit(self) -> Tuple[str, datetime]:
|
def latest_commit(self) -> Tuple[str, datetime]:
|
||||||
log.debug("Latest commit")
|
log.debug("Latest commit")
|
||||||
loaded = self._prefetch(None)
|
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]):
|
def _prefetch(self, ref: Optional[str]):
|
||||||
cmd = ["nix-prefetch-git", "--quiet", "--fetch-submodules", self.uri]
|
cmd = ["nix-prefetch-git", "--quiet", "--fetch-submodules", self.uri]
|
||||||
|
@ -144,23 +146,23 @@ class Repo:
|
||||||
return loaded["sha256"]
|
return loaded["sha256"]
|
||||||
|
|
||||||
def as_nix(self, plugin: "Plugin") -> str:
|
def as_nix(self, plugin: "Plugin") -> str:
|
||||||
return f'''fetchgit {{
|
return f"""fetchgit {{
|
||||||
url = "{self.uri}";
|
url = "{self.uri}";
|
||||||
rev = "{plugin.commit}";
|
rev = "{plugin.commit}";
|
||||||
sha256 = "{plugin.sha256}";
|
sha256 = "{plugin.sha256}";
|
||||||
}}'''
|
}}"""
|
||||||
|
|
||||||
|
|
||||||
class RepoGitHub(Repo):
|
class RepoGitHub(Repo):
|
||||||
def __init__(
|
def __init__(self, owner: str, repo: str, branch: str) -> None:
|
||||||
self, owner: str, repo: str, branch: str
|
|
||||||
) -> None:
|
|
||||||
self.owner = owner
|
self.owner = owner
|
||||||
self.repo = repo
|
self.repo = repo
|
||||||
self.token = None
|
self.token = None
|
||||||
'''Url to the repo'''
|
"""Url to the repo"""
|
||||||
super().__init__(self.url(""), branch)
|
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
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
@ -213,7 +215,6 @@ class RepoGitHub(Repo):
|
||||||
new_repo = RepoGitHub(owner=new_owner, repo=new_name, branch=self.branch)
|
new_repo = RepoGitHub(owner=new_owner, repo=new_name, branch=self.branch)
|
||||||
self.redirect = new_repo
|
self.redirect = new_repo
|
||||||
|
|
||||||
|
|
||||||
def prefetch(self, commit: str) -> str:
|
def prefetch(self, commit: str) -> str:
|
||||||
if self.has_submodules():
|
if self.has_submodules():
|
||||||
sha256 = super().prefetch(commit)
|
sha256 = super().prefetch(commit)
|
||||||
|
@ -233,12 +234,12 @@ class RepoGitHub(Repo):
|
||||||
else:
|
else:
|
||||||
submodule_attr = ""
|
submodule_attr = ""
|
||||||
|
|
||||||
return f'''fetchFromGitHub {{
|
return f"""fetchFromGitHub {{
|
||||||
owner = "{self.owner}";
|
owner = "{self.owner}";
|
||||||
repo = "{self.repo}";
|
repo = "{self.repo}";
|
||||||
rev = "{plugin.commit}";
|
rev = "{plugin.commit}";
|
||||||
sha256 = "{plugin.sha256}";{submodule_attr}
|
sha256 = "{plugin.sha256}";{submodule_attr}
|
||||||
}}'''
|
}}"""
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
@ -258,15 +259,14 @@ class PluginDesc:
|
||||||
return self.repo.name < other.repo.name
|
return self.repo.name < other.repo.name
|
||||||
|
|
||||||
@staticmethod
|
@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"]
|
branch = row["branch"]
|
||||||
repo = make_repo(row['repo'], branch.strip())
|
repo = make_repo(row["repo"], branch.strip())
|
||||||
repo.token = config.github_token
|
repo.token = config.github_token
|
||||||
return PluginDesc(repo, branch.strip(), row["alias"])
|
return PluginDesc(repo, branch.strip(), row["alias"])
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def load_from_string(config: FetchConfig, line: str) -> 'PluginDesc':
|
def load_from_string(config: FetchConfig, line: str) -> "PluginDesc":
|
||||||
branch = "HEAD"
|
branch = "HEAD"
|
||||||
alias = None
|
alias = None
|
||||||
uri = line
|
uri = line
|
||||||
|
@ -279,6 +279,7 @@ class PluginDesc:
|
||||||
repo.token = config.github_token
|
repo.token = config.github_token
|
||||||
return PluginDesc(repo, branch.strip(), alias)
|
return PluginDesc(repo, branch.strip(), alias)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Plugin:
|
class Plugin:
|
||||||
name: str
|
name: str
|
||||||
|
@ -302,22 +303,38 @@ class Plugin:
|
||||||
return copy
|
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)
|
log.debug("Load plugins from csv %s", input_file)
|
||||||
plugins = []
|
plugins = []
|
||||||
with open(input_file, newline='') as csvfile:
|
with open(input_file, newline="") as csvfile:
|
||||||
log.debug("Writing into %s", input_file)
|
log.debug("Writing into %s", input_file)
|
||||||
reader = csv.DictReader(csvfile,)
|
reader = csv.DictReader(
|
||||||
|
csvfile,
|
||||||
|
)
|
||||||
for line in reader:
|
for line in reader:
|
||||||
plugin = PluginDesc.load_from_csv(config, line)
|
plugin = PluginDesc.load_from_csv(config, line)
|
||||||
plugins.append(plugin)
|
plugins.append(plugin)
|
||||||
|
|
||||||
return plugins
|
return plugins
|
||||||
|
|
||||||
|
|
||||||
def run_nix_expr(expr):
|
def run_nix_expr(expr):
|
||||||
with CleanEnvironment():
|
with CleanEnvironment() as nix_path:
|
||||||
cmd = ["nix", "eval", "--extra-experimental-features",
|
cmd = [
|
||||||
"nix-command", "--impure", "--json", "--expr", expr]
|
"nix",
|
||||||
|
"eval",
|
||||||
|
"--extra-experimental-features",
|
||||||
|
"nix-command",
|
||||||
|
"--impure",
|
||||||
|
"--json",
|
||||||
|
"--expr",
|
||||||
|
expr,
|
||||||
|
"--nix-path",
|
||||||
|
nix_path,
|
||||||
|
]
|
||||||
log.debug("Running command %s", " ".join(cmd))
|
log.debug("Running command %s", " ".join(cmd))
|
||||||
out = subprocess.check_output(cmd)
|
out = subprocess.check_output(cmd)
|
||||||
data = json.loads(out)
|
data = json.loads(out)
|
||||||
|
@ -348,7 +365,7 @@ class Editor:
|
||||||
self.nixpkgs_repo = None
|
self.nixpkgs_repo = None
|
||||||
|
|
||||||
def add(self, args):
|
def add(self, args):
|
||||||
'''CSV spec'''
|
"""CSV spec"""
|
||||||
log.debug("called the 'add' command")
|
log.debug("called the 'add' command")
|
||||||
fetch_config = FetchConfig(args.proc, args.github_token)
|
fetch_config = FetchConfig(args.proc, args.github_token)
|
||||||
editor = self
|
editor = self
|
||||||
|
@ -356,23 +373,27 @@ class Editor:
|
||||||
log.debug("using plugin_line", plugin_line)
|
log.debug("using plugin_line", plugin_line)
|
||||||
pdesc = PluginDesc.load_from_string(fetch_config, plugin_line)
|
pdesc = PluginDesc.load_from_string(fetch_config, plugin_line)
|
||||||
log.debug("loaded as pdesc", pdesc)
|
log.debug("loaded as pdesc", pdesc)
|
||||||
append = [ pdesc ]
|
append = [pdesc]
|
||||||
editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, append=append)
|
editor.rewrite_input(
|
||||||
plugin, _ = prefetch_plugin(pdesc, )
|
fetch_config, args.input_file, editor.deprecated, append=append
|
||||||
|
)
|
||||||
|
plugin, _ = prefetch_plugin(
|
||||||
|
pdesc,
|
||||||
|
)
|
||||||
autocommit = not args.no_commit
|
autocommit = not args.no_commit
|
||||||
if autocommit:
|
if autocommit:
|
||||||
commit(
|
commit(
|
||||||
editor.nixpkgs_repo,
|
editor.nixpkgs_repo,
|
||||||
"{drv_name}: init at {version}".format(
|
"{drv_name}: init at {version}".format(
|
||||||
drv_name=editor.get_drv_name(plugin.normalized_name),
|
drv_name=editor.get_drv_name(plugin.normalized_name),
|
||||||
version=plugin.version
|
version=plugin.version,
|
||||||
),
|
),
|
||||||
[args.outfile, args.input_file],
|
[args.outfile, args.input_file],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Expects arguments generated by 'update' subparser
|
# Expects arguments generated by 'update' subparser
|
||||||
def update(self, args ):
|
def update(self, args):
|
||||||
'''CSV spec'''
|
"""CSV spec"""
|
||||||
print("the update member function should be overriden in subclasses")
|
print("the update member function should be overriden in subclasses")
|
||||||
|
|
||||||
def get_current_plugins(self) -> List[Plugin]:
|
def get_current_plugins(self) -> List[Plugin]:
|
||||||
|
@ -385,11 +406,11 @@ class Editor:
|
||||||
return plugins
|
return plugins
|
||||||
|
|
||||||
def load_plugin_spec(self, config: FetchConfig, plugin_file) -> List[PluginDesc]:
|
def load_plugin_spec(self, config: FetchConfig, plugin_file) -> List[PluginDesc]:
|
||||||
'''CSV spec'''
|
"""CSV spec"""
|
||||||
return load_plugins_from_csv(config, plugin_file)
|
return load_plugins_from_csv(config, plugin_file)
|
||||||
|
|
||||||
def generate_nix(self, _plugins, _outfile: str):
|
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()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def get_update(self, input_file: str, outfile: str, config: FetchConfig):
|
def get_update(self, input_file: str, outfile: str, config: FetchConfig):
|
||||||
|
@ -413,7 +434,6 @@ class Editor:
|
||||||
|
|
||||||
return update
|
return update
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def attr_path(self):
|
def attr_path(self):
|
||||||
return self.name + "Plugins"
|
return self.name + "Plugins"
|
||||||
|
@ -427,10 +447,11 @@ class Editor:
|
||||||
def create_parser(self):
|
def create_parser(self):
|
||||||
common = argparse.ArgumentParser(
|
common = argparse.ArgumentParser(
|
||||||
add_help=False,
|
add_help=False,
|
||||||
description=(f"""
|
description=(
|
||||||
|
f"""
|
||||||
Updates nix derivations for {self.name} plugins.\n
|
Updates nix derivations for {self.name} plugins.\n
|
||||||
By default from {self.default_in} to {self.default_out}"""
|
By default from {self.default_in} to {self.default_out}"""
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
common.add_argument(
|
common.add_argument(
|
||||||
"--input-names",
|
"--input-names",
|
||||||
|
@ -463,26 +484,33 @@ class Editor:
|
||||||
Uses GITHUB_API_TOKEN environment variables as the default value.""",
|
Uses GITHUB_API_TOKEN environment variables as the default value.""",
|
||||||
)
|
)
|
||||||
common.add_argument(
|
common.add_argument(
|
||||||
"--no-commit", "-n", action="store_true", default=False,
|
"--no-commit",
|
||||||
help="Whether to autocommit changes"
|
"-n",
|
||||||
|
action="store_true",
|
||||||
|
default=False,
|
||||||
|
help="Whether to autocommit changes",
|
||||||
)
|
)
|
||||||
common.add_argument(
|
common.add_argument(
|
||||||
"--debug", "-d", choices=LOG_LEVELS.keys(),
|
"--debug",
|
||||||
|
"-d",
|
||||||
|
choices=LOG_LEVELS.keys(),
|
||||||
default=logging.getLevelName(logging.WARN),
|
default=logging.getLevelName(logging.WARN),
|
||||||
help="Adjust log level"
|
help="Adjust log level",
|
||||||
)
|
)
|
||||||
|
|
||||||
main = argparse.ArgumentParser(
|
main = argparse.ArgumentParser(
|
||||||
parents=[common],
|
parents=[common],
|
||||||
description=(f"""
|
description=(
|
||||||
|
f"""
|
||||||
Updates nix derivations for {self.name} plugins.\n
|
Updates nix derivations for {self.name} plugins.\n
|
||||||
By default from {self.default_in} to {self.default_out}"""
|
By default from {self.default_in} to {self.default_out}"""
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
subparsers = main.add_subparsers(dest="command", required=False)
|
subparsers = main.add_subparsers(dest="command", required=False)
|
||||||
padd = subparsers.add_parser(
|
padd = subparsers.add_parser(
|
||||||
"add", parents=[],
|
"add",
|
||||||
|
parents=[],
|
||||||
description="Add new plugin",
|
description="Add new plugin",
|
||||||
add_help=False,
|
add_help=False,
|
||||||
)
|
)
|
||||||
|
@ -502,10 +530,12 @@ class Editor:
|
||||||
pupdate.set_defaults(func=self.update)
|
pupdate.set_defaults(func=self.update)
|
||||||
return main
|
return main
|
||||||
|
|
||||||
def run(self,):
|
def run(
|
||||||
'''
|
self,
|
||||||
|
):
|
||||||
|
"""
|
||||||
Convenience function
|
Convenience function
|
||||||
'''
|
"""
|
||||||
parser = self.create_parser()
|
parser = self.create_parser()
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
command = args.command or "update"
|
command = args.command or "update"
|
||||||
|
@ -518,17 +548,15 @@ class Editor:
|
||||||
getattr(self, command)(args)
|
getattr(self, command)(args)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class CleanEnvironment(object):
|
class CleanEnvironment(object):
|
||||||
def __enter__(self) -> None:
|
def __enter__(self) -> str:
|
||||||
self.old_environ = os.environ.copy()
|
self.old_environ = os.environ.copy()
|
||||||
local_pkgs = str(Path(__file__).parent.parent.parent)
|
local_pkgs = str(Path(__file__).parent.parent.parent)
|
||||||
os.environ["NIX_PATH"] = f"localpkgs={local_pkgs}"
|
|
||||||
self.empty_config = NamedTemporaryFile()
|
self.empty_config = NamedTemporaryFile()
|
||||||
self.empty_config.write(b"{}")
|
self.empty_config.write(b"{}")
|
||||||
self.empty_config.flush()
|
self.empty_config.flush()
|
||||||
os.environ["NIXPKGS_CONFIG"] = self.empty_config.name
|
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:
|
def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None:
|
||||||
os.environ.update(self.old_environ)
|
os.environ.update(self.old_environ)
|
||||||
|
@ -570,14 +598,15 @@ def print_download_error(plugin: PluginDesc, ex: Exception):
|
||||||
]
|
]
|
||||||
print("\n".join(tb_lines))
|
print("\n".join(tb_lines))
|
||||||
|
|
||||||
|
|
||||||
def check_results(
|
def check_results(
|
||||||
results: List[Tuple[PluginDesc, Union[Exception, Plugin], Optional[Repo]]]
|
results: List[Tuple[PluginDesc, Union[Exception, Plugin], Optional[Repo]]]
|
||||||
) -> Tuple[List[Tuple[PluginDesc, Plugin]], Redirects]:
|
) -> Tuple[List[Tuple[PluginDesc, Plugin]], Redirects]:
|
||||||
''' '''
|
""" """
|
||||||
failures: List[Tuple[PluginDesc, Exception]] = []
|
failures: List[Tuple[PluginDesc, Exception]] = []
|
||||||
plugins = []
|
plugins = []
|
||||||
redirects: Redirects = {}
|
redirects: Redirects = {}
|
||||||
for (pdesc, result, redirect) in results:
|
for pdesc, result, redirect in results:
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
failures.append((pdesc, result))
|
failures.append((pdesc, result))
|
||||||
else:
|
else:
|
||||||
|
@ -594,17 +623,18 @@ def check_results(
|
||||||
else:
|
else:
|
||||||
print(f", {len(failures)} plugin(s) could not be downloaded:\n")
|
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)
|
print_download_error(plugin, exception)
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
def make_repo(uri: str, branch) -> Repo:
|
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://...
|
# dumb check to see if it's of the form owner/repo (=> github) or https://...
|
||||||
res = urlparse(uri)
|
res = urlparse(uri)
|
||||||
if res.netloc in [ "github.com", ""]:
|
if res.netloc in ["github.com", ""]:
|
||||||
res = res.path.strip('/').split('/')
|
res = res.path.strip("/").split("/")
|
||||||
repo = RepoGitHub(res[0], res[1], branch)
|
repo = RepoGitHub(res[0], res[1], branch)
|
||||||
else:
|
else:
|
||||||
repo = Repo(uri.strip(), branch)
|
repo = Repo(uri.strip(), branch)
|
||||||
|
@ -675,7 +705,6 @@ def prefetch(
|
||||||
return (pluginDesc, e, None)
|
return (pluginDesc, e, None)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def rewrite_input(
|
def rewrite_input(
|
||||||
config: FetchConfig,
|
config: FetchConfig,
|
||||||
input_file: Path,
|
input_file: Path,
|
||||||
|
@ -684,12 +713,14 @@ def rewrite_input(
|
||||||
redirects: Redirects = {},
|
redirects: Redirects = {},
|
||||||
append: List[PluginDesc] = [],
|
append: List[PluginDesc] = [],
|
||||||
):
|
):
|
||||||
plugins = load_plugins_from_csv(config, input_file,)
|
plugins = load_plugins_from_csv(
|
||||||
|
config,
|
||||||
|
input_file,
|
||||||
|
)
|
||||||
|
|
||||||
plugins.extend(append)
|
plugins.extend(append)
|
||||||
|
|
||||||
if redirects:
|
if redirects:
|
||||||
|
|
||||||
cur_date_iso = datetime.now().strftime("%Y-%m-%d")
|
cur_date_iso = datetime.now().strftime("%Y-%m-%d")
|
||||||
with open(deprecated, "r") as f:
|
with open(deprecated, "r") as f:
|
||||||
deprecations = json.load(f)
|
deprecations = json.load(f)
|
||||||
|
@ -709,8 +740,8 @@ def rewrite_input(
|
||||||
with open(input_file, "w") as f:
|
with open(input_file, "w") as f:
|
||||||
log.debug("Writing into %s", input_file)
|
log.debug("Writing into %s", input_file)
|
||||||
# fields = dataclasses.fields(PluginDesc)
|
# fields = dataclasses.fields(PluginDesc)
|
||||||
fieldnames = ['repo', 'branch', 'alias']
|
fieldnames = ["repo", "branch", "alias"]
|
||||||
writer = csv.DictWriter(f, fieldnames, dialect='unix', quoting=csv.QUOTE_NONE)
|
writer = csv.DictWriter(f, fieldnames, dialect="unix", quoting=csv.QUOTE_NONE)
|
||||||
writer.writeheader()
|
writer.writeheader()
|
||||||
for plugin in sorted(plugins):
|
for plugin in sorted(plugins):
|
||||||
writer.writerow(asdict(plugin))
|
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")
|
print("no changes in working tree to commit")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def update_plugins(editor: Editor, args):
|
def update_plugins(editor: Editor, args):
|
||||||
"""The main entry function of this module. All input arguments are grouped in the `Editor`."""
|
"""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",
|
f"{editor.attr_path}: resolve github repository redirects",
|
||||||
[args.outfile, args.input_file, editor.deprecated],
|
[args.outfile, args.input_file, editor.deprecated],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,8 @@ let
|
||||||
|
|
||||||
cfg = config.services.gitea-actions-runner;
|
cfg = config.services.gitea-actions-runner;
|
||||||
|
|
||||||
|
settingsFormat = pkgs.formats.yaml { };
|
||||||
|
|
||||||
# Check whether any runner instance label requires a container runtime
|
# Check whether any runner instance label requires a container runtime
|
||||||
# Empty label strings result in the upstream defined defaultLabels, which require docker
|
# 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
|
# 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.
|
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 {
|
hostPackages = mkOption {
|
||||||
type = listOf package;
|
type = listOf package;
|
||||||
|
@ -169,6 +183,7 @@ in
|
||||||
wantsHost = hasHostScheme instance;
|
wantsHost = hasHostScheme instance;
|
||||||
wantsDocker = wantsContainerRuntime && config.virtualisation.docker.enable;
|
wantsDocker = wantsContainerRuntime && config.virtualisation.docker.enable;
|
||||||
wantsPodman = wantsContainerRuntime && config.virtualisation.podman.enable;
|
wantsPodman = wantsContainerRuntime && config.virtualisation.podman.enable;
|
||||||
|
configFile = settingsFormat.generate "config.yaml" instance.settings;
|
||||||
in
|
in
|
||||||
nameValuePair "gitea-runner-${escapeSystemdPath name}" {
|
nameValuePair "gitea-runner-${escapeSystemdPath name}" {
|
||||||
inherit (instance) enable;
|
inherit (instance) enable;
|
||||||
|
@ -196,7 +211,12 @@ in
|
||||||
User = "gitea-runner";
|
User = "gitea-runner";
|
||||||
StateDirectory = "gitea-runner";
|
StateDirectory = "gitea-runner";
|
||||||
WorkingDirectory = "-/var/lib/gitea-runner/${name}";
|
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}"
|
export INSTANCE_DIR="$STATE_DIRECTORY/${name}"
|
||||||
mkdir -vp "$INSTANCE_DIR"
|
mkdir -vp "$INSTANCE_DIR"
|
||||||
cd "$INSTANCE_DIR"
|
cd "$INSTANCE_DIR"
|
||||||
|
@ -221,8 +241,8 @@ in
|
||||||
echo "$LABELS_WANTED" > "$LABELS_FILE"
|
echo "$LABELS_WANTED" > "$LABELS_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'')];
|
||||||
ExecStart = "${cfg.package}/bin/act_runner daemon";
|
ExecStart = "${cfg.package}/bin/act_runner daemon --config ${configFile}";
|
||||||
SupplementaryGroups = optionals (wantsDocker) [
|
SupplementaryGroups = optionals (wantsDocker) [
|
||||||
"docker"
|
"docker"
|
||||||
] ++ optionals (wantsPodman) [
|
] ++ optionals (wantsPodman) [
|
||||||
|
|
|
@ -226,6 +226,10 @@ in
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.rustus}/bin/rustus";
|
ExecStart = "${pkgs.rustus}/bin/rustus";
|
||||||
StateDirectory = "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;
|
DynamicUser = true;
|
||||||
LoadCredential = lib.optionals isHybridS3 [
|
LoadCredential = lib.optionals isHybridS3 [
|
||||||
"S3_ACCESS_KEY_PATH:${cfg.storage.s3_access_key_file}"
|
"S3_ACCESS_KEY_PATH:${cfg.storage.s3_access_key_file}"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "squeekboard";
|
pname = "squeekboard";
|
||||||
version = "1.21.0";
|
version = "1.22.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "Phosh";
|
owner = "Phosh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Mn0E+R/UzBLHPvarQHlEN4JBpf4VAaXdKdWLsFEyQE4=";
|
hash = "sha256-Rk6LOCZ5bhoo5ORAIIYWENrKUIVypd8bnKjyyBSbUYg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
cp Cargo.lock.newer Cargo.lock
|
cp Cargo.lock.newer Cargo.lock
|
||||||
'';
|
'';
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-F2mef0HvD9WZRx05DEpQ1AO1skMwcchHZzJa74AHmsM=";
|
hash = "sha256-DygWra4R/w8KzkFzIVm4+ePpUpjiYGaDx2NQm6o+tWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ocenaudio";
|
pname = "ocenaudio";
|
||||||
version = "3.12.4";
|
version = "3.12.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
|
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
|
||||||
sha256 = "sha256-B9mYFmb5wU3LtwMU2fubIhlVP0Zz1QNwciL5EY49P1I=";
|
sha256 = "sha256-+edswdSwuEiGpSNP7FW6xvZy/rH53KcSSGAFXSb0DIM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libjpeg }:
|
{ lib, stdenv, fetchFromGitHub, libjpeg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.5.4";
|
version = "1.5.5";
|
||||||
pname = "jpegoptim";
|
pname = "jpegoptim";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tjko";
|
owner = "tjko";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-cfPQTSINEdii/A2czAIxKDUw6RZOH4xZI7HnUmKuR9k=";
|
sha256 = "sha256-3p3kcUur1u09ROdKXG5H8eilu463Rzbn2yfYo5o6+KM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# There are no checks, it seems.
|
# There are no checks, it seems.
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crow-translate";
|
pname = "crow-translate";
|
||||||
version = "2.10.7";
|
version = "2.10.10";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz";
|
url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz";
|
||||||
hash = "sha256-OVRl9yQKK3hJgRVV/W4Fl3LxdFpJs01Mo3pwxLg2RXg=";
|
hash = "sha256-PvfruCqmTBFLWLeIL9NV6+H2AifXcY97ImHzD1zEs28=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "fluidd";
|
pname = "fluidd";
|
||||||
version = "1.24.2";
|
version = "1.25.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "fluidd-v${version}.zip";
|
name = "fluidd-v${version}.zip";
|
||||||
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
|
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
|
||||||
sha256 = "sha256-w0IqcvVbeYG9Ly8QzJIxgWIMeYQBf4Ogwi+eRLfD8kk=";
|
sha256 = "sha256-p8NesTNwsiq4YiEHtBpYP6eljs4PvDaQ2Ot6/htvzr4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
|
@ -19,14 +19,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fnott";
|
pname = "fnott";
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
owner = "dnkl";
|
owner = "dnkl";
|
||||||
repo = "fnott";
|
repo = "fnott";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-cJ7XmnC4x8lhZ+JRqobeQxTTps4Oz95zYdlFtr3KC1A=";
|
sha256 = "sha256-8SKInlj54BP3Gn/DNVoLN62+Dfa8G5d/q2xGUXXdsjo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
|
|
|
@ -12,7 +12,7 @@ appimageTools.wrapType2 rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A note-taking application focused on learning and productivity";
|
description = "A note-taking application focused on learning and productivity";
|
||||||
homepage = "https://remnote.com/";
|
homepage = "https://remnote.com/";
|
||||||
maintainers = with maintainers; [ max-niederman ];
|
maintainers = with maintainers; [ max-niederman jgarcia ];
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
1632
pkgs/applications/misc/taskwarrior-tui/Cargo.lock
generated
1632
pkgs/applications/misc/taskwarrior-tui/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -6,27 +6,22 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "taskwarrior-tui";
|
pname = "taskwarrior-tui";
|
||||||
version = "0.23.7";
|
version = "0.25.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kdheepak";
|
owner = "kdheepak";
|
||||||
repo = "taskwarrior-tui";
|
repo = "taskwarrior-tui";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-D7+C02VlE42wWQSOkeTJVDS4rWnGB06RTZ7tzdpYmZw=";
|
sha256 = "sha256-m/VExBibScZt8zlxbTSQtZdbcc1EBZ+k0DXu+pXFUnA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-DFf4leS8/891YzZCkkd/rU+cUm94nOnXYDZgJK+NoCY=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
# Because there's a test that requires terminal access
|
# Because there's a test that requires terminal access
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
cargoLock = {
|
|
||||||
lockFile = ./Cargo.lock;
|
|
||||||
outputHashes = {
|
|
||||||
"task-hookrs-0.7.0" = "sha256-EGnhUgYxygU3JrYXQPE9SheuXWS91qEwR+w3whaYuYw=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage docs/taskwarrior-tui.1
|
installManPage docs/taskwarrior-tui.1
|
||||||
installShellCompletion completions/taskwarrior-tui.{bash,fish} --zsh completions/_taskwarrior-tui
|
installShellCompletion completions/taskwarrior-tui.{bash,fish} --zsh completions/_taskwarrior-tui
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "krelay";
|
pname = "krelay";
|
||||||
version = "0.0.4";
|
version = "0.0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "knight42";
|
owner = "knight42";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-NAIRzHWXD4z6lpwi+nVVoCIzfWdaMdrWwht24KgQh3c=";
|
sha256 = "sha256-TC+1y0RNBobHr1BsvZdmOM58N2CIBeA7pQoWRj1SXCw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-1/zy5gz1wvinwzRjjhvrIHdjO/Jy/ragqM5QQaAajXI=";
|
vendorHash = "sha256-yW6Uephj+cpaMO8LMOv3I02nvooscACB9N2vq1qrXwY=";
|
||||||
|
|
||||||
subPackages = [ "cmd/client" ];
|
subPackages = [ "cmd/client" ];
|
||||||
|
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubectl-gadget";
|
pname = "kubectl-gadget";
|
||||||
version = "0.18.1";
|
version = "0.19.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "inspektor-gadget";
|
owner = "inspektor-gadget";
|
||||||
repo = "inspektor-gadget";
|
repo = "inspektor-gadget";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-QB1OX5G0WkV8k84282+haQc2JVMUhsO99cpEMrHR9qY=";
|
hash = "sha256-5FbjD02HsMChaMMvTjsB/hzivO4s1H5tLK1QMIMlBCI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-5ydul1buJignI5KCn6TMYCjdJ6ni6NgYQrnrGBPADI4=";
|
vendorHash = "sha256-Beas+oXcK5i4ibE5EAa9+avYuax/kr3op1xbtMPJMas=";
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "rke";
|
pname = "rke";
|
||||||
version = "1.4.7";
|
version = "1.4.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rancher";
|
owner = "rancher";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-XiFXFd9pZBrZdYggVoHhxdu4cH+IyDtDNr7ztM+Zskk=";
|
hash = "sha256-tc3XZyn1jdjkxWXG6qjsE2udpoq+RhhIWHXGmUQyO0Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-MFXNwEEXtsEwB0Hcx8gn/Pz9dZM1zUUKhNYp5BlRUEk=";
|
vendorHash = "sha256-MFXNwEEXtsEwB0Hcx8gn/Pz9dZM1zUUKhNYp5BlRUEk=";
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "cozydrive";
|
pname = "cozydrive";
|
||||||
version = "3.32.0";
|
version = "3.38.0";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/cozy-labs/cozy-desktop/releases/download/v${version}/Cozy-Drive-${version}-x86_64.AppImage";
|
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; };
|
appimageContents = appimageTools.extract { inherit name src; };
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.16.5";
|
version = "1.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "paperless-ngx";
|
owner = "paperless-ngx";
|
||||||
repo = "paperless-ngx";
|
repo = "paperless-ngx";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-suwXFqq3QSdY0KzSpr6NKPwm6xtMBR8aP5VV3XTynqI=";
|
hash = "sha256-Zv+5DMviBGyc24R+qcAlvjko7wH+Gturvw5nzFJlIfk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use specific package versions required by paperless-ngx
|
# Use specific package versions required by paperless-ngx
|
||||||
|
@ -51,7 +51,7 @@ let
|
||||||
pname = "paperless-ngx-frontend";
|
pname = "paperless-ngx-frontend";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
npmDepsHash = "sha256-rzIDivZTZZWt6kgLt8mstYmvv5TlC+O8O/g01+aLMHQ=";
|
npmDepsHash = "sha256-J8oUDvcJ0fawTv9L1B9hw8l47UZvOCj16jUF+83W8W8=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
python3
|
python3
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fast-downward";
|
pname = "fast-downward";
|
||||||
version = "22.12.0";
|
version = "23.06.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aibasel";
|
owner = "aibasel";
|
||||||
repo = "downward";
|
repo = "downward";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "sha256-GwZ5BGzLRMgWNBaA7M2D2p9OxvdyWqm+sTwxGpcI/qY=";
|
sha256 = "sha256-yNaMyS47yxc/p5Rs/kHwD/pgjGXnHBdybYdo1GIEmA4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
|
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "iterm2";
|
pname = "iterm2";
|
||||||
version = "3.4.19";
|
version = "3.4.20";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://iterm2.com/downloads/stable/iTerm2-${lib.replaceStrings ["."] ["_"] version}.zip";
|
url = "https://iterm2.com/downloads/stable/iTerm2-${lib.replaceStrings ["."] ["_"] version}.zip";
|
||||||
hash = "sha256-UioKFhlwVdrkHtoS1ixXE2rykVO5aQeNQ8TnC5kNSUc=";
|
hash = "sha256-RXBv3RXd2Kq8k7rbOE3HPEf6vI64VZCo1IX03gDy7l0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontFixup = true;
|
dontFixup = true;
|
||||||
|
|
|
@ -4,7 +4,7 @@ let
|
||||||
|
|
||||||
commonNativeBuildInputs = [ fontforge python3 ];
|
commonNativeBuildInputs = [ fontforge python3 ];
|
||||||
common =
|
common =
|
||||||
{ version, repo, sha256, nativeBuildInputs, postPatch ? null }:
|
{ version, repo, sha256, docsToInstall, nativeBuildInputs, postPatch ? null }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "liberation-fonts";
|
pname = "liberation-fonts";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -20,11 +20,7 @@ let
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
|
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} ${lib.concatStringsSep " " docsToInstall}
|
||||||
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
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -51,18 +47,20 @@ in
|
||||||
liberation_ttf_v1 = common {
|
liberation_ttf_v1 = common {
|
||||||
repo = "liberation-1.7-fonts";
|
repo = "liberation-1.7-fonts";
|
||||||
version = "1.07.5";
|
version = "1.07.5";
|
||||||
nativeBuildInputs = commonNativeBuildInputs ;
|
docsToInstall = [ "AUTHORS" "ChangeLog" "COPYING" "License.txt" "README" ];
|
||||||
|
nativeBuildInputs = commonNativeBuildInputs;
|
||||||
sha256 = "1ffl10mf78hx598sy9qr5m6q2b8n3mpnsj73bwixnd4985gsz56v";
|
sha256 = "1ffl10mf78hx598sy9qr5m6q2b8n3mpnsj73bwixnd4985gsz56v";
|
||||||
};
|
};
|
||||||
liberation_ttf_v2 = common {
|
liberation_ttf_v2 = common {
|
||||||
repo = "liberation-fonts";
|
repo = "liberation-fonts";
|
||||||
version = "2.1.0";
|
version = "2.1.5";
|
||||||
|
docsToInstall = [ "AUTHORS" "ChangeLog" "LICENSE" "README.md" ];
|
||||||
nativeBuildInputs = commonNativeBuildInputs ++ [ fonttools ];
|
nativeBuildInputs = commonNativeBuildInputs ++ [ fonttools ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
|
substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
|
||||||
'font = ttLib.TTFont(fontfile)' \
|
'font = ttLib.TTFont(fontfile)' \
|
||||||
'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
|
'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
|
||||||
'';
|
'';
|
||||||
sha256 = "03xpzaas264x5n6qisxkhc68pkpn32m7y78qdm3rdkxdwi8mv8mz";
|
sha256 = "Wg1uoD2k/69Wn6XU+7wHqf2KO/bt4y7pwgmG7+IUh4Q=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{ lib, flutter, fetchFromGitHub }:
|
{ lib, flutter, fetchFromGitHub }:
|
||||||
flutter.buildFlutterApplication rec {
|
flutter.buildFlutterApplication rec {
|
||||||
pname = "expidus-file-manager";
|
pname = "expidus-file-manager";
|
||||||
version = "0.1.2";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ExpidusOS";
|
owner = "ExpidusOS";
|
||||||
repo = "file-manager";
|
repo = "file-manager";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-aAPmwzNPgu08Ov9NyRW5bcj3jQzG9rpWwrABRyK2Weg=";
|
hash = "sha256-p/bKVC1LpvVcyI3NYjQ//QL/6UutjVg649IZSmz4w9g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
depsListFile = ./deps.json;
|
depsListFile = ./deps.json;
|
||||||
vendorHash = "sha256-mPGrpMUguM9XAYWH8lBQuytxZ3J0gS2XOMPkKyFMLbc=";
|
vendorHash = "sha256-m2GCLC4ZUvDdBVKjxZjelrZZHY3+R7DilOOT84Twrxg=";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm $out/bin/file_manager
|
rm $out/bin/file_manager
|
||||||
|
@ -37,5 +37,6 @@ flutter.buildFlutterApplication rec {
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ RossComputerGuy ];
|
maintainers = with maintainers; [ RossComputerGuy ];
|
||||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
mainProgram = "expidus-file-manager";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
322
pkgs/desktops/expidus/file-manager/deps.json
generated
322
pkgs/desktops/expidus/file-manager/deps.json
generated
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "file_manager",
|
"name": "file_manager",
|
||||||
"version": "0.1.2+1",
|
"version": "0.2.0+65656565656565",
|
||||||
"kind": "root",
|
"kind": "root",
|
||||||
"source": "root",
|
"source": "root",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -29,6 +29,9 @@
|
||||||
"intl",
|
"intl",
|
||||||
"provider",
|
"provider",
|
||||||
"flutter_markdown",
|
"flutter_markdown",
|
||||||
|
"flutter_adaptive_scaffold",
|
||||||
|
"package_info_plus",
|
||||||
|
"pub_semver",
|
||||||
"flutter_test",
|
"flutter_test",
|
||||||
"flutter_lints"
|
"flutter_lints"
|
||||||
]
|
]
|
||||||
|
@ -262,142 +265,20 @@
|
||||||
"source": "sdk",
|
"source": "sdk",
|
||||||
"dependencies": []
|
"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",
|
"name": "pub_semver",
|
||||||
"version": "2.1.4",
|
"version": "2.1.4",
|
||||||
"kind": "transitive",
|
|
||||||
"source": "hosted",
|
|
||||||
"dependencies": [
|
|
||||||
"collection",
|
|
||||||
"meta"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sentry_flutter",
|
|
||||||
"version": "7.7.0",
|
|
||||||
"kind": "direct",
|
"kind": "direct",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"flutter",
|
"collection",
|
||||||
"flutter_web_plugins",
|
|
||||||
"sentry",
|
|
||||||
"package_info_plus",
|
|
||||||
"meta"
|
"meta"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "package_info_plus",
|
"name": "package_info_plus",
|
||||||
"version": "3.1.2",
|
"version": "3.1.2",
|
||||||
"kind": "transitive",
|
"kind": "direct",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"ffi",
|
"ffi",
|
||||||
|
@ -493,6 +374,137 @@
|
||||||
"vector_math"
|
"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",
|
"name": "sentry",
|
||||||
"version": "7.7.0",
|
"version": "7.7.0",
|
||||||
|
@ -543,7 +555,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path_provider_windows",
|
"name": "path_provider_windows",
|
||||||
"version": "2.1.6",
|
"version": "2.1.7",
|
||||||
"kind": "direct",
|
"kind": "direct",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -556,7 +568,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "permission_handler",
|
"name": "permission_handler",
|
||||||
"version": "10.2.0",
|
"version": "10.3.0",
|
||||||
"kind": "direct",
|
"kind": "direct",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -570,7 +582,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "permission_handler_platform_interface",
|
"name": "permission_handler_platform_interface",
|
||||||
"version": "3.9.0",
|
"version": "3.10.0",
|
||||||
"kind": "transitive",
|
"kind": "transitive",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -591,7 +603,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "permission_handler_apple",
|
"name": "permission_handler_apple",
|
||||||
"version": "9.0.8",
|
"version": "9.1.0",
|
||||||
"kind": "transitive",
|
"kind": "transitive",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -601,7 +613,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "permission_handler_android",
|
"name": "permission_handler_android",
|
||||||
"version": "10.2.2",
|
"version": "10.2.3",
|
||||||
"kind": "transitive",
|
"kind": "transitive",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -621,7 +633,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "shared_preferences",
|
"name": "shared_preferences",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"kind": "direct",
|
"kind": "direct",
|
||||||
"source": "hosted",
|
"source": "hosted",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -977,29 +989,14 @@
|
||||||
"flutter",
|
"flutter",
|
||||||
"material_theme_builder",
|
"material_theme_builder",
|
||||||
"libtokyo",
|
"libtokyo",
|
||||||
|
"flutter_localizations",
|
||||||
"path",
|
"path",
|
||||||
"intl",
|
"intl",
|
||||||
"filesize"
|
"filesize",
|
||||||
]
|
"bitsdojo_window",
|
||||||
},
|
"shared_preferences",
|
||||||
{
|
"pubspec",
|
||||||
"name": "libtokyo",
|
"url_launcher"
|
||||||
"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"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1019,5 +1016,26 @@
|
||||||
"path",
|
"path",
|
||||||
"vector_math"
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
32
pkgs/development/libraries/clap/default.nix
Normal file
32
pkgs/development/libraries/clap/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -67,14 +67,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
fmt_10 = generic {
|
fmt_10 = generic {
|
||||||
version = "10.0.0";
|
version = "10.1.0";
|
||||||
sha256 = "sha256-sVY2TVPS/Zx32p5XIYR6ghqN4kOZexzH7Cr+y8sZXK8=";
|
sha256 = "sha256-t/Mcl3n2dj8UEnptQh4YgpvWrxSYN3iGPZ3LKwzlPAg=";
|
||||||
patches = [
|
|
||||||
# fixes a test failure on pkgsMusl.fmt
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/fmtlib/fmt/commit/eaa6307691a9edb9e2f2eacf70500fc6989b416c.diff";
|
|
||||||
hash = "sha256-PydnmOn/o9DexBViFGUUAO9KFjVS6CN8GVDHcl/+K8g=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, qemu
|
, qemu
|
||||||
, rsyslog
|
, rsyslog
|
||||||
|
, openconnect
|
||||||
, samba
|
, samba
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -115,7 +116,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
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;
|
inherit (ocamlPackages) ocamlnet;
|
||||||
haskell-gnutls = haskellPackages.gnutls;
|
haskell-gnutls = haskellPackages.gnutls;
|
||||||
python3-gnutls = python3Packages.python3-gnutls;
|
python3-gnutls = python3Packages.python3-gnutls;
|
||||||
|
|
|
@ -1,34 +1,28 @@
|
||||||
{ lib, stdenv, fetchurl, qt4, cmake }:
|
{ stdenv, lib, fetchFromGitHub, qtbase, cmake, wrapQtAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "grantlee";
|
pname = "grantlee";
|
||||||
version = "0.5.1";
|
version = "5.2.0";
|
||||||
|
|
||||||
# Upstream download server has country code firewall, so I made a mirror.
|
src = fetchFromGitHub {
|
||||||
src = fetchurl {
|
owner = "steveire";
|
||||||
urls = [
|
repo = pname;
|
||||||
"http://downloads.grantlee.org/grantlee-${version}.tar.gz"
|
rev = "v${version}";
|
||||||
"http://www.loegria.net/grantlee/grantlee-${version}.tar.gz"
|
hash = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
|
||||||
];
|
|
||||||
sha256 = "1b501xbimizmbmysl1j5zgnp48qw0r2r7lhgmxvzhzlv9jzhj60r";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qtbase ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Qt4 port of Django template system";
|
description = "Libraries for text templating with Qt";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Grantlee is a plugin based String Template system written using the Qt
|
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.
|
||||||
framework. The goals of the project are to make it easier for application
|
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.
|
||||||
developers to separate the structure of documents from the data they
|
The syntax uses the syntax of the Django template system, and the core design of Django is reused in Grantlee.
|
||||||
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.'';
|
|
||||||
|
|
||||||
homepage = "https://github.com/steveire/grantlee";
|
homepage = "https://github.com/steveire/grantlee";
|
||||||
license = lib.licenses.lgpl21;
|
license = lib.licenses.lgpl21Plus;
|
||||||
inherit (qt4.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
65
pkgs/development/libraries/gtk4-layer-shell/default.nix
Normal file
65
pkgs/development/libraries/gtk4-layer-shell/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hiredis";
|
pname = "hiredis";
|
||||||
version = "1.1.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "redis";
|
owner = "redis";
|
||||||
repo = "hiredis";
|
repo = "hiredis";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-0ESRnZTL6/vMpek+2sb0YQU3ajXtzj14yvjfOSQYjf4=";
|
sha256 = "sha256-ZxUITm3OcbERcvaNqGQU46bEfV+jN6safPalG0TVfBg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
PREFIX = "\${out}";
|
PREFIX = "\${out}";
|
||||||
|
|
|
@ -66,16 +66,16 @@ let
|
||||||
projectArch = "x86_64";
|
projectArch = "x86_64";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
platforms."aarch64-linux".sha256 = "1348821cprfy46fvzipqfy9qmv1jw48dsi2nxnk3k1097c6xb9zq";
|
platforms."aarch64-linux".sha256 = "06f7dm3k04ij2jczlvwkmfrb977x46lx0n0vyz8xl4kvf2x5psp8";
|
||||||
platforms."x86_64-linux".sha256 = "0w58bqys331wssfqrv27v1fbvrgj4hs1kyjanld9vvdlna0x8kpg";
|
platforms."x86_64-linux".sha256 = "09flbhddnl85m63rv70pmnfi2v8axjicad5blbrvdh2gj09g7y1r";
|
||||||
|
|
||||||
platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms;
|
platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cef-binary";
|
pname = "cef-binary";
|
||||||
version = "115.3.11";
|
version = "115.3.13";
|
||||||
gitRevision = "a61da9b";
|
gitRevision = "749b4d4";
|
||||||
chromiumVersion = "115.0.5790.114";
|
chromiumVersion = "115.0.5790.171";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_${platformInfo.platformStr}_minimal.tar.bz2";
|
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_${platformInfo.platformStr}_minimal.tar.bz2";
|
||||||
|
|
|
@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ adolfogc yana ];
|
maintainers = with maintainers; [ adolfogc yana ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
mainProgram = "qrencode";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
, pango, fcgi, firebird, libmysqlclient, postgresql, graphicsmagick, glew, openssl
|
||||||
, pcre, harfbuzz, icu
|
, pcre, harfbuzz, icu
|
||||||
}:
|
}:
|
||||||
|
@ -19,11 +19,12 @@ let
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost doxygen qt48Full libharu
|
boost doxygen qtbase libharu
|
||||||
pango fcgi firebird libmysqlclient postgresql graphicsmagick glew
|
pango fcgi firebird libmysqlclient postgresql graphicsmagick glew
|
||||||
openssl pcre harfbuzz icu
|
openssl pcre harfbuzz icu
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dontWrapQtApps = true;
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWT_CPP_11_MODE=-std=c++11"
|
"-DWT_CPP_11_MODE=-std=c++11"
|
||||||
"--no-warn-unused-cli"
|
"--no-warn-unused-cli"
|
||||||
|
@ -44,11 +45,6 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
wt3 = generic {
|
|
||||||
version = "3.7.1";
|
|
||||||
sha256 = "19gf5lbrc5shpvcdyzjh20k8zdj4cybxqvkhwqfl9rvhw89qr11k";
|
|
||||||
};
|
|
||||||
|
|
||||||
wt4 = generic {
|
wt4 = generic {
|
||||||
version = "4.9.1";
|
version = "4.9.1";
|
||||||
sha256 = "sha256-Qm0qqYB/CLVHUgKE9N83MgAWQ2YFdumrB0i84qYNto8=";
|
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 {
|
deployAndroidPackage {
|
||||||
name = "androidsdk";
|
name = "androidsdk";
|
||||||
|
@ -16,7 +16,7 @@ deployAndroidPackage {
|
||||||
export ANDROID_SDK_ROOT="$out/libexec/android-sdk"
|
export ANDROID_SDK_ROOT="$out/libexec/android-sdk"
|
||||||
|
|
||||||
# Wrap all scripts that require JAVA_HOME
|
# 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
|
if grep -q "JAVA_HOME" $program; then
|
||||||
wrapProgram $program --prefix PATH : ${pkgs.jdk11}/bin \
|
wrapProgram $program --prefix PATH : ${pkgs.jdk11}/bin \
|
||||||
--prefix ANDROID_SDK_ROOT : $ANDROID_SDK_ROOT
|
--prefix ANDROID_SDK_ROOT : $ANDROID_SDK_ROOT
|
||||||
|
@ -24,12 +24,12 @@ deployAndroidPackage {
|
||||||
done
|
done
|
||||||
|
|
||||||
# Wrap sdkmanager script
|
# 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 ]} \
|
--prefix PATH : ${lib.makeBinPath [ pkgs.jdk11 ]} \
|
||||||
--add-flags "--sdk_root=$ANDROID_SDK_ROOT"
|
--add-flags "--sdk_root=$ANDROID_SDK_ROOT"
|
||||||
|
|
||||||
# Patch all script shebangs
|
# Patch all script shebangs
|
||||||
patchShebangs $ANDROID_SDK_ROOT/cmdline-tools/${cmdLineToolsVersion}/bin
|
patchShebangs $ANDROID_SDK_ROOT/${package.path}/bin
|
||||||
|
|
||||||
cd $ANDROID_SDK_ROOT
|
cd $ANDROID_SDK_ROOT
|
||||||
${postInstall}
|
${postInstall}
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
, licenseAccepted ? false
|
, licenseAccepted ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ cmdLineToolsVersion ? "9.0"
|
{ cmdLineToolsVersion ? "11.0"
|
||||||
, toolsVersion ? "26.1.1"
|
, toolsVersion ? "26.1.1"
|
||||||
, platformToolsVersion ? "34.0.1"
|
, platformToolsVersion ? "34.0.4"
|
||||||
, buildToolsVersions ? [ "33.0.2" ]
|
, buildToolsVersions ? [ "34.0.0" ]
|
||||||
, includeEmulator ? false
|
, includeEmulator ? false
|
||||||
, emulatorVersion ? "33.1.6"
|
, emulatorVersion ? "32.1.14"
|
||||||
, platformVersions ? []
|
, platformVersions ? []
|
||||||
, includeSources ? false
|
, includeSources ? false
|
||||||
, includeSystemImages ? false
|
, includeSystemImages ? false
|
||||||
|
@ -314,6 +314,8 @@ rec {
|
||||||
'') plugins}
|
'') plugins}
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
|
cmdline-tools-package = check-version packages "cmdline-tools" cmdLineToolsVersion;
|
||||||
|
|
||||||
# This derivation deploys the tools package and symlinks all the desired
|
# 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
|
# plugins that we want to use. If the license isn't accepted, prints all the licenses
|
||||||
# requested and throws.
|
# requested and throws.
|
||||||
|
@ -329,9 +331,9 @@ rec {
|
||||||
by an environment variable for a single invocation of the nix tools.
|
by an environment variable for a single invocation of the nix tools.
|
||||||
$ export NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1
|
$ export NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1
|
||||||
'' else callPackage ./cmdline-tools.nix {
|
'' else callPackage ./cmdline-tools.nix {
|
||||||
inherit deployAndroidPackage os cmdLineToolsVersion;
|
inherit deployAndroidPackage os;
|
||||||
|
|
||||||
package = check-version packages "cmdline-tools" cmdLineToolsVersion;
|
package = cmdline-tools-package;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Symlink all requested plugins
|
# Symlink all requested plugins
|
||||||
|
@ -375,7 +377,7 @@ rec {
|
||||||
ln -s $i $out/bin
|
ln -s $i $out/bin
|
||||||
done
|
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
|
ln -s $i $out/bin
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ let
|
||||||
# Declaration of versions for everything. This is useful since these
|
# Declaration of versions for everything. This is useful since these
|
||||||
# versions may be used in multiple places in this Nix expression.
|
# versions may be used in multiple places in this Nix expression.
|
||||||
android = {
|
android = {
|
||||||
platforms = [ "33" ];
|
platforms = [ "34" ];
|
||||||
systemImageTypes = [ "google_apis" ];
|
systemImageTypes = [ "google_apis" ];
|
||||||
abis = [ "arm64-v8a" "x86_64" ];
|
abis = [ "arm64-v8a" "x86_64" ];
|
||||||
};
|
};
|
||||||
|
@ -115,10 +115,10 @@ pkgs.mkShell rec {
|
||||||
echo "installed_packages_section: ''${installed_packages_section}"
|
echo "installed_packages_section: ''${installed_packages_section}"
|
||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
"build-tools;33.0.2" "cmdline-tools;9.0" \
|
"build-tools;34.0.0" "cmdline-tools;11.0" \
|
||||||
"emulator" "patcher;v4" "platform-tools" "platforms;android-33" \
|
"emulator" "patcher;v4" "platform-tools" "platforms;android-34" \
|
||||||
"system-images;android-33;google_apis;arm64-v8a" \
|
"system-images;android-34;google_apis;arm64-v8a" \
|
||||||
"system-images;android-33;google_apis;x86_64"
|
"system-images;android-34;google_apis;x86_64"
|
||||||
)
|
)
|
||||||
|
|
||||||
for package in "''${packages[@]}"; do
|
for package in "''${packages[@]}"; do
|
||||||
|
@ -135,7 +135,7 @@ pkgs.mkShell rec {
|
||||||
nativeBuildInputs = [ androidSdk androidEmulator jdk ];
|
nativeBuildInputs = [ androidSdk androidEmulator jdk ];
|
||||||
} ''
|
} ''
|
||||||
avdmanager delete avd -n testAVD || true
|
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)
|
result=$(avdmanager list avd)
|
||||||
|
|
||||||
if [[ ! $result =~ "Name: testAVD" ]]; then
|
if [[ ! $result =~ "Name: testAVD" ]]; then
|
||||||
|
|
|
@ -25,18 +25,18 @@ let
|
||||||
# versions may be used in multiple places in this Nix expression.
|
# versions may be used in multiple places in this Nix expression.
|
||||||
android = {
|
android = {
|
||||||
versions = {
|
versions = {
|
||||||
cmdLineToolsVersion = "9.0";
|
cmdLineToolsVersion = "11.0";
|
||||||
platformTools = "34.0.1";
|
platformTools = "34.0.4";
|
||||||
buildTools = "33.0.2";
|
buildTools = "34.0.0";
|
||||||
ndk = [
|
ndk = [
|
||||||
"25.1.8937393" # LTS NDK
|
"25.1.8937393" # LTS NDK
|
||||||
"25.2.9519653"
|
"26.0.10404224-rc1"
|
||||||
];
|
];
|
||||||
cmake = "3.6.4111459";
|
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"];
|
abis = ["armeabi-v7a" "arm64-v8a"];
|
||||||
extras = ["extras;google;gcm"];
|
extras = ["extras;google;gcm"];
|
||||||
};
|
};
|
||||||
|
@ -165,19 +165,20 @@ pkgs.mkShell rec {
|
||||||
installed_packages_section=$(echo "''${output%%Available Packages*}" | awk 'NR>4 {print $1}')
|
installed_packages_section=$(echo "''${output%%Available Packages*}" | awk 'NR>4 {print $1}')
|
||||||
|
|
||||||
packages=(
|
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-23" "platforms;android-24" "platforms;android-25" "platforms;android-26" \
|
||||||
"platforms;android-27" "platforms;android-28" "platforms;android-29" "platforms;android-30" \
|
"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-23" "sources;android-24" "sources;android-25" "sources;android-26" \
|
||||||
"sources;android-27" "sources;android-28" "sources;android-29" "sources;android-30" \
|
"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-28;google_apis_playstore;arm64-v8a" \
|
||||||
"system-images;android-29;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-30;google_apis_playstore;arm64-v8a" \
|
||||||
"system-images;android-31;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-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
|
for package in "''${packages[@]}"; do
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,41 +1,29 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, anyio
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, paho-mqtt
|
||||||
|
|
||||||
# build-system
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, poetry-dynamic-versioning
|
, poetry-dynamic-versioning
|
||||||
|
|
||||||
# dependencies
|
|
||||||
, paho-mqtt
|
|
||||||
, typing-extensions
|
|
||||||
|
|
||||||
# tests
|
|
||||||
, anyio
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiomqtt";
|
pname = "aiomqtt";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sbtinstruments";
|
owner = "sbtinstruments";
|
||||||
repo = "aiomqtt";
|
repo = "aiomqtt";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-ct4KIGxiC5m0yrid0tOa/snO9oErxbqhLLH9kD69aEQ=";
|
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 = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
poetry-dynamic-versioning
|
poetry-dynamic-versioning
|
||||||
|
@ -46,13 +34,15 @@ buildPythonPackage rec {
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "aiomqtt" ];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
anyio
|
anyio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"aiomqtt"
|
||||||
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"-m" "'not network'"
|
"-m" "'not network'"
|
||||||
];
|
];
|
||||||
|
@ -60,7 +50,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The idiomatic asyncio MQTT client, wrapped around paho-mqtt";
|
description = "The idiomatic asyncio MQTT client, wrapped around paho-mqtt";
|
||||||
homepage = "https://github.com/sbtinstruments/aiomqtt";
|
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;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cachecontrol
|
|
||||||
, cwl-upgrader
|
, cwl-upgrader
|
||||||
, cwlformat
|
, cwlformat
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -11,12 +10,13 @@
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, rdflib
|
, rdflib
|
||||||
, requests
|
, requests
|
||||||
|
, ruamel-yaml
|
||||||
, schema-salad
|
, schema-salad
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cwl-utils";
|
pname = "cwl-utils";
|
||||||
version = "0.26";
|
version = "0.28";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -25,15 +25,15 @@ buildPythonPackage rec {
|
||||||
owner = "common-workflow-language";
|
owner = "common-workflow-language";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-T82zaXILbQFOIE0/HhNjpYutSdA1UeaxXO/M7Z4sSfo=";
|
hash = "sha256-hplpsig+phIX6WCbUV0ILcA62f5DE/yTyKfoaeumgyY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cachecontrol
|
|
||||||
cwl-upgrader
|
cwl-upgrader
|
||||||
packaging
|
packaging
|
||||||
rdflib
|
rdflib
|
||||||
requests
|
requests
|
||||||
|
ruamel-yaml
|
||||||
schema-salad
|
schema-salad
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -55,6 +55,9 @@ buildPythonPackage rec {
|
||||||
"test_graph_split"
|
"test_graph_split"
|
||||||
"test_caches_js_processes"
|
"test_caches_js_processes"
|
||||||
"test_load_document_with_remote_uri"
|
"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; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,23 +1,25 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pkg-config
|
, fetchPypi
|
||||||
, gtk3
|
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, pygobject3
|
|
||||||
, goocanvas2
|
, goocanvas2
|
||||||
, isPy3k
|
, gtk3
|
||||||
|
, pkg-config
|
||||||
|
, pygobject3
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "GooCalendar";
|
pname = "goocalendar";
|
||||||
version = "0.7.2";
|
version = "0.8.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "GooCalendar";
|
||||||
sha256 = "318b3b7790ac9d6d98881eee3b676fc9c17fc15d21dcdaff486e3c303333b41a";
|
inherit version;
|
||||||
|
hash = "sha256-LwL5TLRkD6ALucabLUeB0k4rIX+O/aW2ebS2rZPjIUs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -37,10 +39,15 @@ buildPythonPackage rec {
|
||||||
# No upstream tests available
|
# No upstream tests available
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"goocalendar"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A calendar widget for GTK using PyGoocanvas.";
|
description = "A calendar widget for GTK using PyGoocanvas";
|
||||||
homepage = "https://goocalendar.tryton.org/";
|
homepage = "https://goocalendar.tryton.org/";
|
||||||
license = licenses.gpl2;
|
changelog = "https://foss.heptapod.net/tryton/goocalendar/-/blob/${version}/CHANGELOG";
|
||||||
maintainers = [ maintainers.udono ];
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ udono ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-bigtable";
|
pname = "google-cloud-bigtable";
|
||||||
version = "2.20.0";
|
version = "2.21.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-PUeEqed0crzfHLAHDDu4GgktMaNt11nuovfMIkz5iwk=";
|
hash = "sha256-2fDvv5QMo5LwfRN4f8LadtHhaN7a+uD48bQgjgwRMtw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-container";
|
pname = "google-cloud-container";
|
||||||
version = "2.28.0";
|
version = "2.29.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-yML87bCWsuiV+jcznu6QDaLwKxSCb4Nd2BUm5f+wtRE=";
|
hash = "sha256-kBcdzhfr5k5MiSJu3tVyE09a5whQgj6m1AsUEwcQxS4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, responses
|
|
||||||
, pytestCheckHook
|
|
||||||
, python-dotenv
|
|
||||||
, pytest-rerunfailures
|
|
||||||
, requests
|
|
||||||
, python-dateutil
|
|
||||||
, websocket-client
|
|
||||||
, ibm-cloud-sdk-core
|
, ibm-cloud-sdk-core
|
||||||
|
, pytest-rerunfailures
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-dateutil
|
||||||
|
, python-dotenv
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, responses
|
||||||
|
, websocket-client
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ibm-watson";
|
pname = "ibm-watson";
|
||||||
version = "7.0.0";
|
version = "7.0.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -23,28 +23,23 @@ buildPythonPackage rec {
|
||||||
owner = "watson-developer-cloud";
|
owner = "watson-developer-cloud";
|
||||||
repo = "python-sdk";
|
repo = "python-sdk";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-AerEd4TkK/A0KhSy+QWxRDD4pjobsx4oDxMr+wUCGt0=";
|
hash = "sha256-f/nf9WFiUNDQBkFNMV16EznCw0TN9L4fDIPQ/j4B1Sc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
|
||||||
python-dateutil
|
|
||||||
websocket-client
|
|
||||||
ibm-cloud-sdk-core
|
ibm-cloud-sdk-core
|
||||||
|
python-dateutil
|
||||||
|
requests
|
||||||
|
websocket-client
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
responses
|
pytest-rerunfailures
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
python-dotenv
|
python-dotenv
|
||||||
pytest-rerunfailures
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace websocket-client==1.1.0 websocket-client>=1.1.0
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"ibm_watson"
|
"ibm_watson"
|
||||||
];
|
];
|
||||||
|
@ -52,6 +47,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Client library to use the IBM Watson Services";
|
description = "Client library to use the IBM Watson Services";
|
||||||
homepage = "https://github.com/watson-developer-cloud/python-sdk";
|
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;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ globin ];
|
maintainers = with maintainers; [ globin ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
, setuptools
|
, setuptools
|
||||||
|
@ -43,6 +44,15 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-MXzPIcbG8b1JwhEyAZG4DRObGaHq+ipVHMrZCzaxLdE=";
|
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 = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
, asyncio-dgram
|
, asyncio-dgram
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, click
|
|
||||||
, dnspython
|
, dnspython
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, poetry-core
|
, poetry-core
|
||||||
|
, poetry-dynamic-versioning
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-rerunfailures
|
, pytest-rerunfailures
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mcstatus";
|
pname = "mcstatus";
|
||||||
version = "11.0.0";
|
version = "11.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -22,25 +22,26 @@ buildPythonPackage rec {
|
||||||
owner = "py-mine";
|
owner = "py-mine";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-+r6WL59T9rNAKl3r4Hef75uJoD7DRYA23uS/OlzRyRk=";
|
hash = "sha256-1jPIsFEJ17kjtCBiX4IvSf2FxYw9DkH3MrrJ85N71tc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
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" ""
|
--replace " --cov=mcstatus --cov-append --cov-branch --cov-report=term-missing -vvv --no-cov-on-fail" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
poetry-dynamic-versioning
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
asyncio-dgram
|
asyncio-dgram
|
||||||
click
|
|
||||||
dnspython
|
dnspython
|
||||||
];
|
];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-roborock";
|
pname = "python-roborock";
|
||||||
version = "0.32.2";
|
version = "0.32.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||||
owner = "humbertogontijo";
|
owner = "humbertogontijo";
|
||||||
repo = "python-roborock";
|
repo = "python-roborock";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-QMKdStv8WNGUjRrtU6ZKXsJPsYWMXbDMqWUO1nkD1Cc=";
|
hash = "sha256-rKE+dgq0ax/EZ0qYkGVsnHhNxyt3F74hI2tZAaOHCqI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
|
27
pkgs/development/python-modules/sabctools/default.nix
Normal file
27
pkgs/development/python-modules/sabctools/default.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,11 +8,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "streamdeck";
|
pname = "streamdeck";
|
||||||
version = "0.9.3";
|
version = "0.9.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-9bNWsNEW5Di2EZ3z+p8y4Q7GTfIG66b05pTiQcff7HE=";
|
hash = "sha256-aVmWbrBhZ49NfwOp23FD1dxZF+w/q26fIOVs7iQXUxo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -5,7 +5,7 @@ index 824c59c..f13754e 100644
|
||||||
@@ -110,7 +110,7 @@ class LibUSBHIDAPI(Transport):
|
@@ -110,7 +110,7 @@ class LibUSBHIDAPI(Transport):
|
||||||
|
|
||||||
search_library_names = {
|
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": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
|
||||||
+ "Linux": ["@libusb@"],
|
+ "Linux": ["@libusb@"],
|
||||||
"Darwin": ["libhidapi.dylib"],
|
"Darwin": ["libhidapi.dylib"],
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tplink-omada-client";
|
pname = "tplink-omada-client";
|
||||||
version = "1.3.2";
|
version = "1.3.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "tplink_omada_client";
|
pname = "tplink_omada_client";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-AR0jCoYePll6pZA1Nw/lrH4AhFL6WmGQjzLlYJl7IsQ=";
|
hash = "sha256-Jo0p/28Hzokeq0SAdyWfkKzoscVkQj9kP3VnRlWjR8o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -15,16 +15,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "espup";
|
pname = "espup";
|
||||||
version = "0.4.1";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "esp-rs";
|
owner = "esp-rs";
|
||||||
repo = "espup";
|
repo = "espup";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-gzM+RT4Rt+LaYk7CwYUTIMci8DDI0y3+7y+N2yKRDOc=";
|
hash = "sha256-Eb0Q+Ju5nTXL0XvNhAo4Mc+ZP/vOfld313H9/oI3I2U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-GYhF6VDBAieZbu4x9EiQVVJkmx0aRYK0xwGGP0nuVGc=";
|
cargoHash = "sha256-ZKku6ElEtYXxwqeWTDKcCuZ4Wgqonc0B9nMyNd0VcdU=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
buildGraalvmNativeImage rec {
|
buildGraalvmNativeImage rec {
|
||||||
pname = "clojure-lsp";
|
pname = "clojure-lsp";
|
||||||
version = "2023.07.01-22.35.41";
|
version = "2023.08.06-00.28.06";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-/gpynrmu9O6nRH5TzfXwxbPbpk7c6ZzwR6cp8F2puUM=";
|
sha256 = "sha256-wc7M2cPRtdaRzZn3GNu/aCbQ2VqxiDxvu/b7qnBVUBo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
jar = fetchurl {
|
jar = fetchurl {
|
||||||
url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar";
|
url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar";
|
||||||
sha256 = "90457834b079eea57d07b62a1281ebe91b7449d61da0f6e20d5b9f8f8163e525";
|
sha256 = "c301821ac6914999a44f5c1cd371d46b248fe9a2e31d43a666d0bc2656cfdd78";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraNativeImageBuildArgs = [
|
extraNativeImageBuildArgs = [
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "src-cli";
|
pname = "src-cli";
|
||||||
version = "5.1.0";
|
version = "5.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sourcegraph";
|
owner = "sourcegraph";
|
||||||
repo = "src-cli";
|
repo = "src-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-sN6Ea1kJce8Jqy8YrkWzDrQDrmA8F+UYz7ZuqfdbnJ4=";
|
hash = "sha256-r9ugSs9I5K7yuAtOTWCKr3dHGBtmTQVehKqZ3ago1U4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-A533f+FfEzU2TlNwHkD8gjeQYRATz85cCCmqLdl9290=";
|
vendorHash = "sha256-A533f+FfEzU2TlNwHkD8gjeQYRATz85cCCmqLdl9290=";
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-show-asm";
|
pname = "cargo-show-asm";
|
||||||
version = "0.2.20";
|
version = "0.2.21";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-uLF/xDRxw8sLWXkxxHa2cQ6MVMhcN5dop/qfWNEdyIE=";
|
hash = "sha256-0Fj+yC464XdqeMWBgBj5g6ZQGrurFM5LbqSe9GSgbGg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-HDHsTc7JKvLp5Ezaxctjlhd304TXdcVndkuiE9GBSZ0=";
|
cargoHash = "sha256-fW+WvsZv34ZpwaRCs6Uom7t0cV+9yPIlN5pbRea9YEk=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
|
|
@ -14,11 +14,15 @@
|
||||||
, jdk8
|
, jdk8
|
||||||
, jdk17
|
, jdk17
|
||||||
, gamemode
|
, gamemode
|
||||||
|
, flite
|
||||||
|
, mesa-demos
|
||||||
|
|
||||||
, msaClientID ? null
|
, msaClientID ? null
|
||||||
, gamemodeSupport ? stdenv.isLinux
|
, gamemodeSupport ? stdenv.isLinux
|
||||||
|
, textToSpeechSupport ? stdenv.isLinux
|
||||||
, jdks ? [ jdk17 jdk8 ]
|
, jdks ? [ jdk17 jdk8 ]
|
||||||
, additionalLibs ? [ ]
|
, additionalLibs ? [ ]
|
||||||
|
, additionalPrograms ? [ ]
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
prismlauncherFinal = prismlauncher-unwrapped.override {
|
prismlauncherFinal = prismlauncher-unwrapped.override {
|
||||||
|
@ -46,7 +50,7 @@ symlinkJoin {
|
||||||
|
|
||||||
qtWrapperArgs =
|
qtWrapperArgs =
|
||||||
let
|
let
|
||||||
libs = (with xorg; [
|
runtimeLibs = (with xorg; [
|
||||||
libX11
|
libX11
|
||||||
libXext
|
libXext
|
||||||
libXcursor
|
libXcursor
|
||||||
|
@ -61,14 +65,21 @@ symlinkJoin {
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
]
|
]
|
||||||
++ lib.optional gamemodeSupport gamemode.lib
|
++ lib.optional gamemodeSupport gamemode.lib
|
||||||
|
++ lib.optional textToSpeechSupport flite
|
||||||
++ additionalLibs;
|
++ additionalLibs;
|
||||||
|
|
||||||
|
runtimePrograms = [
|
||||||
|
xorg.xrandr
|
||||||
|
mesa-demos # need glxinfo
|
||||||
|
]
|
||||||
|
++ additionalPrograms;
|
||||||
|
|
||||||
in
|
in
|
||||||
[ "--prefix PRISMLAUNCHER_JAVA_PATHS : ${lib.makeSearchPath "bin/java" jdks}" ]
|
[ "--prefix PRISMLAUNCHER_JAVA_PATHS : ${lib.makeSearchPath "bin/java" jdks}" ]
|
||||||
++ lib.optionals stdenv.isLinux [
|
++ 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
|
# 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;
|
inherit (prismlauncherFinal) meta;
|
||||||
|
|
65
pkgs/games/qzdl/default.nix
Normal file
65
pkgs/games/qzdl/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
36
pkgs/games/qzdl/non-bundled-inih.patch
Normal file
36
pkgs/games/qzdl/non-bundled-inih.patch
Normal 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")
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, glib
|
||||||
, cmake
|
, cmake
|
||||||
, libxml2
|
, libxml2
|
||||||
, meson
|
, meson
|
||||||
|
@ -38,6 +39,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
cmake
|
cmake
|
||||||
|
glib
|
||||||
libxml2
|
libxml2
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
|
@ -52,6 +52,12 @@ stdenv.mkDerivation {
|
||||||
# fixes "multiple definition of `VDPAUDeviceFunctions'" linking errors
|
# fixes "multiple definition of `VDPAUDeviceFunctions'" linking errors
|
||||||
url = "https://github.com/NVIDIA/nvidia-settings/commit/a7c1f5fce6303a643fadff7d85d59934bd0cf6b6.patch";
|
url = "https://github.com/NVIDIA/nvidia-settings/commit/a7c1f5fce6303a643fadff7d85d59934bd0cf6b6.patch";
|
||||||
hash = "sha256-ZwF3dRTYt/hO8ELg9weoz1U/XcU93qiJL2d1aq1Jlak=";
|
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 ''
|
postPatch = lib.optionalString nvidia_x11.useProfiles ''
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
version = "2.8.3";
|
version = "2.8.4";
|
||||||
pname = "grafana-loki";
|
pname = "grafana-loki";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "loki";
|
repo = "loki";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Ceuxaxl4KHOlS51MbpYYox6r/SfbGcLrmKbst+xQk74=";
|
hash = "sha256-imMtVjDOkm+cFjyKbP/QNUTYLoLo8TbDQroT0fvbe10=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
|
@ -1,37 +1,60 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
|
, coreutils
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
, par2cmdline
|
, par2cmdline
|
||||||
, unzip
|
, unzip
|
||||||
, unrar
|
, unrar
|
||||||
, p7zip
|
, p7zip
|
||||||
|
, util-linux
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonEnv = python3.withPackages(ps: with ps; [
|
pythonEnv = python3.withPackages(ps: with ps; [
|
||||||
|
babelfish
|
||||||
|
cffi
|
||||||
chardet
|
chardet
|
||||||
cheetah3
|
cheetah3
|
||||||
|
cheroot
|
||||||
cherrypy
|
cherrypy
|
||||||
cryptography
|
|
||||||
configobj
|
configobj
|
||||||
|
cryptography
|
||||||
feedparser
|
feedparser
|
||||||
sabyenc3
|
|
||||||
puremagic
|
|
||||||
guessit
|
guessit
|
||||||
|
jaraco-classes
|
||||||
|
jaraco-collections
|
||||||
|
jaraco-context
|
||||||
|
jaraco-functools
|
||||||
|
jaraco-text
|
||||||
|
more-itertools
|
||||||
|
notify2
|
||||||
|
orjson
|
||||||
|
portend
|
||||||
|
puremagic
|
||||||
|
pycparser
|
||||||
pysocks
|
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 {
|
in stdenv.mkDerivation rec {
|
||||||
version = "3.7.2";
|
version = "4.0.3";
|
||||||
pname = "sabnzbd";
|
pname = "sabnzbd";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-1gGvdc6TJrkFIrN+TUL/7EejApgpgAQxnQbp8RMknHQ=";
|
sha256 = "sha256-6d/UGFuySgKvpqhGjzl007GS9yMgfgI3YwTxkxsCzew=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -59,6 +82,6 @@ in stdenv.mkDerivation rec {
|
||||||
homepage = "https://sabnzbd.org";
|
homepage = "https://sabnzbd.org";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with lib.maintainers; [ fridh jojosch ];
|
maintainers = with lib.maintainers; [ fridh jojosch adamcstephens ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
1173
pkgs/servers/search/meilisearch/Cargo.lock
generated
1173
pkgs/servers/search/meilisearch/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.2.0";
|
let version = "1.3.1";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "meilisearch";
|
pname = "meilisearch";
|
||||||
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage {
|
||||||
owner = "meilisearch";
|
owner = "meilisearch";
|
||||||
repo = "MeiliSearch";
|
repo = "MeiliSearch";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-j+tz47dQFyKy51UAzFOc2YkAeYDUdsiteenC38cWrLI=";
|
hash = "sha256-jttT4qChoqwTnjjoW0Zc15ZieZN7KD1Us64Tk0eDG3Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoBuildFlags = [
|
cargoBuildFlags = [
|
||||||
|
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
"actix-web-static-files-3.0.5" = "sha256-2BN0RzLhdykvN3ceRLkaKwSZtel2DBqZ+uz4Qut+nII=";
|
"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=";
|
"lmdb-rkv-sys-0.15.1" = "sha256-zLHTprwF7aa+2jaD7dGYmOZpJYFijMTb4I3ODflNUII=";
|
||||||
"nelson-0.1.0" = "sha256-eF672quU576wmZSisk7oDR7QiDafuKlSg0BTQkXnzqY=";
|
"nelson-0.1.0" = "sha256-eF672quU576wmZSisk7oDR7QiDafuKlSg0BTQkXnzqY=";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, lib, python3, fetchPypi, fetchFromGitHub, installShellFiles }:
|
{ stdenv, lib, python3, fetchPypi, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.50.0";
|
version = "2.51.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
name = "azure-cli-${version}-src";
|
name = "azure-cli-${version}-src";
|
||||||
owner = "Azure";
|
owner = "Azure";
|
||||||
repo = "azure-cli";
|
repo = "azure-cli";
|
||||||
rev = "azure-cli-${version}";
|
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
|
# 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; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/Azure/azure-cli";
|
homepage = "https://github.com/Azure/azure-cli";
|
||||||
description = "Next generation multi-platform command line experience for Azure";
|
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;
|
license = licenses.mit;
|
||||||
|
mainProgram = "az";
|
||||||
maintainers = with maintainers; [ akechishiro jonringer ];
|
maintainers = with maintainers; [ akechishiro jonringer ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ let
|
||||||
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
||||||
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
||||||
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions" \
|
--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"
|
--replace "packaging>=20.9,<22.0" "packaging"
|
||||||
'';
|
'';
|
||||||
nativeCheckInputs = with self; [ pytest ];
|
nativeCheckInputs = with self; [ pytest ];
|
||||||
|
@ -112,8 +112,8 @@ let
|
||||||
antlr4 = super.pkgs.antlr4_9;
|
antlr4 = super.pkgs.antlr4_9;
|
||||||
});
|
});
|
||||||
|
|
||||||
azure-batch = overrideAzureMgmtPackage super.azure-batch "13.0.0" "zip"
|
azure-batch = overrideAzureMgmtPackage super.azure-batch "14.0.0" "zip"
|
||||||
"sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
|
"sha256-FlsembhvghAkxProX7NIadQHqg67DKS5b7JthZwmyTQ=";
|
||||||
|
|
||||||
azure-data-tables = overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip"
|
azure-data-tables = overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip"
|
||||||
"sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw=";
|
"sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw=";
|
||||||
|
@ -136,8 +136,8 @@ let
|
||||||
azure-mgmt-extendedlocation = overrideAzureMgmtPackage super.azure-mgmt-extendedlocation "1.0.0b2" "zip"
|
azure-mgmt-extendedlocation = overrideAzureMgmtPackage super.azure-mgmt-extendedlocation "1.0.0b2" "zip"
|
||||||
"sha256-mjfH35T81JQ97jVgElWmZ8P5MwXVxZQv/QJKNLS3T8A=";
|
"sha256-mjfH35T81JQ97jVgElWmZ8P5MwXVxZQv/QJKNLS3T8A=";
|
||||||
|
|
||||||
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b2" "zip"
|
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b4" "zip"
|
||||||
"sha256-e+I5MdbbX7WhxHCj1Ery3z2WUrJtpWGD1bhLbqReb58=";
|
"sha512-NW2BNj45lKzBmPXWMuBnVEDG2C6xzo9J/QjcC5fczvyhKBIkhugJVOWdPUsSzyGeQYKdqpRWPOl0yBG/eblHQA==";
|
||||||
|
|
||||||
azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b10" "zip"
|
azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b10" "zip"
|
||||||
"sha256-sM8oZdhv+5WCd4RnMtEmCikTBmzGsap5heKzSbHbRPI=";
|
"sha256-sM8oZdhv+5WCd4RnMtEmCikTBmzGsap5heKzSbHbRPI=";
|
||||||
|
@ -151,11 +151,11 @@ let
|
||||||
azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "3.0.0" "zip"
|
azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "3.0.0" "zip"
|
||||||
"sha256-FJhuVgqNjdRIegP4vUISrAtHvvVle5VQFVITPm4HLEw=";
|
"sha256-FJhuVgqNjdRIegP4vUISrAtHvvVle5VQFVITPm4HLEw=";
|
||||||
|
|
||||||
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "13.3.0" "zip"
|
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "13.5.0" "zip"
|
||||||
"sha256-v1pTNPH0ujRm4VMt95Uw6d07lF8bgM3XIa3NJIbNLFI=";
|
"sha512-bUFY0+JipVihatMib0Giv7THnv4rRAbT36PhP+5tcsVlBVLmCYqjyp0iWnTfSbvRiljKOjbm3w+xeC0gL/IE7w==";
|
||||||
|
|
||||||
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "29.1.0" "zip"
|
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "30.0.0" "zip"
|
||||||
"sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg=";
|
"sha256-cyD7r8OSdwsD7QK2h2AYXmCUVS7ZjX/V6nchClpRPHg=";
|
||||||
|
|
||||||
azure-mgmt-consumption = overrideAzureMgmtPackage super.azure-mgmt-consumption "2.0.0" "zip"
|
azure-mgmt-consumption = overrideAzureMgmtPackage super.azure-mgmt-consumption "2.0.0" "zip"
|
||||||
"sha256-moWonzDyJNJhdJviC0YWoOuJSFhvfw8gVzuOoy8mUYk=";
|
"sha256-moWonzDyJNJhdJviC0YWoOuJSFhvfw8gVzuOoy8mUYk=";
|
||||||
|
@ -163,8 +163,8 @@ let
|
||||||
azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "10.1.0" "zip"
|
azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "10.1.0" "zip"
|
||||||
"sha256-eNQ3rbKFdPRIyDjtXwH5ztN4GWCYBh3rWdn3AxcEwX4=";
|
"sha256-eNQ3rbKFdPRIyDjtXwH5ztN4GWCYBh3rWdn3AxcEwX4=";
|
||||||
|
|
||||||
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "24.0.0" "zip"
|
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "25.0.0" "zip"
|
||||||
"sha256-sUp3LDVsc1DmVf4HdaXGSDeEvmAE2weSHHTxL/BwRk8=";
|
"sha256-je7O92bklsbIlfsTUF2TXUqztAZxn8ep4ezCUHeLuhE=";
|
||||||
|
|
||||||
azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "9.2.0" "zip"
|
azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "9.2.0" "zip"
|
||||||
"sha256-PAaBkR77Ho2YI5I+lmazR/8vxEZWpbvM427yRu1ET0k=";
|
"sha256-PAaBkR77Ho2YI5I+lmazR/8vxEZWpbvM427yRu1ET0k=";
|
||||||
|
@ -249,8 +249,8 @@ let
|
||||||
azure-mgmt-search = overrideAzureMgmtPackage super.azure-mgmt-search "9.0.0" "zip"
|
azure-mgmt-search = overrideAzureMgmtPackage super.azure-mgmt-search "9.0.0" "zip"
|
||||||
"sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0=";
|
"sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0=";
|
||||||
|
|
||||||
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "3.0.0" "zip"
|
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "5.0.0" "zip"
|
||||||
"sha256-vLp874V/awKi2Yr+sH+YcbFij6M9iGGrE4fnMufbP4Q=";
|
"sha512-wMI55Ou96rzUEZIeTDmMfR4KIz3tG98z6A6teJanGPyNgte9tGa0/+2ge0yX10iwRKZyZZPNTReCkcd+IOkS+A==";
|
||||||
|
|
||||||
azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "1.1.0" "zip"
|
azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "1.1.0" "zip"
|
||||||
"sha256-lUNIDyP5W+8aIX7manfMqaO2IJJm/+2O+Buv+Bh4EZE=";
|
"sha256-lUNIDyP5W+8aIX7manfMqaO2IJJm/+2O+Buv+Bh4EZE=";
|
||||||
|
@ -485,12 +485,12 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
msal = super.msal.overridePythonAttrs(oldAttrs: rec {
|
msal = super.msal.overridePythonAttrs(oldAttrs: rec {
|
||||||
version = "1.20.0";
|
version = "1.24.0b1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit (oldAttrs) pname;
|
inherit (oldAttrs) pname;
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-eDRM1MkdYTSlk7Xj5FVB5mbje3R/+KYxbDZo3R5qtrI=";
|
hash = "sha256-ze5CqX+m8XH4NUECL2SgNT9EXV4wS/0DgO5XMDHo/Uo=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -514,12 +514,12 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
knack = super.knack.overridePythonAttrs(oldAttrs: rec {
|
knack = super.knack.overridePythonAttrs(oldAttrs: rec {
|
||||||
version = "0.10.1";
|
version = "0.11.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit (oldAttrs) pname;
|
inherit (oldAttrs) pname;
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-xXKBKCl+bSaXkQhc+Wwv/fzvWM+DxjSly5LrA7KSmDg=";
|
hash = "sha256-62VoAB6RELGzIJQUMcUQM9EEzJjNoiVKXCsJulaf1JQ=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "clair";
|
pname = "clair";
|
||||||
version = "4.7.0";
|
version = "4.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "quay";
|
owner = "quay";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-jnEnzIxI6S5AoUpfurOcf5N2Fo03QFNjxUzkn+i4h0Q=";
|
hash = "sha256-+ABZafDc2nmHHnJGXj4iCSheuWoksPwDblmdIusUJuo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-6UdTqnbtX4X4qACXW8uybyiOVOGXVw5HBNUvC/l1xfo=";
|
vendorHash = "sha256-ptgHU/PrLqRG4h3C5x+XUy4+38Yu6h4gTeziaPJ2iWE=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
|
|
@ -11,16 +11,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ouch";
|
pname = "ouch";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ouch-org";
|
owner = "ouch-org";
|
||||||
repo = pname;
|
repo = "ouch";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-WzdKr0i31qNRm1EpMZ/W4fOfKKItmvz6BYFbJWcfoHo=";
|
hash = "sha256-XJOv7JFUJulEkGCMLxGi9nldHaPM/CUzyENIC2TdtoE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-UhKcWpNuRNyA+uUw5kx84Y2F1Swr05m7JUM1+9lXYPM=";
|
cargoHash = "sha256-TfAAU46rH6Jq0MuLRjbaVMRjzoSLYNAWBnUcT8DyIVg=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
installShellCompletion artifacts/ouch.{bash,fish} --zsh artifacts/_ouch
|
installShellCompletion artifacts/ouch.{bash,fish} --zsh artifacts/_ouch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
OUCH_ARTIFACTS_FOLDER = "artifacts";
|
env.OUCH_ARTIFACTS_FOLDER = "artifacts";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A command-line utility for easily compressing and decompressing files and directories";
|
description = "A command-line utility for easily compressing and decompressing files and directories";
|
||||||
|
|
|
@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ svend ];
|
maintainers = with maintainers; [ svend ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
mainProgram = "dual-function-keys";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ lib, fetchFromGitHub, python3Packages }:
|
{ lib, fetchFromGitHub, fetchpatch, python3Packages }:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "cc2538-bsl";
|
pname = "cc2538-bsl";
|
||||||
version = "unstable-2022-08-03";
|
version = "unstable-2022-08-03";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub rec {
|
src = fetchFromGitHub rec {
|
||||||
owner = "JelmerT";
|
owner = "JelmerT";
|
||||||
|
@ -11,7 +12,20 @@ python3Packages.buildPythonPackage rec {
|
||||||
hash = "sha256-fPY12kValxbJORi9xNyxzwkGpD9F9u3M1+aa9IlSiaE=";
|
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; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
intelhex
|
intelhex
|
||||||
|
@ -19,7 +33,10 @@ python3Packages.buildPythonPackage rec {
|
||||||
python-magic
|
python-magic
|
||||||
];
|
];
|
||||||
|
|
||||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.1.dev0+g${lib.substring 0 7 src.rev}";
|
nativeCheckInputs = with python3Packages; [
|
||||||
|
pytestCheckHook
|
||||||
|
scripttest
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Remove .py from binary
|
# Remove .py from binary
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mmv";
|
pname = "mmv";
|
||||||
version = "2.5";
|
version = "2.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rrthomas";
|
owner = "rrthomas";
|
||||||
repo = "mmv";
|
repo = "mmv";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-tQk3AwmUuhbxvFm9wiO7BM2GChGopvpCZAp8J9XCDF0=";
|
sha256 = "sha256-01MJjYVPfDaRkzitqKXTJZHbkkZTEaFoyYZEEMizHp0=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "Tool to access the X clipboard from a console application";
|
description = "Tool to access the X clipboard from a console application";
|
||||||
homepage = "https://github.com/astrand/xclip";
|
homepage = "https://github.com/astrand/xclip";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
mainProgram = "xclip";
|
|
||||||
platforms = lib.platforms.all;
|
platforms = lib.platforms.all;
|
||||||
|
mainProgram = "xclip";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dnscrypt-proxy2";
|
pname = "dnscrypt-proxy2";
|
||||||
version = "2.1.4";
|
version = "2.1.5";
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ buildGoModule rec {
|
||||||
owner = "DNSCrypt";
|
owner = "DNSCrypt";
|
||||||
repo = "dnscrypt-proxy";
|
repo = "dnscrypt-proxy";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-98DeCrDp0TmPCSvOrJ7KgIQZBR2K1fFJrmNccZ7nSug=";
|
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "memtier-benchmark";
|
pname = "memtier-benchmark";
|
||||||
version = "1.4.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "redislabs";
|
owner = "redislabs";
|
||||||
repo = "memtier_benchmark";
|
repo = "memtier_benchmark";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-1ZgSmHOLvPecqVN9P/Mr/2cOdbdl4oe4GgMjLaDX7YQ=";
|
sha256 = "sha256-3KFBj+Cj5qO5k1hy5oSvtXdtTZIbGPJ1fhmnIeCW2s8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "proxify";
|
pname = "proxify";
|
||||||
version = "0.0.11";
|
version = "0.0.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "projectdiscovery";
|
owner = "projectdiscovery";
|
||||||
repo = "proxify";
|
repo = "proxify";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-aoge1K1T4jgh8TFN8nFIjFehmz/o1UefbzEbV85dHTk=";
|
hash = "sha256-j2FuyoTCc9mcoI683xZkMCL6QXy0dGEheNaormlgUvY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-ingumSn4EDdw1Vgwm/ghQTsErqFVFZtjNfwfDwdJ/2s=";
|
vendorHash = "sha256-kPj3KBi8Mbsj4BW7Vf1w4mW8EN07FuqgFhAkkLCl8Bc=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Proxy tool for HTTP/HTTPS traffic capture";
|
description = "Proxy tool for HTTP/HTTPS traffic capture";
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDotnetModule rec {
|
buildDotnetModule rec {
|
||||||
pname = "CertDump";
|
pname = "certdump";
|
||||||
|
|
||||||
version = "unstable-2023-07-12";
|
version = "unstable-2023-07-12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -40,6 +39,5 @@ buildDotnetModule rec {
|
||||||
'';
|
'';
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.baloo ];
|
maintainers = [ maintainers.baloo ];
|
||||||
platforms = with platforms; (linux ++ darwin);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cyclonedx-gomod";
|
pname = "cyclonedx-gomod";
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "CycloneDX";
|
owner = "CycloneDX";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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
|
# Tests require network access and cyclonedx executable
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
|
||||||
, autoconf-archive
|
, autoconf-archive
|
||||||
, pkg-config
|
, autoreconfHook
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, pkg-config
|
||||||
|
, substituteAll
|
||||||
, curl
|
, curl
|
||||||
, gtk3
|
, gtk3
|
||||||
, libassuan
|
, libassuan
|
||||||
, libbsd
|
, libbsd
|
||||||
, libproxy
|
, libproxy
|
||||||
, libxml2
|
, libxml2
|
||||||
|
, nssTools
|
||||||
, openssl
|
, openssl
|
||||||
, p11-kit
|
, p11-kit
|
||||||
, pcsclite
|
, pcsclite
|
||||||
, nssTools
|
|
||||||
, substituteAll
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -30,8 +30,15 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-70UjfkH+rx1Q+2XEuAByoDsP5ZelyuGXaHdkjTe/sCY=";
|
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 ];
|
nativeBuildInputs = [ autoreconfHook autoconf-archive pkg-config makeWrapper ];
|
||||||
buildInputs = [ curl gtk3 libassuan libbsd libproxy libxml2 openssl p11-kit pcsclite ];
|
buildInputs = [ curl gtk3 libassuan libbsd libproxy libxml2 openssl p11-kit pcsclite ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
mkdir openssl
|
mkdir openssl
|
||||||
ln -s ${lib.getLib openssl}/lib 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.
|
# pinentry uses hardcoded `/usr/bin/pinentry`, so use the built-in (uglier) dialogs for pinentry.
|
||||||
configureFlags = [ "--disable-pinentry" ];
|
configureFlags = [ "--disable-pinentry" ];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed 's@m4_esyscmd_s(.*,@[${version}],@' -i configure.ac
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
let
|
let
|
||||||
eid-nssdb-in = substituteAll {
|
eid-nssdb-in = substituteAll {
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "exploitdb";
|
pname = "exploitdb";
|
||||||
version = "2023-08-11";
|
version = "2023-08-12";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "exploit-database";
|
owner = "exploit-database";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-Fv5vGPo9KZCNTllQhVHlGh496vdwpdTx1V0StaS9Flk=";
|
hash = "sha256-614RJCI3/7xV5CaeiJqH0G3Kxk3orSN+xePHgHZY4GM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
source "https://rubygems.org"
|
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"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/rapid7/metasploit-framework
|
remote: https://github.com/rapid7/metasploit-framework
|
||||||
revision: fa40647fa24c91f387b6d4b84bf818c90feb8fd9
|
revision: 1f8710308cee679b61629e0050952ea37d647ff4
|
||||||
ref: refs/tags/6.3.28
|
ref: refs/tags/6.3.29
|
||||||
specs:
|
specs:
|
||||||
metasploit-framework (6.3.28)
|
metasploit-framework (6.3.29)
|
||||||
actionpack (~> 7.0)
|
actionpack (~> 7.0)
|
||||||
activerecord (~> 7.0)
|
activerecord (~> 7.0)
|
||||||
activesupport (~> 7.0)
|
activesupport (~> 7.0)
|
||||||
|
@ -103,25 +103,25 @@ GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
Ascii85 (1.1.0)
|
Ascii85 (1.1.0)
|
||||||
actionpack (7.0.6)
|
actionpack (7.0.7)
|
||||||
actionview (= 7.0.6)
|
actionview (= 7.0.7)
|
||||||
activesupport (= 7.0.6)
|
activesupport (= 7.0.7)
|
||||||
rack (~> 2.0, >= 2.2.4)
|
rack (~> 2.0, >= 2.2.4)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
actionview (7.0.6)
|
actionview (7.0.7)
|
||||||
activesupport (= 7.0.6)
|
activesupport (= 7.0.7)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubi (~> 1.4)
|
erubi (~> 1.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
activemodel (7.0.6)
|
activemodel (7.0.7)
|
||||||
activesupport (= 7.0.6)
|
activesupport (= 7.0.7)
|
||||||
activerecord (7.0.6)
|
activerecord (7.0.7)
|
||||||
activemodel (= 7.0.6)
|
activemodel (= 7.0.7)
|
||||||
activesupport (= 7.0.6)
|
activesupport (= 7.0.7)
|
||||||
activesupport (7.0.6)
|
activesupport (7.0.7)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
minitest (>= 5.1)
|
minitest (>= 5.1)
|
||||||
|
@ -132,13 +132,13 @@ GEM
|
||||||
arel-helpers (2.14.0)
|
arel-helpers (2.14.0)
|
||||||
activerecord (>= 3.1.0, < 8)
|
activerecord (>= 3.1.0, < 8)
|
||||||
aws-eventstream (1.2.0)
|
aws-eventstream (1.2.0)
|
||||||
aws-partitions (1.799.0)
|
aws-partitions (1.803.0)
|
||||||
aws-sdk-core (3.180.2)
|
aws-sdk-core (3.180.3)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
aws-partitions (~> 1, >= 1.651.0)
|
aws-partitions (~> 1, >= 1.651.0)
|
||||||
aws-sigv4 (~> 1.5)
|
aws-sigv4 (~> 1.5)
|
||||||
jmespath (~> 1, >= 1.6.1)
|
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-sdk-core (~> 3, >= 3.177.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
aws-sdk-ec2instanceconnect (1.32.0)
|
aws-sdk-ec2instanceconnect (1.32.0)
|
||||||
|
@ -150,7 +150,7 @@ GEM
|
||||||
aws-sdk-kms (1.71.0)
|
aws-sdk-kms (1.71.0)
|
||||||
aws-sdk-core (~> 3, >= 3.177.0)
|
aws-sdk-core (~> 3, >= 3.177.0)
|
||||||
aws-sigv4 (~> 1.1)
|
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-core (~> 3, >= 3.179.0)
|
||||||
aws-sdk-kms (~> 1)
|
aws-sdk-kms (~> 1)
|
||||||
aws-sigv4 (~> 1.6)
|
aws-sigv4 (~> 1.6)
|
||||||
|
@ -186,7 +186,7 @@ GEM
|
||||||
eventmachine (>= 1.0.0.beta.4)
|
eventmachine (>= 1.0.0.beta.4)
|
||||||
erubi (1.12.0)
|
erubi (1.12.0)
|
||||||
eventmachine (1.2.7)
|
eventmachine (1.2.7)
|
||||||
faker (3.2.0)
|
faker (3.2.1)
|
||||||
i18n (>= 1.8.11, < 2)
|
i18n (>= 1.8.11, < 2)
|
||||||
faraday (2.7.10)
|
faraday (2.7.10)
|
||||||
faraday-net_http (>= 2.0, < 3.1)
|
faraday-net_http (>= 2.0, < 3.1)
|
||||||
|
@ -316,9 +316,9 @@ GEM
|
||||||
rails-html-sanitizer (1.6.0)
|
rails-html-sanitizer (1.6.0)
|
||||||
loofah (~> 2.21)
|
loofah (~> 2.21)
|
||||||
nokogiri (~> 1.14)
|
nokogiri (~> 1.14)
|
||||||
railties (7.0.6)
|
railties (7.0.7)
|
||||||
actionpack (= 7.0.6)
|
actionpack (= 7.0.7)
|
||||||
activesupport (= 7.0.6)
|
activesupport (= 7.0.7)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 12.2)
|
rake (>= 12.2)
|
||||||
thor (~> 1.0)
|
thor (~> 1.0)
|
||||||
|
|
|
@ -15,13 +15,13 @@ let
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "metasploit-framework";
|
pname = "metasploit-framework";
|
||||||
version = "6.3.28";
|
version = "6.3.29";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rapid7";
|
owner = "rapid7";
|
||||||
repo = "metasploit-framework";
|
repo = "metasploit-framework";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-g6oM2xjfARBaVJm5AqfrqhLpa3av/0ixql2+62iuG94=";
|
sha256 = "sha256-e5aM4pGNDkF8UDxgb8O+uTNOiUmudnbDUWsO/Ke1nV4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -4,50 +4,50 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0d66w1d9rhvafd0dilqyr1ymsvr060l8hi0xvwij7cyvzzxrlrbc";
|
sha256 = "150sjsk12vzj9aswjy3cz124l8n8sn52bhd0wwly73rwc1a750sg";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
actionview = {
|
actionview = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1icfh9pgjpd29apzn07cnqa9nlpvjv7i4vrygack5gp7hp54l8m7";
|
sha256 = "1nn21k5psxdv2fkwxs679lr0b8n1nzli2ks343cx4azn6snp8b8a";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
activemodel = {
|
activemodel = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "072iv0d3vpbp0xijg4jj99sjil1rykmqfj9addxj76bm5mbzwcaj";
|
sha256 = "1rspbw4yxx9fh2wyl2wvgwadwapfyx7j9zlirpd4pmk31wkhl4hf";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
activerecord = {
|
activerecord = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1l0rn43bhyzlfa4wwcfz016vb4lkzvl0jf5zibkjy4sppxxixzrq";
|
sha256 = "1ygg145wxlgm12b1x5r0rsk2aa6i2wjz7bgb21j8vmyqyfl272cy";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
activesupport = {
|
activesupport = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1cjsf26656996hv48wgv2mkwxf0fy1qc68ikgzq7mzfq2mmvmayk";
|
sha256 = "1wzbnv3hns0yiwbgh1m3q5j0d7b0k52nlpwirhxyv3l0ycmljfr9";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
addressable = {
|
addressable = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
@ -104,30 +104,30 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1fdqsz0f826w1lm1npn4qagggnjpg683vxxvyfvc37pn07zmjbhf";
|
sha256 = "0iz9n7yl9w5570f03nxq27wk8crfvz3l63an9k87aglcnpkj5f9p";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.799.0";
|
version = "1.803.0";
|
||||||
};
|
};
|
||||||
aws-sdk-core = {
|
aws-sdk-core = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1sxkpg1mvg1aiqd2kp5h438qd5rjpgpx3ag0r5xsbzmij9ja3cj4";
|
sha256 = "0lc3j74v49b2akyimfnsx3vsgi1i3068cpchn358l0dv27aib6c2";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.180.2";
|
version = "3.180.3";
|
||||||
};
|
};
|
||||||
aws-sdk-ec2 = {
|
aws-sdk-ec2 = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "01mcilr3qnj6pzwvv4qgdqcnpg5s1cj57b5k5gjl4bfvfyiq7x6z";
|
sha256 = "08ypqmikkbnp3aa2sy8p80pigjlvjpgygj86gxm3hwr68s033a2d";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.396.0";
|
version = "1.397.0";
|
||||||
};
|
};
|
||||||
aws-sdk-ec2instanceconnect = {
|
aws-sdk-ec2instanceconnect = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
@ -164,10 +164,10 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0cjb40w8hw4h59bbjidp6hlb1j6akb36d8s5a37vlm6zwq327i7f";
|
sha256 = "0iciakii0vcm16x0fivs5hwwhy3n8j1f9d7pimxr05yplnxizh6a";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.132.0";
|
version = "1.132.1";
|
||||||
};
|
};
|
||||||
aws-sdk-ssm = {
|
aws-sdk-ssm = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
@ -374,10 +374,10 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1i3l58jrcapkp70v3swr0x4s6bj1101920al50wsaaj9dv0vhvm7";
|
sha256 = "0ysiqlvyy1351bzx7h92r93a35s32l8giyf9bac6sgr142sh3cnn";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.2.0";
|
version = "3.2.1";
|
||||||
};
|
};
|
||||||
faraday = {
|
faraday = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
@ -644,12 +644,12 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
rev = "fa40647fa24c91f387b6d4b84bf818c90feb8fd9";
|
rev = "1f8710308cee679b61629e0050952ea37d647ff4";
|
||||||
sha256 = "1phvmrlfpgjxmaqlizxgfrmyj4maxfkh5fcraid100fz33dhral3";
|
sha256 = "0plxnnkzq3kba71pcxmf964lwcxrpv1nyq1wa1y423ldj7i8r5kv";
|
||||||
type = "git";
|
type = "git";
|
||||||
url = "https://github.com/rapid7/metasploit-framework";
|
url = "https://github.com/rapid7/metasploit-framework";
|
||||||
};
|
};
|
||||||
version = "6.3.28";
|
version = "6.3.29";
|
||||||
};
|
};
|
||||||
metasploit-model = {
|
metasploit-model = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
@ -1037,10 +1037,10 @@
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0dcabk5bl5flmspnb9d2qcvclcaw0nd5yr9w6m5pzsmylg3y63pv";
|
sha256 = "0in2b84qqmfnigx0li9bgi6l4knmgbj3a29fzm1zzb5jnv4r1gbr";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "7.0.6";
|
version = "7.0.7";
|
||||||
};
|
};
|
||||||
rake = {
|
rake = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
|
|
@ -8,14 +8,19 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "plasma-pass";
|
pname = "plasma-pass";
|
||||||
version = "1.2.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "invent.kde.org";
|
domain = "invent.kde.org";
|
||||||
owner = "plasma";
|
owner = "plasma";
|
||||||
repo = "plasma-pass";
|
repo = "plasma-pass";
|
||||||
rev = "v${version}";
|
sha256 = "sha256-lCNskOXkSIcMPcMnTWE37sDCXfmtP0FhyMzxeF6L0iU=";
|
||||||
sha256 = "1w2mzxyrh17x7da62b6sg1n85vnh1q77wlrfxwfb1pk77y59rlf1";
|
|
||||||
|
# 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 = [
|
buildInputs = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "vals";
|
pname = "vals";
|
||||||
version = "0.26.1";
|
version = "0.26.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "variantdev";
|
owner = "variantdev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
sha256 = "sha256-gICEqwt34pllvxA8JVc0rCQ2F3w6wT96eKTTxE0j398=";
|
sha256 = "sha256-WTUdb2LF/50KT3BqwbvKu4TFocbYBdEAoD3IQiPD2bs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-6DJiqDEgEHQbyIt4iShoBnagBvspd3W3vD56/FGjESs=";
|
vendorHash = "sha256-6DJiqDEgEHQbyIt4iShoBnagBvspd3W3vD56/FGjESs=";
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mdbook-katex";
|
pname = "mdbook-katex";
|
||||||
version = "0.5.6";
|
version = "0.5.7";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
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 ];
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||||
|
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mdbook-open-on-gh";
|
pname = "mdbook-open-on-gh";
|
||||||
version = "2.3.3";
|
version = "2.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "badboy";
|
owner = "badboy";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
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; {
|
meta = with lib; {
|
||||||
description = "mdbook preprocessor to add a open-on-github link on every page";
|
description = "mdbook preprocessor to add a open-on-github link on every page";
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "google-guest-oslogin";
|
pname = "google-guest-oslogin";
|
||||||
version = "20230502.00";
|
version = "20230808.00";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GoogleCloudPlatform";
|
owner = "GoogleCloudPlatform";
|
||||||
repo = "guest-oslogin";
|
repo = "guest-oslogin";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-66e0d6nE3880xsdI67O71TyZKQi3sGHkx7fLo3xVI7Q=";
|
sha256 = "sha256-6CHMnoPrfXFAgTyIoGPsMos9CaW6W0zcbpIG1j7DRqk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -6962,7 +6962,7 @@ with pkgs;
|
||||||
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
|
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
|
||||||
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = 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 { };
|
certstrap = callPackage ../tools/security/certstrap { };
|
||||||
|
|
||||||
|
@ -20685,6 +20685,8 @@ with pkgs;
|
||||||
|
|
||||||
clanlib = callPackage ../development/libraries/clanlib { };
|
clanlib = callPackage ../development/libraries/clanlib { };
|
||||||
|
|
||||||
|
clap = callPackage ../development/libraries/clap { };
|
||||||
|
|
||||||
classads = callPackage ../development/libraries/classads { };
|
classads = callPackage ../development/libraries/classads { };
|
||||||
|
|
||||||
clfft = callPackage ../development/libraries/clfft { };
|
clfft = callPackage ../development/libraries/clfft { };
|
||||||
|
@ -21644,7 +21646,7 @@ with pkgs;
|
||||||
|
|
||||||
granted = callPackage ../tools/admin/granted { };
|
granted = callPackage ../tools/admin/granted { };
|
||||||
|
|
||||||
grantlee = callPackage ../development/libraries/grantlee { };
|
grantlee = libsForQt5.callPackage ../development/libraries/grantlee { };
|
||||||
|
|
||||||
gsasl = callPackage ../development/libraries/gsasl { };
|
gsasl = callPackage ../development/libraries/gsasl { };
|
||||||
|
|
||||||
|
@ -21813,6 +21815,8 @@ with pkgs;
|
||||||
|
|
||||||
gtk-layer-shell = callPackage ../development/libraries/gtk-layer-shell { };
|
gtk-layer-shell = callPackage ../development/libraries/gtk-layer-shell { };
|
||||||
|
|
||||||
|
gtk4-layer-shell = callPackage ../development/libraries/gtk4-layer-shell { };
|
||||||
|
|
||||||
gts = callPackage ../development/libraries/gts { };
|
gts = callPackage ../development/libraries/gts { };
|
||||||
|
|
||||||
gumbo = callPackage ../development/libraries/gumbo { };
|
gumbo = callPackage ../development/libraries/gumbo { };
|
||||||
|
@ -25431,10 +25435,7 @@ with pkgs;
|
||||||
wlr-protocols = callPackage ../development/libraries/wlroots/protocols.nix { };
|
wlr-protocols = callPackage ../development/libraries/wlroots/protocols.nix { };
|
||||||
|
|
||||||
wt = wt4;
|
wt = wt4;
|
||||||
inherit (callPackages ../development/libraries/wt {
|
inherit (libsForQt5.callPackage ../development/libraries/wt { })
|
||||||
boost = boost175;
|
|
||||||
})
|
|
||||||
wt3
|
|
||||||
wt4;
|
wt4;
|
||||||
|
|
||||||
wxformbuilder = callPackage ../development/tools/wxformbuilder { };
|
wxformbuilder = callPackage ../development/tools/wxformbuilder { };
|
||||||
|
@ -40662,6 +40663,8 @@ with pkgs;
|
||||||
|
|
||||||
qperf = callPackage ../os-specific/linux/qperf { };
|
qperf = callPackage ../os-specific/linux/qperf { };
|
||||||
|
|
||||||
|
qzdl = libsForQt5.callPackage ../games/qzdl { };
|
||||||
|
|
||||||
rates = callPackage ../tools/misc/rates {
|
rates = callPackage ../tools/misc/rates {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
|
@ -11271,6 +11271,8 @@ self: super: with self; {
|
||||||
|
|
||||||
s3-credentials = callPackage ../development/python-modules/s3-credentials { };
|
s3-credentials = callPackage ../development/python-modules/s3-credentials { };
|
||||||
|
|
||||||
|
sabctools = callPackage ../development/python-modules/sabctools { };
|
||||||
|
|
||||||
sabyenc3 = callPackage ../development/python-modules/sabyenc3 { };
|
sabyenc3 = callPackage ../development/python-modules/sabyenc3 { };
|
||||||
|
|
||||||
sabyenc = callPackage ../development/python-modules/sabyenc { };
|
sabyenc = callPackage ../development/python-modules/sabyenc { };
|
||||||
|
|
Loading…
Reference in a new issue