Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-10-03 12:06:10 +00:00 committed by GitHub
commit 6a5c2ed1b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
42 changed files with 719 additions and 184 deletions

View File

@ -407,7 +407,6 @@ in {
''
import time
TOTAL_RETRIES = 20
@ -428,6 +427,16 @@ in {
return retries + 1
def protect(self, func):
def wrapper(*args, retries: int = 0, **kwargs):
try:
return func(*args, **kwargs)
except Exception as err:
retries = self.handle_fail(retries, err.args)
return wrapper(*args, retries=retries, **kwargs)
return wrapper
backoff = BackoffTracker()
@ -437,11 +446,13 @@ in {
# quickly switch between derivations
root_specs = "/tmp/specialisation"
node.execute(
f"test -e {root_specs}"
f" || ln -s $(readlink /run/current-system)/specialisation {root_specs}"
f"test -e {root_specs}"
f" || ln -s $(readlink /run/current-system)/specialisation {root_specs}"
)
switcher_path = f"/run/current-system/specialisation/{name}/bin/switch-to-configuration"
switcher_path = (
f"/run/current-system/specialisation/{name}/bin/switch-to-configuration"
)
rc, _ = node.execute(f"test -e '{switcher_path}'")
if rc > 0:
switcher_path = f"/tmp/specialisation/{name}/bin/switch-to-configuration"
@ -465,38 +476,45 @@ in {
actual_issuer = node.succeed(
f"openssl x509 -noout -issuer -in /var/lib/acme/{cert_name}/{fname}"
).partition("=")[2]
print(f"{fname} issuer: {actual_issuer}")
assert issuer.lower() in actual_issuer.lower()
assert (
issuer.lower() in actual_issuer.lower()
), f"{fname} issuer mismatch. Expected {issuer} got {actual_issuer}"
# Ensure cert comes before chain in fullchain.pem
def check_fullchain(node, cert_name):
subject_data = node.succeed(
f"openssl crl2pkcs7 -nocrl -certfile /var/lib/acme/{cert_name}/fullchain.pem"
" | openssl pkcs7 -print_certs -noout"
cert_file = f"/var/lib/acme/{cert_name}/fullchain.pem"
num_certs = node.succeed(f"grep -o 'END CERTIFICATE' {cert_file}")
assert len(num_certs.strip().split("\n")) > 1, "Insufficient certs in fullchain.pem"
first_cert_data = node.succeed(
f"grep -m1 -B50 'END CERTIFICATE' {cert_file}"
" | openssl x509 -noout -text"
)
for line in subject_data.lower().split("\n"):
if "subject" in line:
print(f"First subject in fullchain.pem: {line}")
assert cert_name.lower() in line
for line in first_cert_data.lower().split("\n"):
if "dns:" in line:
print(f"First DNSName in fullchain.pem: {line}")
assert cert_name.lower() in line, f"{cert_name} not found in {line}"
return
assert False
def check_connection(node, domain, retries=0):
@backoff.protect
def check_connection(node, domain):
result = node.succeed(
"openssl s_client -brief -verify 2 -CAfile /tmp/ca.crt"
f" -servername {domain} -connect {domain}:443 < /dev/null 2>&1"
)
for line in result.lower().split("\n"):
if "verification" in line and "error" in line:
retries = backoff.handle_fail(retries, f"Failed to connect to https://{domain}")
return check_connection(node, domain, retries)
assert not (
"verification" in line and "error" in line
), f"Failed to connect to https://{domain}"
def check_connection_key_bits(node, domain, bits, retries=0):
@backoff.protect
def check_connection_key_bits(node, domain, bits):
result = node.succeed(
"openssl s_client -CAfile /tmp/ca.crt"
f" -servername {domain} -connect {domain}:443 < /dev/null"
@ -504,12 +522,11 @@ in {
)
print("Key type:", result)
if bits not in result:
retries = backoff.handle_fail(retries, f"Did not find expected number of bits ({bits}) in key")
return check_connection_key_bits(node, domain, bits, retries)
assert bits in result, f"Did not find expected number of bits ({bits}) in key"
def check_stapling(node, domain, retries=0):
@backoff.protect
def check_stapling(node, domain):
# Pebble doesn't provide a full OCSP responder, so just check the URL
result = node.succeed(
"openssl s_client -CAfile /tmp/ca.crt"
@ -518,30 +535,28 @@ in {
)
print("OCSP Responder URL:", result)
if "${caDomain}:4002" not in result.lower():
retries = backoff.handle_fail(retries, "OCSP Stapling check failed")
return check_stapling(node, domain, retries)
assert "${caDomain}:4002" in result.lower(), "OCSP Stapling check failed"
def download_ca_certs(node, retries=0):
exit_code, _ = node.execute("curl https://${caDomain}:15000/roots/0 > /tmp/ca.crt")
exit_code_2, _ = node.execute(
"curl https://${caDomain}:15000/intermediate-keys/0 >> /tmp/ca.crt"
@backoff.protect
def download_ca_certs(node):
node.succeed("curl https://${caDomain}:15000/roots/0 > /tmp/ca.crt")
node.succeed("curl https://${caDomain}:15000/intermediate-keys/0 >> /tmp/ca.crt")
@backoff.protect
def set_a_record(node):
node.succeed(
'curl --data \'{"host": "${caDomain}", "addresses": ["${nodes.acme.networking.primaryIPAddress}"]}\' http://${dnsServerIP nodes}:8055/add-a'
)
if exit_code + exit_code_2 > 0:
retries = backoff.handle_fail(retries, "Failed to connect to pebble to download root CA certs")
return download_ca_certs(node, retries)
start_all()
dnsserver.wait_for_unit("pebble-challtestsrv.service")
client.wait_for_unit("default.target")
client.succeed(
'curl --data \'{"host": "${caDomain}", "addresses": ["${nodes.acme.networking.primaryIPAddress}"]}\' http://${dnsServerIP nodes}:8055/add-a'
)
set_a_record(client)
acme.systemctl("start network-online.target")
acme.wait_for_unit("network-online.target")
@ -638,7 +653,7 @@ in {
webserver.wait_for_unit("acme-finished-lego.example.test.target")
webserver.wait_for_unit("nginx.service")
webserver.succeed("echo HENLO && systemctl cat nginx.service")
webserver.succeed("test \"$(stat -c '%U' /var/lib/acme/* | uniq)\" = \"root\"")
webserver.succeed('test "$(stat -c \'%U\' /var/lib/acme/* | uniq)" = "root"')
check_connection(client, "a.example.test")
check_connection(client, "lego.example.test")

View File

@ -49,10 +49,6 @@ import ./make-test-python.nix ({ lib, ... }:
testScript = ''
start_all()
# Wait for InfluxDB to be available
machine.wait_for_unit("influxdb2")
machine.wait_for_open_port(8086)
# Wait for Scrutiny to be available
machine.wait_for_unit("scrutiny")
machine.wait_for_open_port(8080)

View File

@ -1,22 +1,43 @@
{ lib, python3Packages, fetchPypi }:
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "dosage";
version = "2.17";
version = "3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
sha256 = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y=";
};
pyproject = true;
nativeCheckInputs = with python3Packages; [
pytestCheckHook pytest-xdist responses
pytestCheckHook
pytest-xdist
responses
];
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
build-system = [ python3Packages.setuptools-scm ];
propagatedBuildInputs = with python3Packages; [
colorama imagesize lxml requests setuptools six
dependencies = with python3Packages; [
colorama
imagesize
lxml
requests
six
platformdirs
];
disabledTests = [
# need network connect to api.github.com
"test_update_available"
"test_no_update_available"
"test_update_broken"
"test_current"
];
meta = {

View File

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec {
pname = "lscolors";
version = "0.19.0";
version = "0.20.0";
src = fetchCrate {
inherit version pname;
hash = "sha256-9xYWjpeXg646JEW7faRLE1Au6LRVU6QQ7zfAwmYffT0=";
hash = "sha256-EUUPVSpHc9tN1Hi7917hJ2psTZq5nnGw6PBeApvlVtw=";
};
cargoHash = "sha256-gtcznStbuYWcBPKZ/hdH15cwRQL0+Q0fZHe+YW5Rek0=";
cargoHash = "sha256-1wAHd0WrJfjxDyGRAJjXGFY9ZBFlBOQFr2+cxoTufW0=";
buildFeatures = [ "nu-ansi-term" ];

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "talosctl";
version = "1.7.6";
version = "1.8.0";
src = fetchFromGitHub {
owner = "siderolabs";
repo = "talos";
rev = "v${version}";
hash = "sha256-uyPnln1Cj4j1oPVERBIHMJXJWR+jPUq6AE7rZXr2yQo=";
hash = "sha256-Ezie6RQsigmJgdvnSVk6awuUu2kODSio9DNg4bow76M=";
};
vendorHash = "sha256-ZJGhPT2KYYIMKmRWqdOppvXSD2W8kYtxK/900TdVdUg=";
vendorHash = "sha256-9qkealjjdBO659fdWdgFii3ThPRwKpYasB03L3Bktqs=";
ldflags = [ "-s" "-w" ];

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3, python3 }:
{ lib, stdenv, darwin, fetchFromGitHub, ocamlPackages, why3, python3 }:
stdenv.mkDerivation rec {
pname = "easycrypt";
version = "2024.01";
version = "2024.09";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "r${version}";
hash = "sha256-UYDoVMi5TtYxgPq5nkp/oRtcMcHl2p7KAG8ptvuOL5U=";
hash = "sha256-ZGYklG1eXfytRKzFvRSB6jFrOCm1gjyG8W78eMve5Ng=";
};
nativeBuildInputs = with ocamlPackages; [
@ -17,10 +17,12 @@ stdenv.mkDerivation rec {
menhir
ocaml
python3.pkgs.wrapPython
];
] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.sigtool;
buildInputs = with ocamlPackages; [
batteries
dune-build-info
dune-site
inifiles
why3
yojson
@ -32,7 +34,7 @@ stdenv.mkDerivation rec {
strictDeps = true;
postPatch = ''
substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})'
substituteInPlace dune-project --replace-fail '(name easycrypt)' '(name easycrypt)(version ${version})'
'';
pythonPath = with python3.pkgs; [ pyyaml ];

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, cmake
, zlib
, potrace
@ -47,6 +48,15 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [
# Backport fix for newer ffmpeg
# FIXME: remove in next update
(fetchpatch {
url = "https://invent.kde.org/graphics/glaxnimate/-/commit/4fb2b67a0f0ce2fbffb6fe9f87c3bf7914c8a602.patch";
hash = "sha256-QjCnscGa7n+zwrImA4mbQiTQb9jmDGm8Y/7TK8jZXvM=";
})
];
nativeBuildInputs = [
cmake
wrapQtAppsHook

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "obs-move-transition";
version = "3.0.2";
version = "3.1.0";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-move-transition";
rev = version;
sha256 = "sha256-Vwm0Eyb8MevZtS3PTqnFQAbCj7JuTw9Ju0lS9CZ6rf8=";
sha256 = "sha256-ZmxopTv6YuAZ/GykvMRcP2PQwQk08ObmqZ9kBcR0UH4=";
};
nativeBuildInputs = [ cmake ];

View File

@ -7,7 +7,7 @@
}:
python3Packages.buildPythonApplication rec {
pname = "ansible-navigator";
version = "24.7.0";
version = "24.9.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.10";
@ -15,7 +15,7 @@ python3Packages.buildPythonApplication rec {
src = fetchPypi {
inherit version;
pname = "ansible_navigator";
hash = "sha256-XMwJzDxo/VZ+0qy5MLg/Kw/7j3V594qfV+T6jeVEWzg=";
hash = "sha256-eW38/n3vh2l2hKrh1xpW2fiB5yOkTnK77AnevDStD7s=";
};
build-system = with python3Packages; [

View File

@ -9,7 +9,7 @@
}:
let
version = "2024.6.1";
version = "2024.9.0";
# nix version of install-onlyoffice.sh
# a later version could rebuild from sdkjs/web-apps as per
# https://github.com/cryptpad/onlyoffice-builds/blob/main/build.sh
@ -68,10 +68,10 @@ buildNpmPackage {
owner = "cryptpad";
repo = "cryptpad";
rev = version;
hash = "sha256-qwyXpTY8Ds7R5687PVGZa/rlEyrAZjNzJ4+VQZpF8v0=";
hash = "sha256-OUtWaDVLRUbKS0apwY0aNq4MalGFv+fH9VA7LvWWYRs=";
};
npmDepsHash = "sha256-GSTPsXqe/rxiDh5OW2t+ZY1YRNgRSDxkJ0pvcLIFtFw=";
npmDepsHash = "sha256-pK0b7q1kJja9l8ANwudbfo3jpldwuO56kuulS8X9A5s=";
nativeBuildInputs = [
makeBinaryWrapper

View File

@ -0,0 +1,91 @@
{
lib,
stdenv,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication {
pname = "exo";
version = "0-unstable-2024-10-02";
pyproject = true;
src = fetchFromGitHub {
owner = "exo-explore";
repo = "exo";
rev = "2654f290c3179aa143960e336e8985a8b6f6b72b";
hash = "sha256-jaIeK3sn6Swi20DNnvDtSAIt3DXIN0OQDiozNUHqtjs=";
};
build-system = with python3Packages; [ setuptools ];
pythonRelaxDeps = [
"aiohttp"
"aiofiles"
"blobfile"
"grpcio-tools"
"huggingface-hub"
"numpy"
"protobuf"
"pynvml"
"safetensors"
"tenacity"
"tokenizers"
"transformers"
];
pythonRemoveDeps = [ "uuid" ];
dependencies = with python3Packages; [
aiohttp
aiohttp-cors
aiofiles
blobfile
grpcio
grpcio-tools
hf-transfer
huggingface-hub
jinja2
netifaces
numpy
pillow
prometheus-client
protobuf
psutil
pynvml
requests
rich
safetensors
tailscale
tenacity
tiktoken
tokenizers
tqdm
transformers
tinygrad
];
pythonImportsCheck = [
"exo"
"exo.inference.tinygrad.models"
];
nativeCheckInputs = with python3Packages; [
mlx
pytestCheckHook
];
disabledTestPaths = [
"test/test_tokenizers.py"
];
# Tests require `mlx` which is not supported on linux.
doCheck = stdenv.isDarwin;
meta = {
description = "Run your own AI cluster at home with everyday devices";
homepage = "https://github.com/exo-explore/exo";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "exo";
};
}

View File

@ -17,16 +17,16 @@
rustPlatform.buildRustPackage rec {
pname = "eza";
version = "0.20.0";
version = "0.20.1";
src = fetchFromGitHub {
owner = "eza-community";
repo = "eza";
rev = "v${version}";
hash = "sha256-lQEQLINjXGbg9KnqJCQXR/wG50dBTnmWp06wKJi0NE8=";
hash = "sha256-dJrGPxqFfveb7lyCmDU0hnx5TkaDsdJgpKPtWyjj5ls=";
};
cargoHash = "sha256-WT5jwG+c3cSKjAgzlOX3kbtOF3E6NICgGT2BGxcWzDA=";
cargoHash = "sha256-LM+ikA0aiSZmTH5cUcSQ0ikVd9kcADyCOR5qdCD1UJ4=";
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
buildInputs = [ zlib ]

View File

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "gh-dash";
version = "4.5.4";
version = "4.7.0";
src = fetchFromGitHub {
owner = "dlvhdr";
repo = "gh-dash";
rev = "v${version}";
hash = "sha256-RGl947fWoifw6+YHykL/k7uie5WqZqEAKWK7NZT+Upo=";
hash = "sha256-+tUG+ReP8y6wI4XZsR2Look4LAwK79CZf9fWUgkx4O0=";
};
vendorHash = "sha256-zrHDxMqIzMQ2En8/sZ0BZjKM8JZrDjrRq9eWisSY3N0=";
vendorHash = "sha256-lqmz+6Cr9U5IBoJ5OeSN6HKY/nKSAmszfvifzbxG7NE=";
ldflags = [
"-s"

View File

@ -13,13 +13,13 @@
buildGoModule rec {
pname = "goldwarden";
version = "0.3.3";
version = "0.3.4";
src = fetchFromGitHub {
owner = "quexten";
repo = "goldwarden";
rev = "v${version}";
hash = "sha256-s00ZgRmp+0UTp4gpoQgZZqSJMRGsGuUxoX2DEryG+XM=";
hash = "sha256-LAnhCQmyubWeZtTVaW8IoNmfipvMIlAnY4pKwrURPDs=";
};
postPatch = ''
@ -38,7 +38,7 @@ buildGoModule rec {
--replace-fail "@PATH@" "$out/bin/goldwarden"
'';
vendorHash = "sha256-TSmYqLMeS/G1rYNxVfh3uIK9bQJhsd7mos50yIXQoT4=";
vendorHash = "sha256-rMs7FP515aClzt9sjgIQHiYo5SYa2tDHrVRhtT+I8aM=";
ldflags = [ "-s" "-w" ];

View File

@ -1,15 +1,19 @@
{ lib, buildGoModule, fetchFromGitHub }:
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gotools";
version = "0.22.0";
version = "0.25.0";
# using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is to basic to browse
src = fetchFromGitHub {
owner = "golang";
repo = "tools";
rev = "v${version}";
hash = "sha256-qqzvbHFbm6RlqztBnuj7HvMa9Wff1+YUA0fxiM0cx8o=";
hash = "sha256-iM6mGIQF+TOo1iV8hH9/4iOPdNiS9ymPmhslhDVnIIs=";
};
postPatch = ''
@ -18,7 +22,7 @@ buildGoModule rec {
rm -r gopls
'';
vendorHash = "sha256-eQ/T/Zxmzn6KF0ewjvt9TDd48RSsSbQ3LgVcKgdeVbU=";
vendorHash = "sha256-9NSgtranuyRqtBq1oEnHCPIDFOIUJdVh5W/JufqN2Ko=";
doCheck = false;
@ -36,6 +40,9 @@ buildGoModule rec {
'';
homepage = "https://go.googlesource.com/tools";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
maintainers = with maintainers; [
SuperSandro2000
techknowlogick
];
};
}

View File

@ -6,16 +6,16 @@
}:
let
pname = "immersed-vr";
version = "9.10";
version = "10.5.0";
sources = rec {
x86_64-linux = {
url = "https://web.archive.org/web/20240210075929/https://static.immersed.com/dl/Immersed-x86_64.AppImage";
hash = "sha256-Mx8UnV4fZSebj9ah650ZqsL/EIJpM6jl8tYmXJZiJpA=";
url = "https://web.archive.org/web/20240909144905if_/https://static.immersed.com/dl/Immersed-x86_64.AppImage";
hash = "sha256-/fc/URYJZftZPyVicmZjyvcGPLaHrnlsrERlQFN5E98=";
};
x86_64-darwin = {
url = "https://web.archive.org/web/20240210075929/https://static.immersed.com/dl/Immersed.dmg";
hash = "sha256-CR2KylovlS7zerZIEScnadm4+ENNhib5QnS6z5Ihv1Y=";
url = "https://web.archive.org/web/20240910022037if_/https://static.immersed.com/dl/Immersed.dmg";
hash = "sha256-UkfB151bX0D5k0IBZczh36TWOOYJbBe5e6LIErON214=";
};
aarch64-darwin = x86_64-darwin;
};

View File

@ -10,18 +10,18 @@
, openssl
, pkg-config
, zlib
, unstableGitUpdater
, gitUpdater
}:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "rakshasa-libtorrent";
version = "0.13.8-unstable-2024-09-01";
version = "0.14.0";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "libtorrent";
rev = "ca6eed1c7e7985016689004eaeed2fb2a119e5f8";
hash = "sha256-Hu0/T5NG7h+COLoOsfi2Uy0BVUPiEhkMhUhFo/JqZq0=";
rev = "v${version}";
hash = "sha256-MDLAp7KFmVvHL+haWVYwWG8gnLkTh6g19ydRkbu9cIs=";
};
nativeBuildInputs = [
@ -37,7 +37,7 @@ stdenv.mkDerivation {
zlib
];
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
passthru.updateScript = gitUpdater { tagPrefix = "v"; };
enableParallelBuilding = true;

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "mbtileserver";
version = "0.10.0";
version = "0.11.0";
src = fetchFromGitHub {
owner = "consbio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hKDgKiy3tmZ7gxmxZlflJHcxatrSqE1d1uhSLJh8XLo=";
sha256 = "sha256-RLaAhc24zdCFvpSN2LZXNyS1ygg9zCi4jEj8owdreWU=";
};
vendorHash = "sha256-QcyFnzRdGdrVqgKEMbhaD7C7dkGKKhTesMMZKrrLx70=";
vendorHash = "sha256-yn7LcR/DvHDSRicUnWLrFZKqZti+YQoLSk3mZkDIj10=";
meta = with lib; {
description = "Simple Go-based server for map tiles stored in mbtiles format";

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation {
pname = "opencomposite";
version = "0-unstable-2024-09-13";
version = "0-unstable-2024-10-02";
src = fetchFromGitLab {
owner = "znixian";
repo = "OpenOVR";
rev = "f8db7aa35831753f00215a2d9ba7197a80d7bacd";
hash = "sha256-3fqh7Kth5XFcDsJUMmR2af+r5QPW3/mAsEauGUXaWq8=";
rev = "f969a972e9a151de776fa8d1bd6e67056f0a5d5d";
hash = "sha256-CE+ushwNv8kQSXtrQ6K5veBmpQvQaMKk6P9G1wV2uvM=";
};
nativeBuildInputs = [ cmake ];

View File

@ -59,6 +59,9 @@ stdenv.mkDerivation (finalAttrs: {
# Runs in parallel to other tests, limit to 1 thread
substituteInPlace tests/headers/compile_headers.py \
--replace 'multiprocessing.cpu_count()' '1'
sed '1i#include <iomanip>' \
-i tests/core/persistent_string_cache/speed_test.cpp
'' + lib.optionalString finalAttrs.finalPackage.doCheck ''
patchShebangs tests/{headers,whitespace}/*.py
'';

View File

@ -15,18 +15,18 @@
, xmlrpc_c
, zlib
, nixosTests
, unstableGitUpdater
, gitUpdater
}:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "rakshasa-rtorrent";
version = "0.9.8-unstable-2024-09-07";
version = "0.10.0";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "rtorrent";
rev = "9a93281ded3f6c6bb40593f9bbd3597683cff263";
hash = "sha256-dbZ0Q6v6vu8rlr7p1rPc3Cx/9R53OelkoTNsdAVQAxE=";
rev = "v${version}";
hash = "sha256-G/30Enycpqg/pWC95CzT9LY99kN4tI+S8aSQhnQO+M8=";
};
outputs = [ "out" "man" ];
@ -60,7 +60,7 @@ stdenv.mkDerivation {
];
passthru = {
updateScript = unstableGitUpdater { tagPrefix = "v"; };
updateScript = gitUpdater { tagPrefix = "v"; };
tests = {
inherit (nixosTests) rtorrent;
};

View File

@ -36,7 +36,7 @@ let
throwSystem = throw "Unsupported system: ${system}";
pname = "waveterm";
version = "0.8.7";
version = "0.8.8";
suffix =
{
@ -51,10 +51,10 @@ let
url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/${suffix}";
hash =
{
x86_64-linux = "sha256-pWBKZid8sumi/EP3DA5KcLnZsHsuKYK6E6NHXdWKh8s=";
aarch64-linux = "sha256-2paRX+OGPSEktV4S+V43ZE9UgltLYZ+Nyba5/miBQkA=";
x86_64-darwin = "sha256-tsqw597gQIMnQ/OPZhrWwaRliF94KyS+ryajttDLqBA=";
aarch64-darwin = "sha256-PD38UBSNKuv836P/py/CtrLOlddHa0+w7R20YVY4Ybc=";
x86_64-linux = "sha256-hRpJTFVoBQZyJD06FTRbBPj/1DlYlDWPRjJ1IKeK7Cs=";
aarch64-linux = "sha256-T3VqsoHhPYYrAe/dEd0SUH+G4jpHjKpJTrFy8/AgoKI=";
x86_64-darwin = "sha256-UlyNl2Qu59L4hnK8rTeUV30YVD45L7ub5SP8f97aJrw=";
aarch64-darwin = "sha256-cP+z8DQsNBJc3p57xQdGqqq7jvYcRQRIa+P+6kD3eCc=";
}
.${system} or throwSystem;
};

View File

@ -0,0 +1,126 @@
{
autoPatchelfHook,
copyDesktopItems,
fetchurl,
fontconfig,
freetype,
lib,
libGL,
libxkbcommon,
makeDesktopItem,
makeWrapper,
stdenvNoCC,
unzip,
writeShellApplication,
xorg,
zlib,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "winbox";
version = "4.0beta9";
src = fetchurl {
name = "WinBox_Linux-${finalAttrs.version}.zip";
url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/WinBox_Linux.zip";
hash = "sha256-129ejj3WxYx5kQTy6EOLtBolhx076yMVb5ymkAoXrwc=";
};
sourceRoot = ".";
nativeBuildInputs = [
autoPatchelfHook
copyDesktopItems
# makeBinaryWrapper does not support --run
makeWrapper
unzip
];
buildInputs = [
fontconfig
freetype
libGL
libxkbcommon
xorg.libxcb
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilrenderutil
xorg.xcbutilwm
zlib
];
installPhase = ''
runHook preInstall
install -Dm644 "assets/img/winbox.png" "$out/share/pixmaps/winbox.png"
install -Dm755 "WinBox" "$out/bin/WinBox"
wrapProgram "$out/bin/WinBox" --run "${lib.getExe finalAttrs.migrationScript}"
runHook postInstall
'';
desktopItems = [
(makeDesktopItem {
name = "winbox";
desktopName = "Winbox";
comment = "GUI administration for Mikrotik RouterOS";
exec = "WinBox";
icon = "winbox";
categories = [ "Utility" ];
})
];
migrationScript = writeShellApplication {
name = "winbox-migrate";
text = ''
XDG_DATA_HOME=''${XDG_DATA_HOME:-$HOME/.local/share}
targetFile="$XDG_DATA_HOME/MikroTik/WinBox/Addresses.cdb"
if [ -f "$targetFile" ]; then
echo "NixOS: WinBox 4 data already present at $(dirname "$targetFile"). Skipping automatic migration."
exit 0
fi
# cover both wine prefix variants
# latter was used until https://github.com/NixOS/nixpkgs/pull/329626 was merged on 2024/07/24
winePrefixes=(
"''${WINEPREFIX:-$HOME/.wine}"
"''${WINBOX_HOME:-$XDG_DATA_HOME/winbox}/wine"
)
sourceFilePathSuffix="drive_c/users/$USER/AppData/Roaming/Mikrotik/Winbox/Addresses.cdb"
selectedSourceFile=""
for prefix in "''${winePrefixes[@]}"
do
echo "NixOS: Probing WinBox 3 data path at $prefix..."
if [ -f "$prefix/$sourceFilePathSuffix" ]; then
selectedSourceFile="$prefix/$sourceFilePathSuffix"
break
fi
done
if [ -z "$selectedSourceFile" ]; then
echo "NixOS: WinBox 3 data not found. Skipping automatic migration."
exit 0
fi
echo "NixOS: Automatically migrating WinBox 3 data..."
install -Dvm644 "$selectedSourceFile" "$targetFile"
'';
};
meta = {
description = "Graphical configuration utility for RouterOS-based devices";
homepage = "https://mikrotik.com";
downloadPage = "https://mikrotik.com/download";
changelog = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/CHANGELOG";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
mainProgram = "WinBox";
maintainers = with lib.maintainers; [
Scrumplex
yrd
];
};
})

View File

@ -21,11 +21,11 @@ dependencies = [
[[package]]
name = "addr2line"
version = "0.22.0"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375"
dependencies = [
"gimli",
"gimli 0.31.0",
]
[[package]]
@ -404,6 +404,7 @@ dependencies = [
"language_model",
"languages",
"log",
"lsp",
"markdown",
"menu",
"multi_buffer",
@ -894,9 +895,9 @@ dependencies = [
[[package]]
name = "async-trait"
version = "0.1.81"
version = "0.1.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107"
checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1"
dependencies = [
"proc-macro2",
"quote",
@ -1493,17 +1494,17 @@ dependencies = [
[[package]]
name = "backtrace"
version = "0.3.73"
version = "0.3.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
dependencies = [
"addr2line",
"cc",
"cfg-if",
"libc",
"miniz_oxide 0.7.4",
"miniz_oxide 0.8.0",
"object",
"rustc-demangle",
"windows-targets 0.52.6",
]
[[package]]
@ -2282,9 +2283,9 @@ dependencies = [
[[package]]
name = "clap"
version = "4.5.16"
version = "4.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019"
checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
dependencies = [
"clap_builder",
"clap_derive",
@ -2292,9 +2293,9 @@ dependencies = [
[[package]]
name = "clap_builder"
version = "4.5.15"
version = "4.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6"
checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
dependencies = [
"anstream",
"anstyle",
@ -3082,7 +3083,7 @@ dependencies = [
"cranelift-control",
"cranelift-entity",
"cranelift-isle",
"gimli",
"gimli 0.29.0",
"hashbrown 0.14.5",
"log",
"regalloc2",
@ -4325,6 +4326,7 @@ dependencies = [
"ctor",
"editor",
"env_logger",
"file_icons",
"futures 0.3.30",
"fuzzy",
"gpui",
@ -4332,7 +4334,9 @@ dependencies = [
"menu",
"picker",
"project",
"schemars",
"serde",
"serde_derive",
"serde_json",
"settings",
"text",
@ -4872,6 +4876,12 @@ dependencies = [
"stable_deref_trait",
]
[[package]]
name = "gimli"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
[[package]]
name = "git"
version = "0.1.0"
@ -4939,9 +4949,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "globset"
version = "0.4.14"
version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19"
dependencies = [
"aho-corasick",
"bstr",
@ -5681,9 +5691,9 @@ dependencies = [
[[package]]
name = "ignore"
version = "0.4.22"
version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b"
dependencies = [
"crossbeam-deque",
"globset",
@ -6278,6 +6288,7 @@ dependencies = [
"http_client",
"image",
"inline_completion_button",
"isahc",
"language",
"log",
"menu",
@ -6467,7 +6478,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
dependencies = [
"cfg-if",
"windows-targets 0.52.6",
"windows-targets 0.48.5",
]
[[package]]
@ -7044,7 +7055,6 @@ dependencies = [
"ctor",
"env_logger",
"futures 0.3.30",
"git",
"gpui",
"itertools 0.13.0",
"language",
@ -7179,6 +7189,7 @@ dependencies = [
"async-std",
"async-tar",
"async-trait",
"async-watch",
"async_zip",
"futures 0.3.30",
"http_client",
@ -7191,6 +7202,7 @@ dependencies = [
"tempfile",
"util",
"walkdir",
"which 6.0.3",
"windows 0.58.0",
]
@ -7511,6 +7523,7 @@ dependencies = [
"anyhow",
"futures 0.3.30",
"http_client",
"isahc",
"schemars",
"serde",
"serde_json",
@ -13108,7 +13121,7 @@ dependencies = [
"cranelift-frontend",
"cranelift-native",
"cranelift-wasm",
"gimli",
"gimli 0.29.0",
"log",
"object",
"target-lexicon",
@ -13128,7 +13141,7 @@ dependencies = [
"cpp_demangle",
"cranelift-bitset",
"cranelift-entity",
"gimli",
"gimli 0.29.0",
"indexmap 2.4.0",
"log",
"object",
@ -13242,7 +13255,7 @@ checksum = "2a25199625effa4c13dd790d64bd56884b014c69829431bfe43991c740bd5bc1"
dependencies = [
"anyhow",
"cranelift-codegen",
"gimli",
"gimli 0.29.0",
"object",
"target-lexicon",
"wasmparser 0.215.0",
@ -13522,7 +13535,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
"windows-sys 0.59.0",
"windows-sys 0.48.0",
]
[[package]]
@ -13539,7 +13552,7 @@ checksum = "073efe897d9ead7fc609874f94580afc831114af5149b6a90ee0a3a39b497fe0"
dependencies = [
"anyhow",
"cranelift-codegen",
"gimli",
"gimli 0.29.0",
"regalloc2",
"smallvec",
"target-lexicon",
@ -14096,6 +14109,7 @@ dependencies = [
"parking_lot",
"postage",
"project",
"remote",
"schemars",
"serde",
"serde_json",
@ -14375,13 +14389,14 @@ dependencies = [
[[package]]
name = "zed"
version = "0.154.4"
version = "0.155.2"
dependencies = [
"activity_indicator",
"anyhow",
"ashpd",
"assets",
"assistant",
"async-watch",
"audio",
"auto_update",
"backtrace",
@ -14455,6 +14470,7 @@ dependencies = [
"session",
"settings",
"settings_ui",
"shellexpand 2.1.2",
"simplelog",
"smol",
"snippet_provider",
@ -14606,7 +14622,7 @@ dependencies = [
[[package]]
name = "zed_lua"
version = "0.0.3"
version = "0.1.0"
dependencies = [
"zed_extension_api 0.1.0",
]

View File

@ -86,13 +86,13 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "zed-editor";
version = "0.154.4";
version = "0.155.2";
src = fetchFromGitHub {
owner = "zed-industries";
repo = "zed";
rev = "refs/tags/v${version}";
hash = "sha256-/sL5SVRNVJBMPPZek9zBiek3nXHI1czNwbkGtlk9CzU=";
hash = "sha256-QiZZsy96WoWBFFKzVt6k4ZhxhvdBsy2iaF5TnYyb4v8=";
fetchSubmodules = true;
};

View File

@ -43,6 +43,13 @@ in
(addToBuildInputsWithPkgConfig pkgs.cairo old)
// (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old);
cmark = addToBuildInputs pkgs.cmark;
comparse = old: {
# For some reason lazy-seq 2 gets interpreted as lazy-seq 0.0.0??
postPatch = ''
substituteInPlace comparse.egg \
--replace-fail 'lazy-seq "0.1.0"' 'lazy-seq "0.0.0"'
'';
};
epoxy = old:
(addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy old)
// lib.optionalAttrs stdenv.cc.isClang {
@ -210,7 +217,6 @@ in
begin-syntax = broken;
canvas-draw = broken;
chicken-doc-admin = broken;
comparse = broken;
coops-utils = broken;
crypt = broken;
hypergiant = broken;

View File

@ -0,0 +1,60 @@
{
stdenv,
fetchurl,
fetchDebianPatch,
autoreconfHook,
makeWrapper,
pkg-config,
ocaml,
findlib,
libxml2,
augeas,
lib,
}:
stdenv.mkDerivation rec {
pname = "ocaml-augeas";
version = "0.6";
src = fetchurl {
url = "https://people.redhat.com/~rjones/augeas/files/ocaml-augeas-0.6.tar.gz";
sha256 = "04bn62hqdka0658fgz0p0fil2fyic61i78plxvmni1yhmkfrkfla";
};
patches = [
(fetchDebianPatch {
inherit pname version;
debianRevision = "1";
patch = "0001-Use-ocamlopt-g-option.patch";
hash = "sha256-EMd/EfWO2ni0AMonfS7G5FENpVVq0+q3gUPd4My+Upg=";
})
(fetchDebianPatch {
inherit pname version;
debianRevision = "1";
patch = "0002-caml_named_value-returns-const-value-pointer-in-OCam.patch";
hash = "sha256-Y53UHwrTVeV3hnsvABmWxlPi2Fanm0Iy1OR8Zql5Ub8=";
})
];
nativeBuildInputs = [
autoreconfHook
makeWrapper
pkg-config
];
buildInputs = [
ocaml
findlib
augeas
libxml2
];
createFindlibDestdir = true;
meta = with lib; {
homepage = "https://people.redhat.com/~rjones/augeas/";
description = "OCaml bindings for Augeas";
license = with licenses; lgpl21Plus;
platforms = with platforms; linux;
};
}

View File

@ -5,7 +5,7 @@
}:
let
version = "1.1.0beta2";
version = "1.1.0";
in
buildPecl rec {
inherit version;
@ -15,7 +15,7 @@ buildPecl rec {
owner = "open-telemetry";
repo = "opentelemetry-php-instrumentation";
rev = version;
hash = "sha256-gZby9wr5FN5mNG9YNVqQFYloxd4ws91Mz6IPn5OAGjs=";
hash = "sha256-X3rGzKDI16W21O9BaCuvVCreuce6is+URFSa1FNcznM=";
};
sourceRoot = "${src.name}/ext";

View File

@ -1,50 +1,59 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
pybind11,
setuptools,
wheel,
# dependencies
einops,
numpy,
matplotlib,
pandas,
pytorch-msssim,
scipy,
torch,
torch-geometric,
torchvision,
# optional-dependencies
ipywidgets,
jupyter,
# tests
plotly,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "compressai";
version = "1.2.4";
version = "1.2.6";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "InterDigitalInc";
repo = "CompressAI";
rev = "refs/tags/v${version}";
hash = "sha256-nT2vd7t67agIWobJalORbRuns0UJGRGGbTX2/8vbTiY=";
hash = "sha256-xvzhhLn0iBzq3h1nro8/83QWEQe9K4zRa3RSZk+hy3Y=";
fetchSubmodules = true;
};
nativeBuildInputs = [
build-system = [
pybind11
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
einops
numpy
matplotlib
pandas
pytorch-msssim
scipy
torch
torch-geometric
torchvision
];
@ -81,10 +90,10 @@ buildPythonPackage rec {
"test_pretrained"
];
meta = with lib; {
meta = {
description = "PyTorch library and evaluation platform for end-to-end compression research";
homepage = "https://github.com/InterDigitalInc/CompressAI";
license = licenses.bsd3Clear;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.bsd3Clear;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -43,6 +43,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# Bad integration test, not used or vetted by the langchain team
"test_chroma_update_document"
];
passthru = {
inherit (langchain-core) updateScript;
};

View File

@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "pymc-devs";
repo = "pymc";
rev = "refs/tags/v${version}";
hash = "sha256-JaMN+M416oRzErzHWlnp4GsvxXWOuZPfXW/LsZjx+fY=";
hash = "sha256-vElS6f46xVvK+p5/IvjgCI4wMZlBe3Q5ZaQUie1yLJw=";
};
postPatch = ''

View File

@ -22,7 +22,6 @@
numba,
pytest-mock,
pytestCheckHook,
pythonOlder,
tensorflow-probability,
nix-update-script,
@ -30,16 +29,14 @@
buildPythonPackage rec {
pname = "pytensor";
version = "2.25.4";
version = "2.25.6";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "pymc-devs";
repo = "pytensor";
rev = "refs/tags/rel-${version}";
hash = "sha256-NPMUfSbujT1qHsdpCazDX2xF54HvFJkOaxHSUG/FQwM=";
hash = "sha256-6emtX0tNqVqKyKXnwxvAwCyM3TRJ2MNClPNg0tVxBU8=";
};
pythonRelaxDeps = [

View File

@ -0,0 +1,179 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
flit-core,
# dependencies
aiohttp,
fsspec,
jinja2,
numpy,
psutil,
pyparsing,
requests,
torch,
tqdm,
# optional-dependencies
matplotlib,
networkx,
pandas,
protobuf,
wandb,
ipython,
matplotlib-inline,
pre-commit,
torch-geometric,
ase,
# captum,
graphviz,
h5py,
numba,
opt-einsum,
pgmpy,
pynndescent,
# pytorch-memlab,
rdflib,
rdkit,
scikit-image,
scikit-learn,
scipy,
statsmodels,
sympy,
tabulate,
torchmetrics,
trimesh,
pytorch-lightning,
yacs,
huggingface-hub,
onnx,
onnxruntime,
pytest,
pytest-cov,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "torch-geometric";
version = "2.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pyg-team";
repo = "pytorch_geometric";
rev = "refs/tags/${version}";
hash = "sha256-Zw9YqPQw2N0ZKn5i5Kl4Cjk9JDTmvZmyO/VvIVr6fTU=";
};
build-system = [
flit-core
];
dependencies = [
aiohttp
fsspec
jinja2
numpy
psutil
pyparsing
requests
torch
tqdm
];
optional-dependencies = {
benchmark = [
matplotlib
networkx
pandas
protobuf
wandb
];
dev = [
ipython
matplotlib-inline
pre-commit
torch-geometric
];
full = [
ase
# captum
graphviz
h5py
matplotlib
networkx
numba
opt-einsum
pandas
pgmpy
pynndescent
# pytorch-memlab
rdflib
rdkit
scikit-image
scikit-learn
scipy
statsmodels
sympy
tabulate
torch-geometric
torchmetrics
trimesh
];
graphgym = [
protobuf
pytorch-lightning
yacs
];
modelhub = [
huggingface-hub
];
test = [
onnx
onnxruntime
pytest
pytest-cov
];
};
pythonImportsCheck = [
"torch_geometric"
];
nativeCheckInputs = [
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTests = [
# TODO: try to re-enable when triton will have been updated to 3.0
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
# LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
"test_compile_hetero_conv_graph_breaks"
"test_compile_multi_aggr_sage_conv"
# RuntimeError: addmm: computation on CPU is not implemented for SparseCsr + SparseCsr @ SparseCsr without MKL.
# PyTorch built with MKL has better support for addmm with sparse CPU tensors.
"test_asap"
"test_graph_unet"
# AttributeError: type object 'Any' has no attribute '_name'
"test_type_repr"
];
meta = {
description = "Graph Neural Network Library for PyTorch";
homepage = "https://github.com/pyg-team/pytorch_geometric";
changelog = "https://github.com/pyg-team/pytorch_geometric/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -8,12 +8,12 @@
}@args:
callPackage ../nginx/generic.nix args rec {
version = "1.6.2";
version = "1.7.0";
pname = if withQuic then "angieQuic" else "angie";
src = fetchurl {
url = "https://download.angie.software/files/angie-${version}.tar.gz";
hash = "sha256-5+7FFnf3WHzFf9EyYMAyL6dozaqEkhWzFdrU4OcfXFk=";
hash = "sha256-B5fm4BgV/bMLvJ9wOAA4fJyLLGARManDlQmjPXPyHAE=";
};
configureFlags = lib.optionals withAcme [

View File

@ -5,14 +5,14 @@
stdenv.mkDerivation rec {
pname = "nfs-ganesha";
version = "6.0";
version = "6.1";
outputs = [ "out" "tools" ];
src = fetchFromGitHub {
owner = "nfs-ganesha";
repo = "nfs-ganesha";
rev = "V${version}";
sha256 = "sha256-tT8m4X2OgANreTljqAYcCN0HTu++boFBmzyha7XGo8Y=";
sha256 = "sha256-XQpbQ7NXVGVbm99d1ZEh1ckR5fd81xwZw8HorXHaeBk=";
};
preConfigure = "cd src";

View File

@ -49,11 +49,11 @@
stdenv.mkDerivation rec {
pname = "xwayland";
version = "24.1.2";
version = "24.1.3";
src = fetchurl {
url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
hash = "sha256-FB63bn5CKjZhwIeCxwvkCTEIR1UELARQbg2X3UY+99I=";
hash = "sha256-3NtXpmzJsSTI+TZ2BZJiisTnRKfXsxeaqGGJrX6kyxA=";
};
postPatch = ''

View File

@ -21,13 +21,13 @@
stdenv.mkDerivation rec {
pname = "fwup";
version = "1.10.2";
version = "1.11.0";
src = fetchFromGitHub {
owner = "fhunleth";
repo = "fwup";
rev = "v${version}";
sha256 = "sha256-SuagtYfLD8yXFpLHNl1J0m5/iapYU+Si6tJl0paStTY=";
sha256 = "sha256-XdWEvIM+gNQVmNPwtcka+lZwmNIWpxAIMGBjY0b9QNM=";
};
nativeBuildInputs = [

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitLab
, fetchpatch
, gobject-introspection
, intltool
, python3
@ -10,14 +9,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "onioncircuits";
version = "0.7";
version = "0.8.1";
src = fetchFromGitLab {
domain = "gitlab.tails.boum.org";
owner = "tails";
repo = "onioncircuits";
rev = version;
sha256 = "sha256-O4tSbKBTmve4u8bXVg128RLyuxvTbU224JV8tQ+aDAQ=";
sha256 = "sha256-5VGOuvngZvUFQ+bubdt4YV3/IflOhBB1i+oEQaV4kr0=";
};
nativeBuildInputs = [
@ -32,15 +31,6 @@ python3.pkgs.buildPythonApplication rec {
stem
];
patches = [
# Fix https://gitlab.tails.boum.org/tails/onioncircuits/-/merge_requests/4
(fetchpatch {
name = "fix-setuptool-package-discovery.patch";
url = "https://gitlab.tails.boum.org/tails/onioncircuits/-/commit/4c620c77f36f540fa27041fcbdeaf05c9f57826c.patch";
sha256 = "sha256-WXqyDa2meRMMHkHLO5Xl7x43KUGtlsai+eOVzUGUPpo=";
})
];
postInstall = ''
mkdir -p $out/etc/apparmor.d
@ -48,7 +38,6 @@ python3.pkgs.buildPythonApplication rec {
'';
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://tails.boum.org";
description = "GTK application to display Tor circuits and streams";
mainProgram = "onioncircuits";

View File

@ -2017,7 +2017,8 @@ with pkgs;
vrrtest = callPackage ../tools/video/vrrtest { };
winbox = callPackage ../tools/admin/winbox {
winbox = winbox3;
winbox3 = callPackage ../tools/admin/winbox {
wine = wineWowPackages.stable;
};
@ -25522,8 +25523,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
mbtileserver = callPackage ../servers/geospatial/mbtileserver { };
pg_featureserv = callPackage ../servers/geospatial/pg_featureserv { };
pg_tileserv = callPackage ../servers/geospatial/pg_tileserv { };
@ -26332,8 +26331,6 @@ with pkgs;
gotestfmt = callPackage ../development/tools/gotestfmt { };
gotools = callPackage ../development/tools/gotools { };
gotop = callPackage ../tools/system/gotop {
inherit (darwin.apple_sdk.frameworks) IOKit;
};

View File

@ -56,6 +56,10 @@ let
atdgen-runtime = callPackage ../development/ocaml-modules/atdgen/runtime.nix { };
augeas = callPackage ../development/ocaml-modules/augeas {
inherit (pkgs) augeas;
};
awa = callPackage ../development/ocaml-modules/awa { };
awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { };

View File

@ -15693,6 +15693,8 @@ self: super: with self; {
torch-audiomentations = callPackage ../development/python-modules/torch-audiomentations { };
torch-geometric = callPackage ../development/python-modules/torch-geometric { };
torch-pitch-shift = callPackage ../development/python-modules/torch-pitch-shift { };
torch-bin = callPackage ../development/python-modules/torch/bin.nix {