Merge master into staging-next
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "aliyun-cli";
|
||||
version = "3.0.284";
|
||||
version = "3.0.285";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aliyun";
|
||||
repo = "aliyun-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-NIj5lTvqHtfaORhdAFrt3KBAh1r0YTiWFe3jXYAF19E=";
|
||||
hash = "sha256-BDhIlVuFRLxre5m7gUb0PVCZSYVAgA76pYySHznEsWg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,21 +2,36 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
fuse,
|
||||
fuse3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.17.7";
|
||||
version = "1.18.1";
|
||||
pname = "bindfs";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bindfs.org/downloads/bindfs-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-wLBg6Uw6IxodSqC88mb/GJmBpO845C++IylqfYFxm3o=";
|
||||
hash = "sha256-KnBk2ZOl8lXFLXI4XvFONJwTG8RBlXZuIXNCjgbSef0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This commit fixes macfuse support but breaks fuse support
|
||||
# The condition to include `uint32_t position` in bindfs_setxattr and bindfs_getxattr
|
||||
# is wrong, leading to -Wincompatible-function-pointer-types
|
||||
# https://github.com/mpartel/bindfs/issues/169
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mpartel/bindfs/commit/3293dc98e37eed0fb0cbfcbd40434d3c37c69480.patch";
|
||||
hash = "sha256-dtjvSJTS81R+sksl7n1QiyssseMQXPlm+LJYZ8/CESQ=";
|
||||
revert = true;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.6.2";
|
||||
srcHash = "sha256-0Q8U7i1hK2CVWia3t/ayjIzjNjHurhkRGO0oLHLNMH4=";
|
||||
vendorHash = "sha256-LS2qgukhLk6nrjkp5Y00B0N/LFLzOUR/TC3qD80WZAQ=";
|
||||
manifestsHash = "sha256-KXvYURCJ1/BI61jes0Pvy6giKvVmosWOHuzGRHCcqZo=";
|
||||
version = "2.6.3";
|
||||
srcHash = "sha256-0VCeQ3duUzwyjgGIcx0DYXbaPFZXLgw199h9f0sYgCQ=";
|
||||
vendorHash = "sha256-RUEl7o1vxzzkL8UAV9E+ozz+fXF6GaxL4ci2MBbEG0o=";
|
||||
manifestsHash = "sha256-0rS7+yWHjyHmMBE5ZpIwV8wjqPhg3iw1zkX814mX2t8=";
|
||||
|
||||
manifests = fetchzip {
|
||||
url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fzf";
|
||||
version = "0.62.0";
|
||||
version = "0.63.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = "fzf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-c83aJZYcCR8yqUNp1G4Viu3P8lZGD4gIQAArXdtRkc8=";
|
||||
hash = "sha256-XfqqvWlwv8L0FiWbGSim3W6g/hn7Lh+YMKqrTAOwC+w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-WcrJfvY3GZLDuRr2PZR1ooNPJ6FQ4S3RvUc2+zePw5w=";
|
||||
vendorHash = "sha256-1wxi+wfTSSgJQLNbCdoFTz9G4XLgEX7PpzqpuVjEYL8=";
|
||||
|
||||
env.CGO_ENABLED = 0;
|
||||
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nrr";
|
||||
version = "0.10.2";
|
||||
version = "0.10.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ryanccn";
|
||||
repo = "nrr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qh4YEfdfO6WofdrFHVDvkNocloK2LuWelfZPilxiKPk=";
|
||||
hash = "sha256-RBKFDm6MpK2lDCUvbX0EFEuOASKtHM+5QknWM0A6AKE=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-f8ugfkTtS23TLh0Ss4SpxGy1Y9AeqinE+psDmHVHibg=";
|
||||
cargoHash = "sha256-DiapeSFfsmox+Utx9uW/8/veEQcnWmoaETLNyffpv64=";
|
||||
|
||||
env = lib.optionalAttrs enableLTO {
|
||||
CARGO_PROFILE_RELEASE_LTO = "fat";
|
||||
|
||||
@@ -83,7 +83,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
"bleach"
|
||||
"beautifulsoup4"
|
||||
"celery"
|
||||
"css-inline"
|
||||
"css_inline"
|
||||
"cssutils"
|
||||
"defusedxml"
|
||||
"django-compressor"
|
||||
|
||||
@@ -42,13 +42,13 @@ let
|
||||
};
|
||||
|
||||
pname = "pretix";
|
||||
version = "2025.5.0";
|
||||
version = "2025.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pretix";
|
||||
repo = "pretix";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vu+7jKXIuNZ4BN2IamdDxGJkraj93eNYUT3sUU2LCAg=";
|
||||
hash = "sha256-bDE4ygTCX7hynWjoni9ZWMGujKvPk0TKaG42SQ6w9Rk=";
|
||||
};
|
||||
|
||||
npmDeps = buildNpmPackage {
|
||||
@@ -56,7 +56,7 @@ let
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/src/pretix/static/npm_dir";
|
||||
npmDepsHash = "sha256-NSBSL6+0ancoPHbvJu4fBxK8EVj06dbltjHqJi2yh5w=";
|
||||
npmDepsHash = "sha256-LQPbOC9SaolD/fyiFoObndx7pcS7iaYVytz6y+bQZqQ=";
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -91,6 +91,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
"importlib-metadata"
|
||||
"kombu"
|
||||
"markdown"
|
||||
"oauthlib"
|
||||
"phonenumberslite"
|
||||
"pillow"
|
||||
"protobuf"
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pretix-servicefees";
|
||||
version = "1.14.0";
|
||||
version = "1.14.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pretix";
|
||||
repo = "pretix-servicefees";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-PsVItCBFJ4dRdRY2jKJ7aErYx/bhxKQtDsiJbyXsNKk=";
|
||||
hash = "sha256-iceFpmuWlq4LnZpG57d4Fwx9bXJDGwx+ox58s8oxupU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pretix-zugferd";
|
||||
version = "2.4.0";
|
||||
version = "2.4.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pretix";
|
||||
repo = "pretix-zugferd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VtmlgxqV34e3Yu9uTYwJAZoZQ/TQoEJgjHcpqUsxxq8=";
|
||||
hash = "sha256-GChHhtWYION84hmGZl92FKDvfLjlZ0QWHuTcc9ScWk8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
nix-update-script,
|
||||
pcre,
|
||||
pkg-config,
|
||||
python3Packages,
|
||||
# python3Packages.shiboken2 is currently broken
|
||||
python312Packages,
|
||||
qt5,
|
||||
stdenv,
|
||||
@@ -24,9 +24,6 @@
|
||||
}:
|
||||
|
||||
let
|
||||
pythonPackages' =
|
||||
# lib.meta.availableOn does not respect meta.broken?
|
||||
if python3Packages.shiboken2.meta.available then python3Packages else python312Packages;
|
||||
custom_swig = fetchFromGitHub {
|
||||
owner = "baldurk";
|
||||
repo = "swig";
|
||||
@@ -55,9 +52,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
libXdmcp
|
||||
libpthreadstubs
|
||||
pythonPackages'.pyside2
|
||||
pythonPackages'.pyside2-tools
|
||||
pythonPackages'.shiboken2
|
||||
python312Packages.pyside2
|
||||
python312Packages.pyside2-tools
|
||||
python312Packages.shiboken2
|
||||
qt5.qtbase
|
||||
qt5.qtsvg
|
||||
vulkan-loader
|
||||
@@ -75,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
makeWrapper
|
||||
pcre
|
||||
pkg-config
|
||||
pythonPackages'.python
|
||||
python312Packages.python
|
||||
qt5.qtx11extras
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
@@ -86,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeFeature "BUILD_VERSION_DIST_VER" finalAttrs.version)
|
||||
(lib.cmakeFeature "BUILD_VERSION_DIST_CONTACT" "https://github.com/NixOS/nixpkgs/")
|
||||
(lib.cmakeBool "BUILD_VERSION_STABLE" true)
|
||||
(lib.cmakeBool "ENABLE_WAYLAND" waylandSupport)
|
||||
(lib.cmakeBool "ENABLE_UNSUPPORTED_EXPERIMENTAL_POSSIBLY_BROKEN_WAYLAND" waylandSupport)
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
@@ -117,6 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
in
|
||||
''
|
||||
wrapQtApp $out/bin/qrenderdoc \
|
||||
--set QT_QPA_PLATFORM "wayland;xcb" \
|
||||
--suffix LD_LIBRARY_PATH : "$out/lib:${libPath}"
|
||||
wrapProgram $out/bin/renderdoccmd \
|
||||
--suffix LD_LIBRARY_PATH : "$out/lib:${libPath}"
|
||||
@@ -141,7 +139,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "renderdoccmd";
|
||||
maintainers = with lib.maintainers; [ pbsds ];
|
||||
maintainers = with lib.maintainers; [
|
||||
pbsds
|
||||
ShyAssassin
|
||||
];
|
||||
platforms = lib.intersectLists lib.platforms.linux (lib.platforms.x86_64 ++ lib.platforms.i686);
|
||||
};
|
||||
})
|
||||
|
||||
@@ -2,53 +2,57 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
SDL2,
|
||||
flac,
|
||||
libmikmod,
|
||||
libvorbis,
|
||||
timidity,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# As of 2025-06-27 this library has no dependents in nixpkgs (https://github.com/NixOS/nixpkgs/pull/420339) and is
|
||||
# considered for deletion.
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "SDL2_sound";
|
||||
version = "2.0.1";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "icculus";
|
||||
repo = "SDL_sound";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-N2znqy58tMHgYa07vEsSedWLRhoJzDoINcsUu0UYLnA=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-5t2ELm8d8IX+cIJqGl/8sffwXGj5Cm0kZI6+bmjvvPg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/icculus/SDL_sound/pull/32 - fix build on darwin
|
||||
# can be dropped on the next update
|
||||
url = "https://github.com/icculus/SDL_sound/commit/c15d75b7720113b28639baad284f45f943846294.patch";
|
||||
hash = "sha256-4GL8unsZ7eNkzjLXq9QdaxFQMzX2tdP0cBR1jTaRLc0=";
|
||||
})
|
||||
outputs = [
|
||||
"out"
|
||||
"lib"
|
||||
"dev"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [ "-DSDLSOUND_DECODER_MIDI=1" ];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
flac
|
||||
libmikmod
|
||||
libvorbis
|
||||
timidity
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "SDLSOUND_DECODER_MIDI" true)
|
||||
(lib.cmakeBool "SDLSOUND_BUILD_SHARED" (!stdenv.hostPlatform.isStatic))
|
||||
(lib.cmakeBool "SDLSOUND_BUILD_STATIC" stdenv.hostPlatform.isStatic)
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = [ SDL2 ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "SDL2 sound library";
|
||||
mainProgram = "playsound";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.zlib;
|
||||
platforms = lib.platforms.all;
|
||||
license = with lib.licenses; [
|
||||
zlib
|
||||
|
||||
# various vendored decoders
|
||||
publicDomain
|
||||
|
||||
# timidity
|
||||
artistic1
|
||||
lgpl21Only
|
||||
];
|
||||
teams = [ lib.teams.sdl ];
|
||||
homepage = "https://www.icculus.org/SDL_sound/";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "temporal";
|
||||
version = "1.27.2";
|
||||
version = "1.28.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "temporal";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3x94Cccy5CHAKb2eHdMThAC+ONQjuYZ4UyQ8YwrWvgU=";
|
||||
hash = "sha256-LH6utz2SCupF0juXVL+NFO/DQ+inQbOYSyoyTMl5a+w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-g3XASZFZPS2Zs7gvGQpy9GO5kpA9gSL4Ur3LQhKIL6Y=";
|
||||
vendorHash = "sha256-ycS7uXXNQ6NHuiL796Chc4G2TVNgovn2sXn3k1Ls87Y=";
|
||||
|
||||
excludedPackages = [ "./build" ];
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@ let
|
||||
self:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hex";
|
||||
version = "2.2.1";
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hexpm";
|
||||
repo = "hex";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-a4VNBlvW+IM7HuI66dYGqOmIF9kO6wWFqVz4vYtQOhw=";
|
||||
sha256 = "sha256-Qih10OeI7KsnAthAW0yuH+YL8uoeLy7tOVn9rdkGA4M=";
|
||||
};
|
||||
|
||||
setupHook = writeText "setupHook.sh" ''
|
||||
|
||||
+309
-435
File diff suppressed because it is too large
Load Diff
@@ -17,19 +17,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "css-inline";
|
||||
version = "0.14.6";
|
||||
version = "0.15.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Stranger6667";
|
||||
repo = "css-inline";
|
||||
rev = "python-v${version}";
|
||||
hash = "sha256-x0DxoEKXgMMIlebzL6xVedViGGra2Bx/aox0XiXi+Dc=";
|
||||
hash = "sha256-js9n+m5xDlzxMbXtN74klS0rjTCsHL3LhVAp0tx48b0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cd bindings/python
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
|
||||
# don't rebuild std
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
# call `cargo build --release` in bindings/python and copy the
|
||||
@@ -40,7 +43,7 @@ buildPythonPackage rec {
|
||||
cd bindings/python
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
hash = "sha256-4zi29ZdALummwcWxYqDDEPAjKptmLqyYUJzWMrEK4os=";
|
||||
hash = "sha256-4DVLcJrK2at1vlThey0N97IWFHd1NM2MEXXA74BYfZs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,22 +7,23 @@
|
||||
|
||||
# propagated
|
||||
django,
|
||||
hiredis,
|
||||
lz4,
|
||||
msgpack,
|
||||
pyzstd,
|
||||
redis,
|
||||
|
||||
# testing
|
||||
pkgs,
|
||||
pytest-cov-stub,
|
||||
pytest-django,
|
||||
pytest-mock,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
redisTestHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-redis";
|
||||
version = "5.4.0";
|
||||
version = "6.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@@ -31,15 +32,16 @@ buildPythonPackage rec {
|
||||
owner = "jazzband";
|
||||
repo = "django-redis";
|
||||
tag = version;
|
||||
hash = "sha256-m7z3c7My24vrSSnyfDQ/LlWhy7pV4U0L8LATMvkfczc=";
|
||||
hash = "sha256-QfiyeeDQSRp/TkOun/HAQaPbIUY9yKPoOOEhKBX9Tec=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
django
|
||||
lz4
|
||||
msgpack
|
||||
pyzstd
|
||||
redis
|
||||
];
|
||||
|
||||
@@ -51,37 +53,23 @@ buildPythonPackage rec {
|
||||
|
||||
preCheck = ''
|
||||
export DJANGO_SETTINGS_MODULE=tests.settings.sqlite
|
||||
|
||||
${pkgs.valkey}/bin/redis-server &
|
||||
REDIS_PID=$!
|
||||
'';
|
||||
|
||||
postCheck = ''
|
||||
kill $REDIS_PID
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytest-django
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
redisTestHook
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
# https://github.com/jazzband/django-redis/issues/777
|
||||
dontUsePytestXdist = true;
|
||||
|
||||
disabledTests = [
|
||||
# ModuleNotFoundError: No module named 'test_cache_options'
|
||||
"test_custom_key_function"
|
||||
# ModuleNotFoundError: No module named 'test_client'
|
||||
"test_delete_pattern_calls_delete_for_given_keys"
|
||||
"test_delete_pattern_calls_get_client_given_no_client"
|
||||
"test_delete_pattern_calls_make_pattern"
|
||||
"test_delete_pattern_calls_pipeline_delete_and_execute"
|
||||
"test_delete_pattern_calls_scan_iter"
|
||||
"test_delete_pattern_calls_scan_iter_with_count_if_itersize_given"
|
||||
# AttributeError: <asgiref.local._CVar object at 0x7ffff57ed950> object has no attribute 'default'
|
||||
"test_delete_pattern_with_settings_default_scan_count"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
Reference in New Issue
Block a user