From 25d96b4c4a367e636d3f93b2cc5cf3a0da56a05f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 15 May 2024 19:43:58 +0000 Subject: [PATCH 01/83] corrosion: 0.4.8 -> 0.5 --- pkgs/development/tools/build-managers/corrosion/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/corrosion/default.nix b/pkgs/development/tools/build-managers/corrosion/default.nix index c452e9aa4f5b..6809ee7ffd7a 100644 --- a/pkgs/development/tools/build-managers/corrosion/default.nix +++ b/pkgs/development/tools/build-managers/corrosion/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "corrosion"; - version = "0.4.8"; + version = "0.5"; src = fetchFromGitHub { owner = "corrosion-rs"; repo = "corrosion"; rev = "v${version}"; - hash = "sha256-ChoeN7qQRR1YmYYvPdJVJ2SVGTDGlM7PsN9jzFjQEyU="; + hash = "sha256-vaNXXXaGqYNmhonU+ANN857LAUgwv+PMcON+nBuUoeo="; }; buildInputs = lib.optional stdenv.isDarwin libiconv; From b0a14018d37f64f4fbd831ec6aea64a7042454e5 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Mon, 29 Apr 2024 17:09:44 +0200 Subject: [PATCH 02/83] pcsx2: migrate to by-name --- .../pc}/pcsx2/define-rev.patch | 0 .../pc/pcsx2/package.nix} | 21 +++++++++++-------- pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 12 insertions(+), 11 deletions(-) rename pkgs/{applications/emulators => by-name/pc}/pcsx2/define-rev.patch (100%) rename pkgs/{applications/emulators/pcsx2/default.nix => by-name/pc/pcsx2/package.nix} (92%) diff --git a/pkgs/applications/emulators/pcsx2/define-rev.patch b/pkgs/by-name/pc/pcsx2/define-rev.patch similarity index 100% rename from pkgs/applications/emulators/pcsx2/define-rev.patch rename to pkgs/by-name/pc/pcsx2/define-rev.patch diff --git a/pkgs/applications/emulators/pcsx2/default.nix b/pkgs/by-name/pc/pcsx2/package.nix similarity index 92% rename from pkgs/applications/emulators/pcsx2/default.nix rename to pkgs/by-name/pc/pcsx2/package.nix index cb39b5417b09..5deeed45dad6 100644 --- a/pkgs/applications/emulators/pcsx2/default.nix +++ b/pkgs/by-name/pc/pcsx2/package.nix @@ -15,17 +15,13 @@ , lz4 , makeWrapper , pkg-config -, qtbase -, qtsvg -, qttools -, qtwayland +, qt6 , SDL2 , soundtouch , strip-nondeterminism , vulkan-headers , vulkan-loader , wayland -, wrapQtAppsHook , xz , zip , zstd @@ -39,8 +35,15 @@ let rev = "e3b354f144de71d2b87471166cca8911867c1dfd"; sha256 = "sha256-H7cFyBYZumcCZ0/FFOFZoChoi0XPs4siA4dHcFt9U7k="; }; + inherit (qt6) + qtbase + qtsvg + qttools + qtwayland + wrapQtAppsHook + ; in -llvmPackages_17.stdenv.mkDerivation rec { +llvmPackages_17.stdenv.mkDerivation (finalAttrs: { pname = "pcsx2"; version = "1.7.5587"; @@ -48,7 +51,7 @@ llvmPackages_17.stdenv.mkDerivation rec { owner = "PCSX2"; repo = "pcsx2"; fetchSubmodules = true; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-PCZ1r6x28Z5FEVMXWm4oxpTknz/XEiwo0rRGhn4B33g="; }; @@ -59,7 +62,7 @@ llvmPackages_17.stdenv.mkDerivation rec { cmakeFlags = [ "-DDISABLE_ADVANCE_SIMD=ON" "-DUSE_LINKED_FFMPEG=ON" - "-DPCSX2_GIT_REV=v${version}" + "-DPCSX2_GIT_REV=v${finalAttrs.version}" ]; nativeBuildInputs = [ @@ -137,4 +140,4 @@ llvmPackages_17.stdenv.mkDerivation rec { mainProgram = "pcsx2-qt"; platforms = platforms.x86_64; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f798e32202bd..fab2e194b74c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2717,8 +2717,6 @@ with pkgs; pcem = callPackage ../applications/emulators/pcem { }; - pcsx2 = qt6Packages.callPackage ../applications/emulators/pcsx2 { }; - pcsxr = callPackage ../applications/emulators/pcsxr { }; ppsspp-sdl = let From 0bd03df628cb70a26980babab04edf2e42cbe9ad Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 20:23:02 +0900 Subject: [PATCH 03/83] python311Packages.flask-principal: refactor and remove nose --- .../flask-principal/default.nix | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/flask-principal/default.nix b/pkgs/development/python-modules/flask-principal/default.nix index dcde78d30e2d..9b54c14e9556 100644 --- a/pkgs/development/python-modules/flask-principal/default.nix +++ b/pkgs/development/python-modules/flask-principal/default.nix @@ -1,29 +1,37 @@ { lib, buildPythonPackage, - fetchPypi, - flask, + fetchFromGitHub, blinker, - nose, + flask, + pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "flask-principal"; version = "0.4.0"; - format = "setuptools"; + pyproject = true; - src = fetchPypi { - pname = "Flask-Principal"; - inherit version; - hash = "sha256-9dYTS1yuv9u4bzLVbRjuRLCAh2onJpVgqW6jX3XJlFM="; + src = fetchFromGitHub { + owner = "pallets-eco"; + repo = "flask-principal"; + rev = "refs/tags/${version}"; + hash = "sha256-E9urzZc7/QtzAohSNAJsQtykrplb+MC189VGZI5kmEE="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ flask blinker ]; - nativeCheckInputs = [ nose ]; + pythonImportsCheck = [ "flask_principal" ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pytestFlagsArray = [ "test_principal.py" ]; meta = with lib; { homepage = "http://packages.python.org/Flask-Principal/"; From 7cfd6b96e27ee4784a18431b9edff97cf9b950d9 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 20:24:06 +0900 Subject: [PATCH 04/83] python311Packages.flask-principal: fix license see https://github.com/pallets-eco/flask-principal/blob/0.4.0/LICENSE --- pkgs/development/python-modules/flask-principal/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/flask-principal/default.nix b/pkgs/development/python-modules/flask-principal/default.nix index 9b54c14e9556..5fe11b282c0d 100644 --- a/pkgs/development/python-modules/flask-principal/default.nix +++ b/pkgs/development/python-modules/flask-principal/default.nix @@ -36,7 +36,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "http://packages.python.org/Flask-Principal/"; description = "Identity management for flask"; - license = licenses.bsd2; + license = licenses.mit; maintainers = with maintainers; [ abbradar ]; }; } From 13794c0dfb2e3768da6fc529e667b81d6f3bfbfc Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 20:41:53 +0900 Subject: [PATCH 05/83] python311Packages.forbiddenfruit: refactor and remove nose --- .../python-modules/forbiddenfruit/default.nix | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/forbiddenfruit/default.nix b/pkgs/development/python-modules/forbiddenfruit/default.nix index 48f68c49cf62..c79cab382481 100644 --- a/pkgs/development/python-modules/forbiddenfruit/default.nix +++ b/pkgs/development/python-modules/forbiddenfruit/default.nix @@ -2,31 +2,38 @@ lib, buildPythonPackage, fetchFromGitHub, - nose, + pynose, + setuptools, }: buildPythonPackage rec { version = "0.1.4"; - format = "setuptools"; pname = "forbiddenfruit"; + pyproject = true; src = fetchFromGitHub { owner = "clarete"; repo = "forbiddenfruit"; rev = version; - sha256 = "16chhrxbbmg6lfbzm532fq0v00z8qihcsj0kg2b5jlgnb6qijwn8"; + hash = "sha256-yHIZsVn2UVmWeBNIzWDE6AOwAXZilPqXo+bVtXqGkJk="; }; - nativeCheckInputs = [ nose ]; + build-system = [ setuptools ]; - preBuild = '' - export FFRUIT_EXTENSION="true"; - ''; + env.FFRUIT_EXTENSION = "true"; + + pythonImportsCheck = [ "forbiddenfruit" ]; + + nativeCheckInputs = [ pynose ]; # https://github.com/clarete/forbiddenfruit/pull/47 required to switch to pytest checkPhase = '' + runHook preCheck + find ./build -name '*.so' -exec mv {} tests/unit \; nosetests + + runHook postCheck ''; meta = with lib; { From c24370a692f862e44e3cfcd21c86e7d00c3e4a02 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 4 Jun 2024 20:43:16 +0900 Subject: [PATCH 06/83] python311Packages.forbiddenfruit: fix license see https://github.com/clarete/forbiddenfruit/blob/177e4d0947334dc73137f731d199639945d29ca8/setup.py#L68-L71 --- pkgs/development/python-modules/forbiddenfruit/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/forbiddenfruit/default.nix b/pkgs/development/python-modules/forbiddenfruit/default.nix index c79cab382481..a9222152c26e 100644 --- a/pkgs/development/python-modules/forbiddenfruit/default.nix +++ b/pkgs/development/python-modules/forbiddenfruit/default.nix @@ -39,6 +39,9 @@ buildPythonPackage rec { meta = with lib; { description = "Patch python built-in objects"; homepage = "https://github.com/clarete/forbiddenfruit"; - license = licenses.mit; + license = with licenses; [ + mit + gpl3Plus + ]; }; } From 8b1530b937c6d1a82bddaa1594b31558921ab98e Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 2 Jun 2024 20:11:05 -0300 Subject: [PATCH 07/83] buildMaven: migrate to apache-maven subdirectory And expose it via passthru --- .../tools/build-managers/apache-maven}/build-maven.nix | 0 .../tools/build-managers/apache-maven/default.nix | 9 +++++++-- pkgs/top-level/all-packages.nix | 7 +++---- 3 files changed, 10 insertions(+), 6 deletions(-) rename pkgs/{build-support => development/tools/build-managers/apache-maven}/build-maven.nix (100%) diff --git a/pkgs/build-support/build-maven.nix b/pkgs/development/tools/build-managers/apache-maven/build-maven.nix similarity index 100% rename from pkgs/build-support/build-maven.nix rename to pkgs/development/tools/build-managers/apache-maven/build-maven.nix diff --git a/pkgs/development/tools/build-managers/apache-maven/default.nix b/pkgs/development/tools/build-managers/apache-maven/default.nix index c8b5fdaa04a9..388973782e53 100644 --- a/pkgs/development/tools/build-managers/apache-maven/default.nix +++ b/pkgs/development/tools/build-managers/apache-maven/default.nix @@ -35,8 +35,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - passthru.buildMavenPackage = callPackage ./build-package.nix { - maven = finalAttrs.finalPackage; + passthru = { + buildMaven = callPackage ./build-maven.nix { + maven = finalAttrs.finalPackage; + }; + buildMavenPackage = callPackage ./build-package.nix { + maven = finalAttrs.finalPackage; + }; }; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fafc9d1ef52b..94088ad427b5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -403,8 +403,6 @@ with pkgs; buildFHSEnvChroot = callPackage ../build-support/build-fhsenv-chroot { }; # Deprecated; use buildFHSEnv/buildFHSEnvBubblewrap buildFHSEnvBubblewrap = callPackage ../build-support/build-fhsenv-bubblewrap { }; - buildMaven = callPackage ../build-support/build-maven.nix { }; - c64-debugger = callPackage ../applications/emulators/c64-debugger { }; camunda-modeler = callPackage ../applications/misc/camunda-modeler { }; @@ -19058,8 +19056,9 @@ with pkgs; math-preview = callPackage ../tools/text/math-review { }; - maven = maven3; - maven3 = callPackage ../development/tools/build-managers/apache-maven { }; + maven3 = maven; + maven = callPackage ../development/tools/build-managers/apache-maven { }; + inherit (maven) buildMaven; mavproxy = python3Packages.callPackage ../applications/science/robotics/mavproxy { }; From d1402093675d1314f86cce1471cb3d2ffa22c08d Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 2 Jun 2024 20:15:40 -0300 Subject: [PATCH 08/83] maven: migrate to by-name --- .../apache-maven => by-name/ma/maven}/build-maven.nix | 0 .../apache-maven => by-name/ma/maven}/build-package.nix | 0 .../apache-maven/default.nix => by-name/ma/maven/package.nix} | 0 pkgs/top-level/all-packages.nix | 1 - 4 files changed, 1 deletion(-) rename pkgs/{development/tools/build-managers/apache-maven => by-name/ma/maven}/build-maven.nix (100%) rename pkgs/{development/tools/build-managers/apache-maven => by-name/ma/maven}/build-package.nix (100%) rename pkgs/{development/tools/build-managers/apache-maven/default.nix => by-name/ma/maven/package.nix} (100%) diff --git a/pkgs/development/tools/build-managers/apache-maven/build-maven.nix b/pkgs/by-name/ma/maven/build-maven.nix similarity index 100% rename from pkgs/development/tools/build-managers/apache-maven/build-maven.nix rename to pkgs/by-name/ma/maven/build-maven.nix diff --git a/pkgs/development/tools/build-managers/apache-maven/build-package.nix b/pkgs/by-name/ma/maven/build-package.nix similarity index 100% rename from pkgs/development/tools/build-managers/apache-maven/build-package.nix rename to pkgs/by-name/ma/maven/build-package.nix diff --git a/pkgs/development/tools/build-managers/apache-maven/default.nix b/pkgs/by-name/ma/maven/package.nix similarity index 100% rename from pkgs/development/tools/build-managers/apache-maven/default.nix rename to pkgs/by-name/ma/maven/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94088ad427b5..fbe1bc67dce8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19057,7 +19057,6 @@ with pkgs; math-preview = callPackage ../tools/text/math-review { }; maven3 = maven; - maven = callPackage ../development/tools/build-managers/apache-maven { }; inherit (maven) buildMaven; mavproxy = python3Packages.callPackage ../applications/science/robotics/mavproxy { }; From b63689ed2a2f2c7c5a5e7de568e3373e1a306d8c Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 2 Jun 2024 20:21:35 -0300 Subject: [PATCH 09/83] maven: rename build-package.nix to build-maven-package.nix --- .../ma/maven/{build-package.nix => build-maven-package.nix} | 0 pkgs/by-name/ma/maven/package.nix | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/by-name/ma/maven/{build-package.nix => build-maven-package.nix} (100%) diff --git a/pkgs/by-name/ma/maven/build-package.nix b/pkgs/by-name/ma/maven/build-maven-package.nix similarity index 100% rename from pkgs/by-name/ma/maven/build-package.nix rename to pkgs/by-name/ma/maven/build-maven-package.nix diff --git a/pkgs/by-name/ma/maven/package.nix b/pkgs/by-name/ma/maven/package.nix index 388973782e53..c32972dac1e7 100644 --- a/pkgs/by-name/ma/maven/package.nix +++ b/pkgs/by-name/ma/maven/package.nix @@ -39,7 +39,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { buildMaven = callPackage ./build-maven.nix { maven = finalAttrs.finalPackage; }; - buildMavenPackage = callPackage ./build-package.nix { + buildMavenPackage = callPackage ./build-maven-package.nix { maven = finalAttrs.finalPackage; }; }; From 0fb204103940dc4ec7d0b1e604b832883cabcc1f Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 2 Jun 2024 20:26:09 -0300 Subject: [PATCH 10/83] maven: cosmetic reword - align input set - remove jdk assertion - remove references to pname - get rid of nested with - meta.longDescription - meta.platforms --- pkgs/by-name/ma/maven/package.nix | 37 ++++++++++++++++++------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/pkgs/by-name/ma/maven/package.nix b/pkgs/by-name/ma/maven/package.nix index c32972dac1e7..7856cadcfa94 100644 --- a/pkgs/by-name/ma/maven/package.nix +++ b/pkgs/by-name/ma/maven/package.nix @@ -1,19 +1,18 @@ -{ lib -, stdenvNoCC -, fetchurl -, jdk -, makeWrapper -, callPackage +{ + lib, + callPackage, + fetchurl, + jdk, + makeWrapper, + stdenvNoCC, }: -assert jdk != null; - stdenvNoCC.mkDerivation (finalAttrs: { pname = "apache-maven"; version = "3.9.6"; src = fetchurl { - url = "mirror://apache/maven/maven-3/${finalAttrs.version}/binaries/${finalAttrs.pname}-${finalAttrs.version}-bin.tar.gz"; + url = "mirror://apache/maven/maven-3/${finalAttrs.version}/binaries/apache-maven-${finalAttrs.version}-bin.tar.gz"; hash = "sha256-bu3SyuNibWrTpcnuMkvSZYU9ZCl/B/AzQwdVvQ4MOks="; }; @@ -25,7 +24,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook preInstall mkdir -p $out/maven - cp -r ${finalAttrs.pname}-${finalAttrs.version}/* $out/maven + cp -r apache-maven-${finalAttrs.version}/* $out/maven makeWrapper $out/maven/bin/mvn $out/bin/mvn \ --set-default JAVA_HOME "${jdk}" @@ -44,12 +43,18 @@ stdenvNoCC.mkDerivation (finalAttrs: { }; }; - meta = with lib; { - mainProgram = "mvn"; - description = "Build automation tool (used primarily for Java projects)"; + meta = { homepage = "https://maven.apache.org/"; - license = licenses.asl20; - platforms = platforms.unix; - maintainers = with maintainers; [ cko ]; + description = "Build automation tool (used primarily for Java projects)"; + longDescription = '' + Apache Maven is a software project management and comprehension + tool. Based on the concept of a project object model (POM), Maven can + manage a project's build, reporting and documentation from a central piece + of information. + ''; + license = lib.licenses.asl20; + mainProgram = "mvn"; + maintainers = with lib.maintainers; [ cko ]; + inherit (jdk.meta) platforms; }; }) From f66076f374bfee4270b676157199094e2b1bdc26 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Mon, 29 Apr 2024 17:13:11 +0200 Subject: [PATCH 11/83] pcsx2: 1.7.5587 -> 1.7.5779 Diff: PCSX2/pcsx2@v1.7.5587...v1.7.5779 --- pkgs/by-name/pc/pcsx2/package.nix | 35 ++++++++++++++--------- pkgs/by-name/pc/pcsx2/shaderc-patched.nix | 20 +++++++++++++ 2 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 pkgs/by-name/pc/pcsx2/shaderc-patched.nix diff --git a/pkgs/by-name/pc/pcsx2/package.nix b/pkgs/by-name/pc/pcsx2/package.nix index 5deeed45dad6..89efacebb515 100644 --- a/pkgs/by-name/pc/pcsx2/package.nix +++ b/pkgs/by-name/pc/pcsx2/package.nix @@ -2,16 +2,17 @@ , fetchFromGitHub , lib , llvmPackages_17 +, callPackage , cubeb , curl , extra-cmake-modules +, fetchpatch , ffmpeg , libaio , libbacktrace , libpcap , libwebp , libXrandr -, libzip , lz4 , makeWrapper , pkg-config @@ -22,18 +23,18 @@ , vulkan-headers , vulkan-loader , wayland -, xz , zip , zstd }: let + shaderc-patched = callPackage ./shaderc-patched.nix { }; # The pre-zipped files in releases don't have a versioned link, we need to zip them ourselves pcsx2_patches = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2_patches"; - rev = "e3b354f144de71d2b87471166cca8911867c1dfd"; - sha256 = "sha256-H7cFyBYZumcCZ0/FFOFZoChoi0XPs4siA4dHcFt9U7k="; + rev = "b3a788e16ea12efac006cbbe1ece45b6b9b34326"; + sha256 = "sha256-Uvpz2Gpj533Sr6wLruubZxssoXefQDey8GHIDKWhW3s="; }; inherit (qt6) qtbase @@ -45,24 +46,33 @@ let in llvmPackages_17.stdenv.mkDerivation (finalAttrs: { pname = "pcsx2"; - version = "1.7.5587"; + version = "1.7.5779"; src = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2"; fetchSubmodules = true; rev = "v${finalAttrs.version}"; - sha256 = "sha256-PCZ1r6x28Z5FEVMXWm4oxpTknz/XEiwo0rRGhn4B33g="; + sha256 = "sha256-WiwnP5yoBy8bRLUPuCZ7z4nhIzrY8P29KS5ZjErM/A4="; }; patches = [ ./define-rev.patch + # Backport patches to fix random crashes on startup + (fetchpatch { + url = "https://github.com/PCSX2/pcsx2/commit/e47bcf8d80df9a93201eefbaf169ec1a0673a833.patch"; + sha256 = "sha256-7CL1Kpu+/JgtKIenn9rQKAs3A+oJ40W5XHlqSg77Q7Y="; + }) + (fetchpatch { + url = "https://github.com/PCSX2/pcsx2/commit/92b707db994f821bccc35d6eef67727ea3ab496b.patch"; + sha256 = "sha256-HWJ8KZAY/qBBotAJerZg6zi5QUHuTD51zKH1rAtZ3tc="; + }) ]; cmakeFlags = [ - "-DDISABLE_ADVANCE_SIMD=ON" - "-DUSE_LINKED_FFMPEG=ON" - "-DPCSX2_GIT_REV=v${finalAttrs.version}" + (lib.cmakeBool "DISABLE_ADVANCE_SIMD" true) + (lib.cmakeBool "USE_LINKED_FFMPEG" true) + (lib.cmakeFeature "PCSX2_GIT_REV" finalAttrs.src.rev) ]; nativeBuildInputs = [ @@ -82,17 +92,16 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: { libpcap libwebp libXrandr - libzip lz4 qtbase qtsvg qttools qtwayland SDL2 + shaderc-patched soundtouch vulkan-headers wayland - xz zstd ] ++ cubeb.passthru.backendLibs; @@ -135,9 +144,9 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: { PC, with many additional features and benefits. ''; homepage = "https://pcsx2.net"; - license = with licenses; [ gpl3 lgpl3 ]; + license = with licenses; [ gpl3Plus lgpl3Plus ]; maintainers = with maintainers; [ hrdinka govanify ]; mainProgram = "pcsx2-qt"; - platforms = platforms.x86_64; + platforms = [ "x86_64-linux" ]; }; }) diff --git a/pkgs/by-name/pc/pcsx2/shaderc-patched.nix b/pkgs/by-name/pc/pcsx2/shaderc-patched.nix new file mode 100644 index 000000000000..82f9721a87d6 --- /dev/null +++ b/pkgs/by-name/pc/pcsx2/shaderc-patched.nix @@ -0,0 +1,20 @@ +{ + fetchpatch, + pcsx2, + shaderc, +}: + +shaderc.overrideAttrs (old: { + pname = "shaderc-patched-for-pcsx2"; + patches = (old.patches or [ ]) ++ [ + (fetchpatch { + url = "file://${pcsx2.src}/.github/workflows/scripts/common/shaderc-changes.patch"; + hash = "sha256-Ps/D+CdSbjVWg3ZGOEcgbpQbCNkI5Nuizm4E5qiM9Wo="; + excludes = [ + "CHANGES" + "CMakeLists.txt" + "libshaderc/CMakeLists.txt" + ]; + }) + ]; +}) From 1a13c7e473561881223b8ac59c79d282da35d307 Mon Sep 17 00:00:00 2001 From: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com> Date: Wed, 5 Jun 2024 21:43:52 +0200 Subject: [PATCH 12/83] vscode-extensions.asvetliakov.vscode-neovim: 1.14.1 -> 1.15.2 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index a05bb510c6eb..5a8784aa4caa 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -406,8 +406,8 @@ let mktplcRef = { name = "vscode-neovim"; publisher = "asvetliakov"; - version = "1.14.1"; - hash = "sha256-taO9jxNC4mvli08Gbl8oO70T+RkfZkztoVZYWeVY4Bs="; + version = "1.15.2"; + hash = "sha256-gurh2DSLH/gM/EZCUACHGlzOf0LPwkc+zYxw7AOcb1E="; }; meta = { changelog = "https://marketplace.visualstudio.com/items/asvetliakov.vscode-neovim/changelog"; From eae1bdc34d4f544c472961cdc4da3e8eea89a76c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 8 Jun 2024 10:01:35 +0800 Subject: [PATCH 13/83] lightdm-slick-greeter: 2.0.3 -> 2.0.4 https://github.com/linuxmint/slick-greeter/compare/2.0.3...2.0.4 --- .../lightdm-slick-greeter/default.nix | 43 ++++++------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/pkgs/applications/display-managers/lightdm-slick-greeter/default.nix b/pkgs/applications/display-managers/lightdm-slick-greeter/default.nix index b7aded60260d..ded055c56e14 100644 --- a/pkgs/applications/display-managers/lightdm-slick-greeter/default.nix +++ b/pkgs/applications/display-managers/lightdm-slick-greeter/default.nix @@ -1,11 +1,11 @@ { lib , stdenv , fetchFromGitHub +, meson +, ninja , pkg-config , python3 , vala -, intltool -, autoreconfHook , wrapGAppsHook3 , cinnamon , lightdm @@ -22,20 +22,20 @@ stdenv.mkDerivation rec { pname = "lightdm-slick-greeter"; - version = "2.0.3"; + version = "2.0.4"; src = fetchFromGitHub { owner = "linuxmint"; repo = "slick-greeter"; rev = version; - sha256 = "sha256-ROOCxOjqJ8dTZjfQpjmE9oDQJzt6QFVVf3nrJ26mFU8="; + sha256 = "sha256-1UOODak5YkoMLdIkN1rBIrlr3Zjj5SS2yx90vmF1prA="; }; nativeBuildInputs = [ + meson + ninja pkg-config vala - intltool - autoreconfHook wrapGAppsHook3 python3 python3.pkgs.wrapPython @@ -58,43 +58,28 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace src/slick-greeter.vala \ - --replace "/usr/bin/numlockx" "${numlockx}/bin/numlockx" \ - --replace "/usr/share/xsessions/" "/run/current-system/sw/share/xsessions/" \ - --replace "/usr/share/wayland-sessions/" "/run/current-system/sw/share/wayland-sessions/" \ - --replace "/usr/bin/slick-greeter" "${placeholder "out"}/bin/slick-greeter" + --replace-fail "/usr/bin/numlockx" "${numlockx}/bin/numlockx" \ + --replace-fail "/usr/share/xsessions/" "/run/current-system/sw/share/xsessions/" \ + --replace-fail "/usr/share/wayland-sessions/" "/run/current-system/sw/share/wayland-sessions/" \ + --replace-fail "/usr/bin/slick-greeter" "${placeholder "out"}/bin/slick-greeter" substituteInPlace src/session-list.vala \ - --replace "/usr/share" "${placeholder "out"}/share" + --replace-fail "/usr/share" "${placeholder "out"}/share" # We prefer stable path here. substituteInPlace data/x.dm.slick-greeter.gschema.xml \ - --replace "/usr/share/onboard" "/run/current-system/sw/share/onboard" + --replace-fail "/usr/share/onboard" "/run/current-system/sw/share/onboard" patchShebangs files/usr/bin/* ''; - preAutoreconf = '' - # intltoolize fails during autoreconfPhase unless this - # directory is created manually. - mkdir m4 - ''; - - configureFlags = [ - "--localstatedir=/var" - "--sysconfdir=/etc" + mesonFlags = [ "--sbindir=${placeholder "out"}/bin" ]; - installFlags = [ - "localstatedir=\${TMPDIR}" - "sysconfdir=${placeholder "out"}/etc" - ]; - postInstall = '' substituteInPlace "$out/share/xgreeters/slick-greeter.desktop" \ - --replace "Exec=slick-greeter" "Exec=$out/bin/slick-greeter" - - cp -r files/usr/* $out + --replace-fail "Exec=slick-greeter" "Exec=$out/bin/slick-greeter" ''; preFixup = '' From 18bfd41d96b716e1e8a199c9f9c1a309f3408cce Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 02:43:46 +0000 Subject: [PATCH 14/83] scheme-bytestructures: 2.0.1 -> 2.0.2 --- .../scheme-modules/scheme-bytestructures/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/scheme-modules/scheme-bytestructures/default.nix b/pkgs/development/scheme-modules/scheme-bytestructures/default.nix index cfdb39e58616..b0ad8d4ec1b0 100644 --- a/pkgs/development/scheme-modules/scheme-bytestructures/default.nix +++ b/pkgs/development/scheme-modules/scheme-bytestructures/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "scheme-bytestructures"; - version = "2.0.1"; + version = "2.0.2"; src = fetchFromGitHub { owner = "TaylanUB"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4="; + sha256 = "sha256-7FK1dXD1Qz6fFYjNUtHMaDGaezHLVaDvdgOboNNw0Lc="; }; strictDeps = true; From c0b362cf31d05c95d38596888fc8e8b119f01ab3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 12:24:30 +0000 Subject: [PATCH 15/83] python311Packages.repl-python-wakatime: 0.0.6 -> 0.0.11 --- .../python-modules/repl-python-wakatime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/repl-python-wakatime/default.nix b/pkgs/development/python-modules/repl-python-wakatime/default.nix index 929a51dbce98..d8f3f2c2945b 100644 --- a/pkgs/development/python-modules/repl-python-wakatime/default.nix +++ b/pkgs/development/python-modules/repl-python-wakatime/default.nix @@ -11,7 +11,7 @@ let pname = "repl-python-wakatime"; - version = "0.0.6"; + version = "0.0.11"; in buildPythonPackage { @@ -21,7 +21,7 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - hash = "sha256-s2UelniMn4+wWILbVIIKidRCFaOvo/nNNofA7yf2+9c="; + hash = "sha256-HoCdeo03Lf3g5Xg0GgAyWOu2PtGqy33vg5bQrfkEPkE="; }; nativeBuildInputs = [ From 77cd3ce5b060f71236eac6e6ac65fa3749a52fd7 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Sat, 8 Jun 2024 14:56:12 +0200 Subject: [PATCH 16/83] go-symbols: migrate to buildGoModule --- pkgs/by-name/go/go-symbols/package.nix | 39 +++++++++++++++++++ pkgs/development/tools/go-symbols/default.nix | 24 ------------ pkgs/development/tools/go-symbols/deps.nix | 11 ------ pkgs/top-level/all-packages.nix | 2 - 4 files changed, 39 insertions(+), 37 deletions(-) create mode 100644 pkgs/by-name/go/go-symbols/package.nix delete mode 100644 pkgs/development/tools/go-symbols/default.nix delete mode 100644 pkgs/development/tools/go-symbols/deps.nix diff --git a/pkgs/by-name/go/go-symbols/package.nix b/pkgs/by-name/go/go-symbols/package.nix new file mode 100644 index 000000000000..caa837900524 --- /dev/null +++ b/pkgs/by-name/go/go-symbols/package.nix @@ -0,0 +1,39 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + fetchpatch, +}: + +buildGoModule rec { + pname = "go-symbols"; + version = "0.1.1"; + + vendorHash = "sha256-8unWnxTQzPY8tKBtss9qQG+ksWyheKxKRlg65F0vWWU="; + + src = fetchFromGitHub { + owner = "acroca"; + repo = "go-symbols"; + rev = "v${version}"; + sha256 = "0yyzw6clndb2r5j9isyd727njs98zzp057v314vfvknsm8g7hqrz"; + }; + + patches = [ + # Migrate to Go modules + (fetchpatch { + url = "https://github.com/acroca/go-symbols/commit/414c2283696b50fc5009055e5bc2590ce45f4400.patch"; + hash = "sha256-9lndJhyN8eaovjQlfSRGP8lC4F+pAXUoR2AvYvhSx2U="; + }) + ]; + + meta = { + description = "A utility for extracting a JSON representation of the package symbols from a go source tree"; + mainProgram = "go-symbols"; + homepage = "https://github.com/acroca/go-symbols"; + maintainers = with lib.maintainers; [ + luftmensch-luftmensch + vdemeester + ]; + license = lib.licenses.mit; + }; +} diff --git a/pkgs/development/tools/go-symbols/default.nix b/pkgs/development/tools/go-symbols/default.nix deleted file mode 100644 index c6683c067a34..000000000000 --- a/pkgs/development/tools/go-symbols/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildGoPackage, fetchFromGitHub }: - -buildGoPackage rec { - pname = "go-symbols"; - version = "0.1.1"; - - goPackagePath = "github.com/acroca/go-symbols"; - goDeps = ./deps.nix; - - src = fetchFromGitHub { - owner = "acroca"; - repo = "go-symbols"; - rev = "v${version}"; - sha256 = "0yyzw6clndb2r5j9isyd727njs98zzp057v314vfvknsm8g7hqrz"; - }; - - meta = { - description = "A utility for extracting a JSON representation of the package symbols from a go source tree"; - mainProgram = "go-symbols"; - homepage = "https://github.com/acroca/go-symbols"; - maintainers = with lib.maintainers; [ vdemeester ]; - license = lib.licenses.mit; - }; -} diff --git a/pkgs/development/tools/go-symbols/deps.nix b/pkgs/development/tools/go-symbols/deps.nix deleted file mode 100644 index 6a333b58bec6..000000000000 --- a/pkgs/development/tools/go-symbols/deps.nix +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - goPackagePath = "golang.org/x/tools"; - fetch = { - type = "git"; - url = "https://github.com/golang/tools"; - rev = "96b5a5404f303f074e6117d832a9873c439508f0"; - sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42"; - }; - } -] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67c3c0e2bf76..4ff0da6c7308 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27523,8 +27523,6 @@ with pkgs; go-protobuf = callPackage ../development/tools/go-protobuf { }; - go-symbols = callPackage ../development/tools/go-symbols { }; - go-toml = callPackage ../development/tools/go-toml { }; go-outline = callPackage ../development/tools/go-outline { }; From f5b2cdcfbc5ea13b8ace98498762cb576aa04011 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 13:22:55 +0000 Subject: [PATCH 17/83] tenv: 1.11.6 -> 2.0.3 --- pkgs/by-name/te/tenv/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/te/tenv/package.nix b/pkgs/by-name/te/tenv/package.nix index 26ac56fbb22b..d3443e856b37 100644 --- a/pkgs/by-name/te/tenv/package.nix +++ b/pkgs/by-name/te/tenv/package.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "tenv"; - version = "1.11.6"; + version = "2.0.3"; src = fetchFromGitHub { owner = "tofuutils"; repo = "tenv"; rev = "v${version}"; - hash = "sha256-k7IKzklqGP676xd6ptIfbPLqAxUwaBZUz1dZ88pJReU="; + hash = "sha256-Bx5E/vJe2SjYRJ2o3enBrzMMellRWapu99hH4HRr8nM="; }; vendorHash = "sha256-OrMCzqqOFQkI8IwcfO/JVPyd/sw+Ud0VySV7UPiucwc="; From e4e418f23d170719f2ea2601c45a67448e123c30 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 8 Jun 2024 10:48:19 -0400 Subject: [PATCH 18/83] sing-box: 1.9.1 -> 1.9.2 Diff: https://github.com/SagerNet/sing-box/compare/v1.9.1...v1.9.2 --- pkgs/tools/networking/sing-box/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index f45160d05982..303ccd5deb1a 100644 --- a/pkgs/tools/networking/sing-box/default.nix +++ b/pkgs/tools/networking/sing-box/default.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "sing-box"; - version = "1.9.1"; + version = "1.9.2"; src = fetchFromGitHub { owner = "SagerNet"; repo = pname; rev = "v${version}"; - hash = "sha256-5TSsOlQjsw9UAscWstLsX/6MyexdRHRXu4K/EFPnyvQ="; + hash = "sha256-pcmY/AU/P0ebGbcJVhp8Moj4y3B2AbyZD56Fw2ZSpt4="; }; vendorHash = "sha256-gmh+0NYOXcBsD+aamCTuOlgvYqmtfDnar2iGWRcepPE="; From 35ef9a9ac47576087a8a560b7876ea6da1f4b1e8 Mon Sep 17 00:00:00 2001 From: Wulfsta Date: Tue, 4 Jun 2024 21:09:34 -0400 Subject: [PATCH 19/83] libfive: use qt5 --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fafc9d1ef52b..a6fc5a73a304 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22193,7 +22193,8 @@ with pkgs; libfabric = callPackage ../development/libraries/libfabric { }; - libfive = qt6Packages.callPackage ../development/libraries/libfive { + libfive = libsForQt5.callPackage ../development/libraries/libfive { + stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; python = python3; }; From 9ffdbbe4a42d52b5d05781db2c957fa97c7d39e6 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 8 Jun 2024 19:48:12 +0200 Subject: [PATCH 20/83] vimPlugins.cmp-ai: init at 2024-06-02 --- pkgs/applications/editors/vim/plugins/generated.nix | 11 +++++++++++ pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ .../applications/editors/vim/plugins/vim-plugin-names | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 381ec4c98c6e..803b5b1211f1 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -17406,5 +17406,16 @@ final: prev: meta.homepage = "https://github.com/declancm/cinnamon.nvim"; }; + cmp-ai = buildVimPlugin { + pname = "cmp-ai"; + version = "2024-06-02"; + src = fetchFromGitHub { + owner = "tzachar"; + repo = "cmp-ai"; + rev = "2b787129314c5fb8bfd41a6919d4889210e6b265"; + sha256 = "sha256-ul2X6kIdreJ9dCQERw7C3l2dss7Mtcwtm7CGhAxjjvY="; + }; + meta.homepage = "https://github.com/tzachar/cmp-ai/"; + }; } diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 4b0b3391df04..dc3dcc7dc087 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -215,6 +215,10 @@ ''; }; + cmp-ai = super.cmp-ai.overrideAttrs { + dependencies = with self; [ nvim-cmp plenary-nvim ]; + }; + cmp-clippy = super.cmp-clippy.overrideAttrs { dependencies = with self; [ nvim-cmp plenary-nvim ]; }; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 5d29175278fd..2336e0441b55 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -131,6 +131,7 @@ https://github.com/laytan/cloak.nvim/,HEAD, https://github.com/asheq/close-buffers.vim/,HEAD, https://github.com/Civitasv/cmake-tools.nvim/,, https://github.com/winston0410/cmd-parser.nvim/,, +https://github.com/tzachar/cmp-ai/,HEAD, https://codeberg.org/FelipeLema/cmp-async-path/,, https://github.com/crispgm/cmp-beancount/,HEAD, https://github.com/hrsh7th/cmp-buffer/,, @@ -304,7 +305,6 @@ https://github.com/konfekt/fastfold/,, https://github.com/lilydjwg/fcitx.vim/,fcitx5, https://github.com/freddiehaddad/feline.nvim/,, https://github.com/bakpakin/fennel.vim/,, -https://github.com/lambdalisue/vim-fern,, https://github.com/wincent/ferret/,, https://github.com/j-hui/fidget.nvim/,, https://github.com/bogado/file-line/,, @@ -1096,6 +1096,7 @@ https://github.com/tpope/vim-eunuch/,, https://github.com/tommcdo/vim-exchange/,, https://github.com/terryma/vim-expand-region/,, https://github.com/int3/vim-extradite/,, +https://github.com/lambdalisue/vim-fern/,, https://github.com/wsdjeg/vim-fetch/,, https://github.com/fadein/vim-figlet/,HEAD, https://github.com/tpope/vim-fireplace/,, From 15175aae76fb16463e94c98945957267db163c1c Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Wed, 29 Nov 2023 01:03:11 +0100 Subject: [PATCH 21/83] mir: 2.15.0 -> 2.17.0 - Repo owner has changed to canonical - mircookie has been dropped, mirserver-internal and mircommon-internal added --- pkgs/servers/mir/default.nix | 67 ++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 38 deletions(-) diff --git a/pkgs/servers/mir/default.nix b/pkgs/servers/mir/default.nix index 047d76dbc74f..3dd3b2b5dfee 100644 --- a/pkgs/servers/mir/default.nix +++ b/pkgs/servers/mir/default.nix @@ -1,7 +1,6 @@ { stdenv , lib , fetchFromGitHub -, fetchpatch , gitUpdater , testers , cmake @@ -28,6 +27,7 @@ , nettle , udev , wayland +, wayland-scanner , xorg , xwayland , dbus @@ -40,25 +40,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "mir"; - version = "2.15.0"; + version = "2.17.0"; src = fetchFromGitHub { - owner = "MirServer"; + owner = "canonical"; repo = "mir"; rev = "v${finalAttrs.version}"; - hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E="; + hash = "sha256-iDJ7NIFoSSXjMrHK2I6Linf7z0hvShj8fr6BGxgK5gE="; }; - patches = [ - # Fix gbm-kms tests - # Remove when version > 2.15.0 - (fetchpatch { - name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch"; - url = "https://github.com/MirServer/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch"; - hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI="; - }) - ]; - postPatch = '' # Fix scripts that get run in tests patchShebangs tools/detect_fd_leaks.bash tests/acceptance-tests/wayland-generator/test_wayland_generator.sh.in @@ -99,6 +89,7 @@ stdenv.mkDerivation (finalAttrs: { python-dbusmock ])) validatePkgConfig + wayland-scanner ]; buildInputs = [ @@ -141,28 +132,35 @@ stdenv.mkDerivation (finalAttrs: { ]; cmakeFlags = [ - "-DBUILD_DOXYGEN=OFF" - "-DMIR_PLATFORM='gbm-kms;x11;eglstream-kms;wayland'" - "-DMIR_ENABLE_TESTS=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}" + (lib.cmakeBool "BUILD_DOXYGEN" false) + (lib.cmakeFeature "MIR_PLATFORM" (lib.strings.concatStringsSep ";" [ + "gbm-kms" + "x11" + "eglstream-kms" + "wayland" + ])) + (lib.cmakeBool "MIR_ENABLE_TESTS" finalAttrs.finalPackage.doCheck) # BadBufferTest.test_truncated_shm_file *doesn't* throw an error as the test expected, mark as such - # https://github.com/MirServer/mir/pull/1947#issuecomment-811810872 - "-DMIR_SIGBUS_HANDLER_ENVIRONMENT_BROKEN=ON" - "-DMIR_EXCLUDE_TESTS=${lib.strings.concatStringsSep ";" [ - ]}" + # https://github.com/canonical/mir/pull/1947#issuecomment-811810872 + (lib.cmakeBool "MIR_SIGBUS_HANDLER_ENVIRONMENT_BROKEN" true) + (lib.cmakeFeature "MIR_EXCLUDE_TESTS" (lib.strings.concatStringsSep ";" [ + ])) # These get built but don't get executed by default, yet they get installed when tests are enabled - "-DMIR_BUILD_PERFORMANCE_TESTS=OFF" - "-DMIR_BUILD_PLATFORM_TEST_HARNESS=OFF" - # https://github.com/MirServer/mir/issues/2987 + (lib.cmakeBool "MIR_BUILD_PERFORMANCE_TESTS" false) + (lib.cmakeBool "MIR_BUILD_PLATFORM_TEST_HARNESS" false) + # https://github.com/canonical/mir/issues/2987 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 - "-DMIR_USE_PRECOMPILED_HEADERS=OFF" + (lib.cmakeBool "MIR_USE_PRECOMPILED_HEADERS" false) + (lib.cmakeFeature "MIR_COMPILER_QUIRKS" (lib.strings.concatStringsSep ";" [ + # https://github.com/canonical/mir/issues/3017 actually affects x86_64 as well + "test_touchspot_controller.cpp:array-bounds" + ])) ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; preCheck = '' - # Needs to be exactly /tmp so some failing tests don't get run, don't know why they fail yet - # https://github.com/MirServer/mir/issues/2801 - export XDG_RUNTIME_DIR=/tmp + export XDG_RUNTIME_DIR=$TMP ''; outputs = [ "out" "dev" ]; @@ -172,33 +170,26 @@ stdenv.mkDerivation (finalAttrs: { updateScript = gitUpdater { rev-prefix = "v"; }; - # More of an example than a fully functioning shell, some notes for the adventurous: - # - ~/.config/miral-shell.config is one possible user config location, - # accepted options=value are according to `mir-shell --help` - # - default icon theme setting is DMZ-White, needs vanilla-dmz installed & on XCURSOR_PATH - # or setting to be changed to an available theme - # - terminal emulator setting may need to be changed if miral-terminal script - # does not know about preferred terminal - providedSessions = [ "mir-shell" ]; }; meta = with lib; { description = "A display server and Wayland compositor developed by Canonical"; homepage = "https://mir-server.io"; - changelog = "https://github.com/MirServer/mir/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/canonical/mir/releases/tag/v${finalAttrs.version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ onny OPNA2608 ]; platforms = platforms.linux; pkgConfigModules = [ "miral" "mircommon" - "mircookie" + "mircommon-internal" "mircore" "miroil" "mirplatform" "mir-renderer-gl-dev" "mirrenderer" "mirserver" + "mirserver-internal" "mirtest" "mirwayland" ]; From 5a6c959fa8460789106245e176f14e00dc207f36 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sat, 8 Jun 2024 20:37:09 +0200 Subject: [PATCH 22/83] mir: Format with nixfmt-rfc-style, modernise substituteInPlace --replace is deprecated --- pkgs/servers/mir/default.nix | 150 ++++++++++++++++++----------------- 1 file changed, 79 insertions(+), 71 deletions(-) diff --git a/pkgs/servers/mir/default.nix b/pkgs/servers/mir/default.nix index 3dd3b2b5dfee..743bf92b7609 100644 --- a/pkgs/servers/mir/default.nix +++ b/pkgs/servers/mir/default.nix @@ -1,41 +1,42 @@ -{ stdenv -, lib -, fetchFromGitHub -, gitUpdater -, testers -, cmake -, pkg-config -, python3 -, boost -, egl-wayland -, freetype -, glib -, glm -, glog -, libdrm -, libepoxy -, libevdev -, libglvnd -, libinput -, libuuid -, libxcb -, libxkbcommon -, libxmlxx -, yaml-cpp -, lttng-ust -, mesa -, nettle -, udev -, wayland -, wayland-scanner -, xorg -, xwayland -, dbus -, gobject-introspection -, gtest -, umockdev -, wlcs -, validatePkgConfig +{ + stdenv, + lib, + fetchFromGitHub, + gitUpdater, + testers, + cmake, + pkg-config, + python3, + boost, + egl-wayland, + freetype, + glib, + glm, + glog, + libdrm, + libepoxy, + libevdev, + libglvnd, + libinput, + libuuid, + libxcb, + libxkbcommon, + libxmlxx, + yaml-cpp, + lttng-ust, + mesa, + nettle, + udev, + wayland, + wayland-scanner, + xorg, + xwayland, + dbus, + gobject-introspection, + gtest, + umockdev, + wlcs, + validatePkgConfig, }: stdenv.mkDerivation (finalAttrs: { @@ -54,25 +55,22 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs tools/detect_fd_leaks.bash tests/acceptance-tests/wayland-generator/test_wayland_generator.sh.in # Fix LD_PRELOADing in tests - for needsPreloadFixing in \ + substituteInPlace \ cmake/MirCommon.cmake \ tests/umock-acceptance-tests/CMakeLists.txt \ tests/unit-tests/platforms/gbm-kms/kms/CMakeLists.txt \ - tests/unit-tests/CMakeLists.txt - do - substituteInPlace $needsPreloadFixing \ - --replace 'LD_PRELOAD=liblttng-ust-fork.so' 'LD_PRELOAD=${lib.getLib lttng-ust}/lib/liblttng-ust-fork.so' \ - --replace 'LD_PRELOAD=libumockdev-preload.so.0' 'LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0' - done + tests/unit-tests/CMakeLists.txt \ + --replace-warn 'LD_PRELOAD=liblttng-ust-fork.so' 'LD_PRELOAD=${lib.getLib lttng-ust}/lib/liblttng-ust-fork.so' \ + --replace-warn 'LD_PRELOAD=libumockdev-preload.so.0' 'LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0' # Fix Xwayland default substituteInPlace src/miral/x11_support.cpp \ - --replace '/usr/bin/Xwayland' '${lib.getExe xwayland}' + --replace-fail '/usr/bin/Xwayland' '${lib.getExe xwayland}' # Fix paths for generating drm-formats substituteInPlace src/platform/graphics/CMakeLists.txt \ - --replace "/usr/include/drm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" \ - --replace "/usr/include/libdrm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" + --replace-fail "/usr/include/drm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" \ + --replace-fail "/usr/include/libdrm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" ''; strictDeps = true; @@ -82,12 +80,15 @@ stdenv.mkDerivation (finalAttrs: { glib # gdbus-codegen lttng-ust # lttng-gen-tp pkg-config - (python3.withPackages (ps: with ps; [ - pillow - ] ++ lib.optionals finalAttrs.finalPackage.doCheck [ - pygobject3 - python-dbusmock - ])) + (python3.withPackages ( + ps: + with ps; + [ pillow ] + ++ lib.optionals finalAttrs.finalPackage.doCheck [ + pygobject3 + python-dbusmock + ] + )) validatePkgConfig wayland-scanner ]; @@ -133,28 +134,31 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_DOXYGEN" false) - (lib.cmakeFeature "MIR_PLATFORM" (lib.strings.concatStringsSep ";" [ - "gbm-kms" - "x11" - "eglstream-kms" - "wayland" - ])) + (lib.cmakeFeature "MIR_PLATFORM" ( + lib.strings.concatStringsSep ";" [ + "gbm-kms" + "x11" + "eglstream-kms" + "wayland" + ] + )) (lib.cmakeBool "MIR_ENABLE_TESTS" finalAttrs.finalPackage.doCheck) # BadBufferTest.test_truncated_shm_file *doesn't* throw an error as the test expected, mark as such # https://github.com/canonical/mir/pull/1947#issuecomment-811810872 (lib.cmakeBool "MIR_SIGBUS_HANDLER_ENVIRONMENT_BROKEN" true) - (lib.cmakeFeature "MIR_EXCLUDE_TESTS" (lib.strings.concatStringsSep ";" [ - ])) + (lib.cmakeFeature "MIR_EXCLUDE_TESTS" (lib.strings.concatStringsSep ";" [ ])) # These get built but don't get executed by default, yet they get installed when tests are enabled (lib.cmakeBool "MIR_BUILD_PERFORMANCE_TESTS" false) (lib.cmakeBool "MIR_BUILD_PLATFORM_TEST_HARNESS" false) # https://github.com/canonical/mir/issues/2987 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 (lib.cmakeBool "MIR_USE_PRECOMPILED_HEADERS" false) - (lib.cmakeFeature "MIR_COMPILER_QUIRKS" (lib.strings.concatStringsSep ";" [ - # https://github.com/canonical/mir/issues/3017 actually affects x86_64 as well - "test_touchspot_controller.cpp:array-bounds" - ])) + (lib.cmakeFeature "MIR_COMPILER_QUIRKS" ( + lib.strings.concatStringsSep ";" [ + # https://github.com/canonical/mir/issues/3017 actually affects x86_64 as well + "test_touchspot_controller.cpp:array-bounds" + ] + )) ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; @@ -163,13 +167,14 @@ stdenv.mkDerivation (finalAttrs: { export XDG_RUNTIME_DIR=$TMP ''; - outputs = [ "out" "dev" ]; + outputs = [ + "out" + "dev" + ]; passthru = { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; - updateScript = gitUpdater { - rev-prefix = "v"; - }; + updateScript = gitUpdater { rev-prefix = "v"; }; }; meta = with lib; { @@ -177,7 +182,10 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://mir-server.io"; changelog = "https://github.com/canonical/mir/releases/tag/v${finalAttrs.version}"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ onny OPNA2608 ]; + maintainers = with maintainers; [ + onny + OPNA2608 + ]; platforms = platforms.linux; pkgConfigModules = [ "miral" From 8fc5e3d63da4caca58373e89daa04502ebaae4b0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Jun 2024 02:55:06 +0000 Subject: [PATCH 23/83] stanc: 2.34.0 -> 2.35.0 --- pkgs/by-name/st/stanc/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/st/stanc/package.nix b/pkgs/by-name/st/stanc/package.nix index e5e6f79eb8cd..93f8c383f6e7 100644 --- a/pkgs/by-name/st/stanc/package.nix +++ b/pkgs/by-name/st/stanc/package.nix @@ -6,7 +6,7 @@ ocamlPackages.buildDunePackage rec { pname = "stanc"; - version = "2.34.0"; + version = "2.35.0"; minimalOCamlVersion = "4.12"; duneVersion = "3"; @@ -15,7 +15,7 @@ ocamlPackages.buildDunePackage rec { owner = "stan-dev"; repo = "stanc3"; rev = "v${version}"; - hash = "sha256-ixZCix3oLZhzs08JbmbNCO0lhAu1Jf+KnpHNKlU/FaA="; + hash = "sha256-QN/yY4tn0U5yOE0FKkOvvEFXDaj5GDBdeqI2UqjVN2c="; }; nativeBuildInputs = with ocamlPackages; [ menhir ]; From 73aa0c5469c221830da543c3cc211731271abd38 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Jun 2024 02:32:45 +0000 Subject: [PATCH 24/83] cmdstan: 2.34.1 -> 2.35.0 --- pkgs/development/compilers/cmdstan/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix index 817234f79991..a6b6833289b7 100644 --- a/pkgs/development/compilers/cmdstan/default.nix +++ b/pkgs/development/compilers/cmdstan/default.nix @@ -11,14 +11,14 @@ stdenv.mkDerivation rec { pname = "cmdstan"; - version = "2.34.1"; + version = "2.35.0"; src = fetchFromGitHub { owner = "stan-dev"; repo = pname; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-gze8kd5zSs9nUlSY7AJwpx+jnc9Y21ahzDJmynlqm1Y="; + hash = "sha256-bmzkXbR4KSnpfXjs2MAx8mbNSbNrIWDP/O8S+JGWrcg="; }; postPatch = '' From 933e1513bd5bc0b8dc7efb67cca5e6d66dae640d Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 5 Jun 2024 14:57:12 +0200 Subject: [PATCH 25/83] python311Packages.cmdstanpy: 1.2.1 -> 1.2.3 --- .../python-modules/cmdstanpy/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cmdstanpy/default.nix b/pkgs/development/python-modules/cmdstanpy/default.nix index dfa19b74fb62..a2f468f54520 100644 --- a/pkgs/development/python-modules/cmdstanpy/default.nix +++ b/pkgs/development/python-modules/cmdstanpy/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, substituteAll, cmdstan, pythonRelaxDepsHook, @@ -17,14 +18,14 @@ buildPythonPackage rec { pname = "cmdstanpy"; - version = "1.2.1"; + version = "1.2.3"; pyproject = true; src = fetchFromGitHub { owner = "stan-dev"; repo = "cmdstanpy"; rev = "refs/tags/v${version}"; - hash = "sha256-q+AFhWEzjYElJpiHT4h6YfZrwZJ56pv+8R+001vREyQ="; + hash = "sha256-PV7W1H4QYIOx1EHrGljrGUhCH1Y8ZPd9gEtCocc7x64="; }; patches = [ @@ -32,6 +33,11 @@ buildPythonPackage rec { src = ./use-nix-cmdstan-path.patch; cmdstan = "${cmdstan}/opt/cmdstan"; }) + # Fix seed-dependent tests + (fetchpatch { + url = "https://github.com/stan-dev/cmdstanpy/commit/c72acd0b8123c02b47d5d583bdd7d8408b04562c.patch"; + hash = "sha256-cliyDDko4spYa62DMwWBavy5pePkofJo4Kf8I0RzueM="; + }) ]; postPatch = '' @@ -75,6 +81,9 @@ buildPythonPackage rec { # These tests use the flag -DSTAN_THREADS which doesn't work in cmdstan (missing file) "test_multi_proc_threads" "test_compile_force" + # These tests require a writeable cmdstan source directory + "test_pathfinder_threads" + "test_save_profile" ] ++ lib.optionals stdenv.isDarwin [ "test_init_types" # CmdStan error: error during processing Operation not permitted From 9cb732179e234045c7b8906fd0b046943cbb039c Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 9 Nov 2023 21:50:19 -0500 Subject: [PATCH 26/83] hadolint-sarif: init at 0.4.2 --- pkgs/by-name/ha/hadolint-sarif/package.nix | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/ha/hadolint-sarif/package.nix diff --git a/pkgs/by-name/ha/hadolint-sarif/package.nix b/pkgs/by-name/ha/hadolint-sarif/package.nix new file mode 100644 index 000000000000..bf8f43429633 --- /dev/null +++ b/pkgs/by-name/ha/hadolint-sarif/package.nix @@ -0,0 +1,37 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + hadolint-sarif, + testers, +}: +rustPlatform.buildRustPackage rec { + pname = "hadolint-sarif"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "psastras"; + repo = "sarif-rs"; + rev = "hadolint-sarif-v${version}"; + hash = "sha256-EzWzDeIeSJ11CVcVyAhMjYQJcKHnieRrFkULc5eXAno="; + }; + + cargoHash = "sha256-AMRL1XANyze8bJe3fdgZvBnl/NyuWP13jixixqiPmiw="; + cargoBuildFlags = [ + "--package" + "hadolint-sarif" + ]; + cargoTestFlags = cargoBuildFlags; + + passthru = { + tests.version = testers.testVersion { package = hadolint-sarif; }; + }; + + meta = { + description = "A CLI tool to convert hadolint diagnostics into SARIF"; + homepage = "https://psastras.github.io/sarif-rs"; + mainProgram = "hadolint-sarif"; + maintainers = with lib.maintainers; [ getchoo ]; + license = lib.licenses.mit; + }; +} From fbb2d4dea97dd36905beabe0f37196f152dbdbe8 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 9 Nov 2023 21:34:11 -0500 Subject: [PATCH 27/83] clang-tidy-sarif: init at 0.4.2 --- pkgs/by-name/cl/clang-tidy-sarif/package.nix | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/cl/clang-tidy-sarif/package.nix diff --git a/pkgs/by-name/cl/clang-tidy-sarif/package.nix b/pkgs/by-name/cl/clang-tidy-sarif/package.nix new file mode 100644 index 000000000000..64b8da01af3f --- /dev/null +++ b/pkgs/by-name/cl/clang-tidy-sarif/package.nix @@ -0,0 +1,37 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + clang-tidy-sarif, + testers, +}: +rustPlatform.buildRustPackage rec { + pname = "clang-tidy-sarif"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "psastras"; + repo = "sarif-rs"; + rev = "clang-tidy-sarif-v${version}"; + hash = "sha256-EzWzDeIeSJ11CVcVyAhMjYQJcKHnieRrFkULc5eXAno="; + }; + + cargoHash = "sha256-NzdgfHRDgLB6sMhBflk9rACEocLP23KlZL22iAfBfh8="; + cargoBuildFlags = [ + "--package" + "clang-tidy-sarif" + ]; + cargoTestFlags = cargoBuildFlags; + + passthru = { + tests.version = testers.testVersion { package = clang-tidy-sarif; }; + }; + + meta = { + description = "A CLI tool to convert clang-tidy diagnostics into SARIF"; + mainProgram = "clang-tidy-sarif"; + homepage = "https://psastras.github.io/sarif-rs"; + maintainers = with lib.maintainers; [ getchoo ]; + license = lib.licenses.mit; + }; +} From 41e0af6ff40eab16c11391e4cf5093179a26e48c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 21:52:21 +0000 Subject: [PATCH 28/83] neocmakelsp: 0.6.27 -> 0.7.3 --- .../tools/language-servers/neocmakelsp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/language-servers/neocmakelsp/default.nix b/pkgs/development/tools/language-servers/neocmakelsp/default.nix index 9d911ef43fa3..c91e94877189 100644 --- a/pkgs/development/tools/language-servers/neocmakelsp/default.nix +++ b/pkgs/development/tools/language-servers/neocmakelsp/default.nix @@ -5,16 +5,16 @@ rustPlatform.buildRustPackage rec { pname = "neocmakelsp"; - version = "0.6.27"; + version = "0.7.3"; src = fetchFromGitHub { owner = "Decodetalkers"; repo = "neocmakelsp"; rev = "v${version}"; - hash = "sha256-In+Z/MCjgV/iPkAh4mTfrlThKZEMQqMYyfOP0m11+ps="; + hash = "sha256-rMonXAggCsMWvyNmGu+crtw0a4zfhKJOR5GnIULWe1g="; }; - cargoHash = "sha256-fLtbaL0h3tmX5INwYn7fPj+TAxfBQarD44twq0ggXRU="; + cargoHash = "sha256-09mpr7ncqK9c5AMhRSAe/K9pE3vXC3bxEXX3hIx3E7c="; meta = with lib; { description = "A cmake lsp based on tower-lsp and treesitter"; From a02e3252b3399c31cac3cfba4b05ba2e0a38135a Mon Sep 17 00:00:00 2001 From: fin444 Date: Sat, 8 Jun 2024 18:04:23 -0400 Subject: [PATCH 29/83] klaus: 2.0.3 -> 3.0.0 https://github.com/jonashaag/klaus/blob/master/CHANGELOG.rst#300-may-23-2024 https://github.com/jonashaag/klaus/compare/2.0.3...3.0.0 --- pkgs/development/python-modules/klaus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/klaus/default.nix b/pkgs/development/python-modules/klaus/default.nix index 71b0a485f10a..0ff646b59e2b 100644 --- a/pkgs/development/python-modules/klaus/default.nix +++ b/pkgs/development/python-modules/klaus/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "klaus"; - version = "2.0.3"; + version = "3.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "jonashaag"; repo = pname; rev = version; - hash = "sha256-VAwIdmwdo/Rim2sVlR605Wo5/zkNOMiGkh40qLrENmU="; + hash = "sha256-BcLlvZ9Ip3laL0cLkqK+mhB+S7ubB4TuZ0VKXOOX3oA="; }; prePatch = '' From 5f43f4f78abbcc0e928b361e10a783b9f53ad3df Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 22:15:22 +0000 Subject: [PATCH 30/83] croc: 10.0.7 -> 10.0.8 --- pkgs/tools/networking/croc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/croc/default.nix b/pkgs/tools/networking/croc/default.nix index bcb329c8eff8..ba5724d08064 100644 --- a/pkgs/tools/networking/croc/default.nix +++ b/pkgs/tools/networking/croc/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "croc"; - version = "10.0.7"; + version = "10.0.8"; src = fetchFromGitHub { owner = "schollz"; repo = pname; rev = "v${version}"; - hash = "sha256-8sC3v59ODNdR3W3spAJi5ZgcQirFVvC3RsfJz9QjRBg="; + hash = "sha256-kfvAJT//ZjhjNhKNbaRGjiXO8fsaZZCVZ03BUdD6V6c="; }; - vendorHash = "sha256-o/8TFAiee7ANSOFxTCFY9fDS4WOOO4IKQfjiMCXUf8w="; + vendorHash = "sha256-URaU6gy+DOChdbuvUTIWY3cUQTVogD5gUH3p17xmXzE="; subPackages = [ "." ]; From 337351501d02d6b3a1a91f3d2eaef60e4d0417f3 Mon Sep 17 00:00:00 2001 From: RoyDubnium <72664566+RoyDubnium@users.noreply.github.com> Date: Sat, 8 Jun 2024 23:16:31 +0100 Subject: [PATCH 31/83] maintainers: add RoyDubnium --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cdda0527b2b3..f8076c718c21 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17865,6 +17865,11 @@ githubId = 7439756; name = "Rowan Goemans"; }; + roydubnium = { + github = "RoyDubnium"; + githubId = 72664566; + name = "Roy Davison"; + }; royneary = { email = "christian@ulrich.earth"; github = "royneary"; From d31cbbee832ba1269123aeaab81acf521a7117ea Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 22:27:26 +0000 Subject: [PATCH 32/83] clickhouse-backup: 2.5.11 -> 2.5.12 --- pkgs/development/tools/database/clickhouse-backup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/clickhouse-backup/default.nix b/pkgs/development/tools/database/clickhouse-backup/default.nix index 0fecd23a708b..e3aba018735c 100644 --- a/pkgs/development/tools/database/clickhouse-backup/default.nix +++ b/pkgs/development/tools/database/clickhouse-backup/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "clickhouse-backup"; - version = "2.5.11"; + version = "2.5.12"; src = fetchFromGitHub { owner = "Altinity"; repo = "clickhouse-backup"; rev = "v${version}"; - hash = "sha256-MqtlrAn4FRjZEocGRLRbbTJePvWPZbhE+7MaFZQgyeY="; + hash = "sha256-qLBx1QhIefZbENEtJiVHoAMsxM9SqiCnPQpotIAJy5Y="; }; vendorHash = "sha256-vwcItklYe6ljFdGTxef19plaI5OMoOtQohY0xZLBUos="; From 70ccc541654d8d6c364732cfbb6caedf99bc7ca0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 00:01:16 +0000 Subject: [PATCH 33/83] python311Packages.nbdev: 2.3.23 -> 2.3.25 --- pkgs/development/python-modules/nbdev/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbdev/default.nix b/pkgs/development/python-modules/nbdev/default.nix index cd97c4b5380e..e46087b9e524 100644 --- a/pkgs/development/python-modules/nbdev/default.nix +++ b/pkgs/development/python-modules/nbdev/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "nbdev"; - version = "2.3.23"; + version = "2.3.25"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-+HbGHyJ2TX6qnBBPNivFVklrf+Ma2QM3u/2a67NxfIs="; + hash = "sha256-MntVdZ6LazdFCm+h5FaTxvzEwCtoJjrW/EJPTt2fdnU="; }; nativeBuildInputs = [ pythonRelaxDepsHook ]; From 3f9551fe7db81d09e25bc3c904eec2882173d8e6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 00:49:49 +0000 Subject: [PATCH 34/83] hexxy: 0-unstable-2024-02-24 -> 0-unstable-2024-02-23 --- pkgs/by-name/he/hexxy/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/he/hexxy/package.nix b/pkgs/by-name/he/hexxy/package.nix index 18baa6d484f0..ceed202985ed 100644 --- a/pkgs/by-name/he/hexxy/package.nix +++ b/pkgs/by-name/he/hexxy/package.nix @@ -6,7 +6,7 @@ }: buildGoModule { pname = "hexxy"; - version = "0-unstable-2024-02-24"; + version = "0-unstable-2024-02-23"; src = fetchFromGitHub { owner = "sweetbbak"; repo = "hexxy"; From ffe2580cfa5c63d224316b884056d76722906812 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 02:50:51 +0000 Subject: [PATCH 35/83] git-toolbelt: 1.9.1 -> 1.9.2 --- pkgs/by-name/gi/git-toolbelt/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/git-toolbelt/package.nix b/pkgs/by-name/gi/git-toolbelt/package.nix index c4a33f7f3791..df67de9946a2 100644 --- a/pkgs/by-name/gi/git-toolbelt/package.nix +++ b/pkgs/by-name/gi/git-toolbelt/package.nix @@ -9,13 +9,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "git-toolbelt"; - version = "1.9.1"; + version = "1.9.2"; src = fetchFromGitHub { owner = "nvie"; repo = "git-toolbelt"; rev = "v${finalAttrs.version}"; - hash = "sha256-lrVMSItA0Eo7DgB+QjOLPPxwMLaC9+6FNPrhw6pkpKA="; + hash = "sha256-0abO3AYpN6TKYFtrK9lP5k57qWI7ByumaO/5dgKDqQc="; }; nativeBuildInputs = [ makeWrapper ]; From 4279683dcddbb38f35ae22e85afbc39c0b773ed3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 02:51:43 +0000 Subject: [PATCH 36/83] faas-cli: 0.16.27 -> 0.16.29 --- pkgs/development/tools/faas-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/faas-cli/default.nix b/pkgs/development/tools/faas-cli/default.nix index da0151b8486e..a5b0747e07cc 100644 --- a/pkgs/development/tools/faas-cli/default.nix +++ b/pkgs/development/tools/faas-cli/default.nix @@ -18,13 +18,13 @@ let in buildGoModule rec { pname = "faas-cli"; - version = "0.16.27"; + version = "0.16.29"; src = fetchFromGitHub { owner = "openfaas"; repo = "faas-cli"; rev = version; - sha256 = "sha256-CZvIvvkDfpb4YPQIe5i8vZcmhLu7x0zTQGXCL8SxcvM="; + sha256 = "sha256-TKrn4ouRcQS1FpySpQCdK7EMjlE+qwa3e/Ze+TAdA7s="; }; vendorHash = null; From 11c02679cdc328ba6bf584555dcef5e8ae1203de Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 02:52:32 +0000 Subject: [PATCH 37/83] freedv: 1.9.9.1 -> 1.9.9.2 --- pkgs/applications/radio/freedv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/freedv/default.nix b/pkgs/applications/radio/freedv/default.nix index 8c108af5f82e..27da63dd4022 100644 --- a/pkgs/applications/radio/freedv/default.nix +++ b/pkgs/applications/radio/freedv/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { pname = "freedv"; - version = "1.9.9.1"; + version = "1.9.9.2"; src = fetchFromGitHub { owner = "drowe67"; repo = "freedv-gui"; rev = "v${version}"; - hash = "sha256-i0SVu3txC+JUp0P6cFlmn/66lOmii7JMGIvc43nZoOE="; + hash = "sha256-oFuAH81mduiSQGIDgDDy1IPskqqCBmfWbpqQstUIw9g="; }; postPatch = lib.optionalString stdenv.isDarwin '' From 8426035ba3955f096428485d635166ffe85d5dd7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 02:57:44 +0000 Subject: [PATCH 38/83] okolors: 0.5.1 -> 0.7.0 --- pkgs/by-name/ok/okolors/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ok/okolors/package.nix b/pkgs/by-name/ok/okolors/package.nix index b6fd0750f7f2..f3b35e2bc160 100644 --- a/pkgs/by-name/ok/okolors/package.nix +++ b/pkgs/by-name/ok/okolors/package.nix @@ -5,16 +5,16 @@ rustPlatform.buildRustPackage rec { pname = "okolors"; - version = "0.5.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = "Ivordir"; repo = "Okolors"; rev = "v${version}"; - sha256 = "sha256-Cwe6kyhsCU3wbuD0PTnj1JQOnMjH+sLmG5AiJImRGSU="; + sha256 = "sha256-xroiiDTm3B2sVC1sO7oe3deqh+j3URmiy/ctwqrvvkI="; }; - cargoSha256 = "sha256-RVUrgz/YddT41N1omoPCW3Cjz7IWjc8sB7OwkCUDjM8="; + cargoHash = "sha256-Ru7VZM+vLGkYeLqWilQvpWUnbNZqkJHn1D/Vo/KUmRk="; meta = with lib; { description = "Generate a color palette from an image using k-means clustering in the Oklab color space"; From c34e92bbed42f0295bf79af63adc8bacb8673e70 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 03:13:32 +0000 Subject: [PATCH 39/83] pyenv: 2.4.1 -> 2.4.2 --- pkgs/development/tools/pyenv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pyenv/default.nix b/pkgs/development/tools/pyenv/default.nix index e93cb4cae934..007cf3b1dd6a 100644 --- a/pkgs/development/tools/pyenv/default.nix +++ b/pkgs/development/tools/pyenv/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "pyenv"; - version = "2.4.1"; + version = "2.4.2"; src = fetchFromGitHub { owner = "pyenv"; repo = "pyenv"; rev = "refs/tags/v${version}"; - hash = "sha256-dzL0wFAm+wUEWX6a8cgZstgdi9NMmyeDIUI5pPjJpZI="; + hash = "sha256-hPbXKUg7jl4Dd4m29yaEJVX+jl8c/1oODEcRGTao58w="; }; nativeBuildInputs = [ From c0249a278c7fdc98758410a22541b3c3b5a0d336 Mon Sep 17 00:00:00 2001 From: Alexandre Rosenfeld <44174+arsfeld@users.noreply.github.com> Date: Sat, 8 Jun 2024 23:22:48 -0400 Subject: [PATCH 40/83] multiviewer-for-f1: 1.31.3 -> 1.32.1 --- pkgs/applications/video/multiviewer-for-f1/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/multiviewer-for-f1/default.nix b/pkgs/applications/video/multiviewer-for-f1/default.nix index 46e425992c15..1274009ba707 100644 --- a/pkgs/applications/video/multiviewer-for-f1/default.nix +++ b/pkgs/applications/video/multiviewer-for-f1/default.nix @@ -23,15 +23,15 @@ , xorg }: let - id = "154421934"; + id = "168727396"; in stdenvNoCC.mkDerivation rec { pname = "multiviewer-for-f1"; - version = "1.31.3"; + version = "1.32.1"; src = fetchurl { url = "https://releases.multiviewer.dev/download/${id}/multiviewer-for-f1_${version}_amd64.deb"; - sha256 = "sha256-lFES+ukkI/GqKQdZwtaB+ov0hqAyFZ2N533LBKJ9oXg="; + sha256 = "sha256-cnfye5c3+ZYZLjlZ6F4OD90tXhxDbgbNBn98mgmZ+Hs="; }; nativeBuildInputs = [ From f1a30ef283ccb19cce74581afdd55ee9c269f078 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 03:42:02 +0000 Subject: [PATCH 41/83] python311Packages.edk2-pytool-library: 0.21.6 -> 0.21.7 --- .../python-modules/edk2-pytool-library/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/edk2-pytool-library/default.nix b/pkgs/development/python-modules/edk2-pytool-library/default.nix index fc6c06f85d8e..1be006d1c05b 100644 --- a/pkgs/development/python-modules/edk2-pytool-library/default.nix +++ b/pkgs/development/python-modules/edk2-pytool-library/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "edk2-pytool-library"; - version = "0.21.6"; + version = "0.21.7"; pyproject = true; disabled = pythonOlder "3.10"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "tianocore"; repo = "edk2-pytool-library"; rev = "refs/tags/v${version}"; - hash = "sha256-vVgqx6qccGNdgt/VkHEfMeiICkLDm8o7iqjNx0UlD38="; + hash = "sha256-BWA0Irf6OpUGX/NkHMuxQ45QUr3PRdWLSEs9Bavk8RM="; }; build-system = [ From 2f3c5fad66fbab80fa9c2430287ee105344568c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 04:10:40 +0000 Subject: [PATCH 42/83] scriptisto: 2.1.1 -> 2.2.0 --- pkgs/development/tools/misc/scriptisto/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/scriptisto/default.nix b/pkgs/development/tools/misc/scriptisto/default.nix index f3a3ba18240b..38aeab74521d 100644 --- a/pkgs/development/tools/misc/scriptisto/default.nix +++ b/pkgs/development/tools/misc/scriptisto/default.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "scriptisto"; - version = "2.1.1"; + version = "2.2.0"; src = fetchFromGitHub { owner = "igor-petruk"; repo = "scriptisto"; rev = "v${version}"; - hash = "sha256-WQSgN1iX26tPPaJXLtU5Eo8kFahT6g+gZKJEDT6zj1E="; + hash = "sha256-iaDdOFmi4kfcJSjXOcGAFG9i1SdB+K5Qz4+NDaVQALY="; }; - cargoHash = "sha256-trDf6N7PMjxlum8Rx2TxGePM6UPzMlTU6ATyGzmFoNc="; + cargoHash = "sha256-LIOsl9qPKJr/ykbXeaHP6lNHGUMcw3omniSWx2FkF28="; nativeBuildInputs = [ installShellFiles From 2479fafff6236fb5be55c6149d4d79f4ac7c007f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 04:19:36 +0000 Subject: [PATCH 43/83] vale: 3.4.2 -> 3.5.0 --- pkgs/tools/text/vale/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/vale/default.nix b/pkgs/tools/text/vale/default.nix index d42703ce0a76..9d8a36cc9285 100644 --- a/pkgs/tools/text/vale/default.nix +++ b/pkgs/tools/text/vale/default.nix @@ -10,7 +10,7 @@ buildGoModule rec { pname = "vale"; - version = "3.4.2"; + version = "3.5.0"; subPackages = [ "cmd/vale" ]; @@ -18,10 +18,10 @@ buildGoModule rec { owner = "errata-ai"; repo = "vale"; rev = "v${version}"; - hash = "sha256-9923mmZZmg08Zq+Vbt4zus0UvmsTJ/r1ddVdeOB7yJU="; + hash = "sha256-yp3jy0iEO4DHhAskp2Y56KSjTddNTcQRf+HgxKa0o9c="; }; - vendorHash = "sha256-4GtMKhxGkNwF6ydFE708SbzBm9mwCDKtINljTQXwz2c="; + vendorHash = "sha256-OLlViQKLTark9yknnjJFiEThFtxNNjue5LUp1P/anKU="; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; From 155853df70900c42f0c42e614b8cb046b3c5328e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 04:36:03 +0000 Subject: [PATCH 44/83] elasticmq-server-bin: 1.6.2 -> 1.6.3 --- pkgs/servers/elasticmq-server-bin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/elasticmq-server-bin/default.nix b/pkgs/servers/elasticmq-server-bin/default.nix index afc5dc0dfa0c..1e8a97fa2b64 100644 --- a/pkgs/servers/elasticmq-server-bin/default.nix +++ b/pkgs/servers/elasticmq-server-bin/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "elasticmq-server"; - version = "1.6.2"; + version = "1.6.3"; src = fetchurl { url = "https://s3-eu-west-1.amazonaws.com/softwaremill-public/${finalAttrs.pname}-${finalAttrs.version}.jar"; - sha256 = "sha256-efO6W92RewCum03RBPlR26x5jRXoAhdSvbDXLtIfY44="; + sha256 = "sha256-AVvzIx39IdtLzlD7jUJk3NlNRJym0N3VZmKsncYkzFU="; }; # don't do anything? From d716e1e2675dc05b4dc926a73f35e73f7e5ab690 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 04:38:28 +0000 Subject: [PATCH 45/83] nu_scripts: 0-unstable-2024-06-01 -> 0-unstable-2024-06-08 --- pkgs/shells/nushell/nu_scripts/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/nushell/nu_scripts/default.nix b/pkgs/shells/nushell/nu_scripts/default.nix index c320b15e2ffa..db5aed629376 100644 --- a/pkgs/shells/nushell/nu_scripts/default.nix +++ b/pkgs/shells/nushell/nu_scripts/default.nix @@ -6,13 +6,13 @@ stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; - version = "0-unstable-2024-06-01"; + version = "0-unstable-2024-06-08"; src = fetchFromGitHub { owner = "nushell"; repo = pname; - rev = "5271d68b7a6770eeade257b298089d14c68ab62b"; - hash = "sha256-AWra4CO0mfRlyneHel2RPNZ7NSHOmSH6dL+Vy2Pduuk="; + rev = "398cc82308d8ddd0fb09bc9e8fc20cced26a0d30"; + hash = "sha256-zJWZakNxLQI3vxClzS4B0NqY84Oj5R1BjX2aMjCm/+Q="; }; installPhase = '' From ba02c4b4ac960667c73c036a968bf277df0552ed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 04:39:19 +0000 Subject: [PATCH 46/83] lefthook: 1.6.14 -> 1.6.15 --- pkgs/by-name/le/lefthook/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/le/lefthook/package.nix b/pkgs/by-name/le/lefthook/package.nix index cd6376087cf4..8655d31e6726 100644 --- a/pkgs/by-name/le/lefthook/package.nix +++ b/pkgs/by-name/le/lefthook/package.nix @@ -6,7 +6,7 @@ let pname = "lefthook"; - version = "1.6.14"; + version = "1.6.15"; in buildGoModule { inherit pname version; @@ -15,10 +15,10 @@ buildGoModule { owner = "evilmartians"; repo = "lefthook"; rev = "v${version}"; - hash = "sha256-forbMU7KiPWtO79XMAuckt5wzJFQehqAZ5IYNv6Tr7I="; + hash = "sha256-Pc4m4T/+hABX3eGgni12EC8lD9xl5j/eALhfuSVbEJc="; }; - vendorHash = "sha256-M5lIfgUYMwLJu5NB54aZLofEegZiW+AUoSaVOul1ud8="; + vendorHash = "sha256-ralnfqrP6R58Wjc/AWRf1motWZICPagZxHCkqVcwYoo="; nativeBuildInputs = [ installShellFiles ]; From 270cf648af9e29e9f759a37a5cb2d59dcfe64307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 8 Jun 2024 22:30:06 -0700 Subject: [PATCH 47/83] libsForQt5.angelfish: fix build with corrosion 0.5 --- pkgs/applications/kde/angelfish.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/kde/angelfish.nix b/pkgs/applications/kde/angelfish.nix index 1bd6084a1883..326a9fc309ac 100644 --- a/pkgs/applications/kde/angelfish.nix +++ b/pkgs/applications/kde/angelfish.nix @@ -4,6 +4,7 @@ , cmake , corrosion , extra-cmake-modules +, fetchpatch2 , futuresql , kconfig , kcoreaddons @@ -30,6 +31,14 @@ mkDerivation rec { pname = "angelfish"; + patches = [ + (fetchpatch2 { + name = "fix-build-with-corrosion-0.5.patch"; + url = "https://invent.kde.org/network/angelfish/-/commit/b04928e3b62a11b647622b81fb67b7c0db656ac8.patch"; + hash = "sha256-9rpkMKQKrvGJFIQDwSIeeZyk4/vd348r660mBOKzM2E="; + }) + ]; + cargoDeps = rustPlatform.fetchCargoTarball { # include version in the name so we invalidate the FOD name = "${pname}-${srcs.angelfish.version}"; From 533f1ff136d8036db0561bb3f94ba02682efc0b0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 9 Jun 2024 06:46:41 +0100 Subject: [PATCH 48/83] btrfs-progs: 6.8.1 -> 6.9 Changes: https://github.com/kdave/btrfs-progs/releases/tag/v6.9 --- pkgs/tools/filesystems/btrfs-progs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 6e2bdaea8f9e..df328c942a1e 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -10,11 +10,11 @@ stdenv.mkDerivation rec { pname = "btrfs-progs"; - version = "6.8.1"; + version = "6.9"; src = fetchurl { url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; - hash = "sha256-DkCgaKJsKWnLAqlbqf74iNemNW4/RX/5KtJHfQhzVng="; + hash = "sha256-fhSl1ZfzI919G0U+Ok5mGn6fB+oGDvv/T3b/gxWRfeg="; }; nativeBuildInputs = [ From 734ae40716085d7c254c347040a8910587367ee7 Mon Sep 17 00:00:00 2001 From: wh0 Date: Sat, 8 Jun 2024 23:56:08 -0700 Subject: [PATCH 49/83] c-ares: update source URL --- pkgs/development/libraries/c-ares/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/c-ares/default.nix b/pkgs/development/libraries/c-ares/default.nix index 87b86036cff2..4b8fc3af1902 100644 --- a/pkgs/development/libraries/c-ares/default.nix +++ b/pkgs/development/libraries/c-ares/default.nix @@ -16,7 +16,8 @@ stdenv.mkDerivation rec { version = "1.27.0"; src = fetchurl { - url = "https://c-ares.org/download/${pname}-${version}.tar.gz"; + # Note: tag name varies in some versions, e.g. v1.30.0, c-ares-1_17_0. + url = "https://github.com/c-ares/${pname}/releases/download/cares-${builtins.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.gz"; hash = "sha256-CnK+ZpWZVcQ+KvL70DQY6Cor1UZGBOyaYhR+N6zrQgs="; }; From 6db6908a61cdca0e7694815495023691badfa6cb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 09:57:23 +0200 Subject: [PATCH 50/83] python311Packages.aioshelly: 10.0.0 -> 10.0.1 Diff: https://github.com/home-assistant-libs/aioshelly/compare/refs/tags/10.0.0...10.0.1 Changelog: https://github.com/home-assistant-libs/aioshelly/releases/tag/10.0.1 --- pkgs/development/python-modules/aioshelly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index 0a648fa4f704..359a1db2cb74 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "aioshelly"; - version = "10.0.0"; + version = "10.0.1"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "aioshelly"; rev = "refs/tags/${version}"; - hash = "sha256-HHFp1n0oTZznByGMH2DD/LnK8mSuAe7ex2dA951MtpY="; + hash = "sha256-+p+AFgqS/9rCDkIiNm4o7GhQ4dPfKl2s7ukEYaAdlgo="; }; build-system = [ setuptools ]; From 1703676fed2354f5f95efa5d42197d3df18fa45c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 09:58:24 +0200 Subject: [PATCH 51/83] python311Packages.fastcore: 1.5.44 -> 1.5.45 Diff: https://github.com/fastai/fastcore/compare/refs/tags/1.5.44...1.5.45 Changelog: https://github.com/fastai/fastcore/blob/1.5.45/CHANGELOG.md --- pkgs/development/python-modules/fastcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastcore/default.nix b/pkgs/development/python-modules/fastcore/default.nix index 51dd8431288d..ae6b255259fe 100644 --- a/pkgs/development/python-modules/fastcore/default.nix +++ b/pkgs/development/python-modules/fastcore/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "fastcore"; - version = "1.5.44"; + version = "1.5.45"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "fastai"; repo = "fastcore"; rev = "refs/tags/${version}"; - hash = "sha256-78PFSLqPmFgdKKYHGID7pHczCXvfFeyBG1vbZSoq7ts="; + hash = "sha256-8fpH676g36d+VgJNmlGQf4uwPMAXQpxq7F4fwO0PsZk="; }; build-system = [ setuptools ]; From 08b057228432e4d5c2952b107766afe4977b5dfa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 09:59:20 +0200 Subject: [PATCH 52/83] python311Packages.laundrify-aio: 1.1.2 -> 1.2.0 Diff: https://github.com/laundrify/laundrify-pypi/compare/v1.1.2...v1.2.0 --- pkgs/development/python-modules/laundrify-aio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/laundrify-aio/default.nix b/pkgs/development/python-modules/laundrify-aio/default.nix index dfbb99d33f0a..70244547abec 100644 --- a/pkgs/development/python-modules/laundrify-aio/default.nix +++ b/pkgs/development/python-modules/laundrify-aio/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "laundrify-aio"; - version = "1.1.2"; + version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "laundrify"; repo = "laundrify-pypi"; rev = "v${version}"; - hash = "sha256-+dTvYn4hux3Y19kWZwxhdkBARmfD8SuNlYWM/ET9K2M="; + hash = "sha256-mIdw2167H4Ume/DqV+fjRiBrph+8Jj5EEUALDDj4ah8="; }; propagatedBuildInputs = [ From 9d157dd9a1d7b3664dbb453f4e3476a9654a8394 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:00:07 +0200 Subject: [PATCH 53/83] python311Packages.opower: 0.4.6 -> 0.4.7 Diff: https://github.com/tronikos/opower/compare/refs/tags/v0.4.6...v0.4.7 Changelog: https://github.com/tronikos/opower/releases/tag/v0.4.7 --- pkgs/development/python-modules/opower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index 3807218268da..69fac7d2a115 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "opower"; - version = "0.4.6"; + version = "0.4.7"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "tronikos"; repo = "opower"; rev = "refs/tags/v${version}"; - hash = "sha256-Q+BycHN83oD2yJz+jsYRjSdswYVHA7fJPwpWtNsmi9M="; + hash = "sha256-4UzgW4+h/9YBA+tDlpneaucQ2lXs9JfnQzKagFPCvGk="; }; build-system = [ setuptools ]; From acafec98324a2632e0c459033e39768ceef1f8f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 08:00:47 +0000 Subject: [PATCH 54/83] kanshi: 1.6.0 -> 1.7.0 --- pkgs/tools/wayland/kanshi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/wayland/kanshi/default.nix b/pkgs/tools/wayland/kanshi/default.nix index f54201c808db..853638db6fb6 100644 --- a/pkgs/tools/wayland/kanshi/default.nix +++ b/pkgs/tools/wayland/kanshi/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "kanshi"; - version = "1.6.0"; + version = "1.7.0"; src = fetchFromSourcehut { owner = "~emersion"; repo = "kanshi"; rev = "v${version}"; - sha256 = "sha256-KjP7EdssaZwa1OupLQgzwJSAADKLsjHltEavPjsS1YM="; + sha256 = "sha256-FDt+F5tWHLsMejlExb5yPh0SlWzuUlK9u54Uy+alrzw="; }; strictDeps = true; From c5c480318855780baf87c8dd718a0c9c391d12cf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:01:12 +0200 Subject: [PATCH 55/83] radcli: 1.3.1 -> 1.4.0 Diff: https://github.com/radcli/radcli/compare/refs/tags/1.3.1...1.4.0 Changelog: https://github.com/radcli/radcli/blob/1.4.0/NEWS --- pkgs/by-name/ra/radcli/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ra/radcli/package.nix b/pkgs/by-name/ra/radcli/package.nix index 86774e3762c4..b87ef9a37501 100644 --- a/pkgs/by-name/ra/radcli/package.nix +++ b/pkgs/by-name/ra/radcli/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "radcli"; - version = "1.3.1"; + version = "1.4.0"; src = fetchFromGitHub { owner = "radcli"; repo = "radcli"; rev = "refs/tags/${version}"; - hash = "sha256-KBgimvhuHvaVh9hxPr+CtibGWyscSi0KXk8S1/STk+Q="; + hash = "sha256-YnZkFYTiU2VNKxuP+JTnH64XYTB/+imeMKN1mZN9VCQ="; }; postUnpack = '' From 6c6e4b2789212fe931c3416e752fdb10ea17d885 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 08:02:02 +0000 Subject: [PATCH 56/83] remind: 04.03.07 -> 05.00.01 --- pkgs/tools/misc/remind/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/remind/default.nix b/pkgs/tools/misc/remind/default.nix index 31b7dad24003..467981bb0a29 100644 --- a/pkgs/tools/misc/remind/default.nix +++ b/pkgs/tools/misc/remind/default.nix @@ -15,11 +15,11 @@ let in tcl.mkTclDerivation rec { pname = "remind"; - version = "04.03.07"; + version = "05.00.01"; src = fetchurl { url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; - sha256 = "sha256-s/jEsNXUBigNHPTCi3e4V2pGUNhK2s5/n+sU1ow7UU0="; + sha256 = "sha256-tj36/lLn67/hkNMrRVGXRLqQ9Sx6oDKZHeajiSYn97c="; }; propagatedBuildInputs = tclLibraries; From daa7d21b4c166d6a2ad53dc098e13c695296e86b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:07:13 +0200 Subject: [PATCH 57/83] python311Packages.pyexploitdb: 0.2.20 -> 0.2.21 Changelog: https://github.com/GoVanguard/pyExploitDb/blob/master/ChangeLog.md --- pkgs/development/python-modules/pyexploitdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyexploitdb/default.nix b/pkgs/development/python-modules/pyexploitdb/default.nix index 55b18bef87bf..7adc58c43e77 100644 --- a/pkgs/development/python-modules/pyexploitdb/default.nix +++ b/pkgs/development/python-modules/pyexploitdb/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pyexploitdb"; - version = "0.2.20"; + version = "0.2.21"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyExploitDb"; inherit version; - hash = "sha256-vRh99vi+24euDF3FwYs5KgYlWymCRK8fh8yp2FYYHkQ="; + hash = "sha256-r57zNuKRUfZy+ipttQSfE/+LKOSnH6/4u/ZC1NzgGt8="; }; build-system = [ setuptools ]; From bdcb30d5dbcf42b172c34bd09f9081359d40a15a Mon Sep 17 00:00:00 2001 From: RoyDubnium <72664566+RoyDubnium@users.noreply.github.com> Date: Sat, 8 Jun 2024 23:25:49 +0100 Subject: [PATCH 58/83] ollama: add roydubnium as maintainer --- pkgs/by-name/ol/ollama/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ol/ollama/package.nix b/pkgs/by-name/ol/ollama/package.nix index 66bf3ca03652..ca539b643420 100644 --- a/pkgs/by-name/ol/ollama/package.nix +++ b/pkgs/by-name/ol/ollama/package.nix @@ -213,6 +213,6 @@ goBuild ((lib.optionalAttrs enableRocm { license = licenses.mit; platforms = platforms.unix; mainProgram = "ollama"; - maintainers = with maintainers; [ abysssol dit7ya elohmeier ]; + maintainers = with maintainers; [ abysssol dit7ya elohmeier roydubnium ]; }; }) From 92227c7113e41da83c57b71e65182fd5634113b9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:16:10 +0200 Subject: [PATCH 59/83] python311Packages.adb-enhanced: 2.5.22 -> 2.5.24 Diff: https://github.com/ashishb/adb-enhanced/compare/refs/tags/2.5.22...2.5.24 --- pkgs/development/python-modules/adb-enhanced/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/adb-enhanced/default.nix b/pkgs/development/python-modules/adb-enhanced/default.nix index ee26d23ce755..7ef10347207c 100644 --- a/pkgs/development/python-modules/adb-enhanced/default.nix +++ b/pkgs/development/python-modules/adb-enhanced/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "adb-enhanced"; - version = "2.5.22"; + version = "2.5.24"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "ashishb"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-n1CME/swV+NsZdUfWwVY1qQeYzawwy+sm0mkRPQKm6A="; + hash = "sha256-0HxeL6VGM+HTiAxs3NFRcEFbmH9q+0/pJdGyF1hl4hU="; }; propagatedBuildInputs = [ From 2c23eae85dd5d67aafc9ac956d97dcd8838b556c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:19:08 +0200 Subject: [PATCH 60/83] python311Packages.aiostream: 0.5.2 -> 0.6.1 Diff: https://github.com/vxgmichel/aiostream/compare/refs/tags/v0.5.2...v0.6.1 Changelog: https://github.com/vxgmichel/aiostream/releases/tag/v0.6.1 --- .../python-modules/aiostream/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix index b787f69c1b74..98b2d3902fa4 100644 --- a/pkgs/development/python-modules/aiostream/default.nix +++ b/pkgs/development/python-modules/aiostream/default.nix @@ -5,29 +5,32 @@ pytest-asyncio, pytestCheckHook, pythonOlder, + setuptools, typing-extensions, }: buildPythonPackage rec { pname = "aiostream"; - version = "0.5.2"; - format = "setuptools"; + version = "0.6.1"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "vxgmichel"; - repo = pname; + repo = "aiostream"; rev = "refs/tags/v${version}"; - hash = "sha256-g2W2TtCh2ANPjeTdASVgEu+qKfz/Ugh1rDWJcFvOJpI="; + hash = "sha256-RJ+0o8w92GteMRPOIddCBQ4JApi5gXiwkJRNe9t2E7g="; }; postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov aiostream --cov-report html --cov-report term" "" + substituteInPlace pyproject.toml \ + --replace-fail " --cov aiostream" "" ''; - propagatedBuildInputs = [ typing-extensions ]; + build-system = [ setuptools ]; + + dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytest-asyncio From 82d0392ce563934a9c050314425f25ff02f3dd72 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:21:02 +0200 Subject: [PATCH 61/83] python311Packages.aiowaqi: 3.0.1 -> 3.1.0 Diff: https://github.com/joostlek/python-waqi/compare/refs/tags/v3.0.1...v3.1.0 Changelog: https://github.com/joostlek/python-waqi/releases/tag/v3.1.0 --- pkgs/development/python-modules/aiowaqi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiowaqi/default.nix b/pkgs/development/python-modules/aiowaqi/default.nix index d69377e8be8c..5cc62b3cdbee 100644 --- a/pkgs/development/python-modules/aiowaqi/default.nix +++ b/pkgs/development/python-modules/aiowaqi/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "aiowaqi"; - version = "3.0.1"; + version = "3.1.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-waqi"; rev = "refs/tags/v${version}"; - hash = "sha256-+4l820FGQI66GGr+KGEeDmPUFwRrMNvYFJuSouesakY="; + hash = "sha256-YWTGEOSSkZ0XbZUE3k+Dn9qg8Pmwip9wCp8e/j1D9io="; }; postPatch = '' From 9df79fc51f34c1dc66f3386e5b229cfef4e7ed65 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:21:38 +0200 Subject: [PATCH 62/83] python311Packages.aiowaqi: refactor --- pkgs/development/python-modules/aiowaqi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aiowaqi/default.nix b/pkgs/development/python-modules/aiowaqi/default.nix index 5cc62b3cdbee..370b28cb6f76 100644 --- a/pkgs/development/python-modules/aiowaqi/default.nix +++ b/pkgs/development/python-modules/aiowaqi/default.nix @@ -28,12 +28,12 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "--cov" "" + --replace-fail "--cov" "" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp yarl ]; From 29fe3af6163d5ca214a6b04f9cb644e48615c76a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:24:15 +0200 Subject: [PATCH 63/83] python311Packages.archspec: 0.2.3 -> 0.2.4 Diff: https://github.com/archspec/archspec/compare/refs/tags/v0.2.3...v0.2.4 Changelog: https://github.com/archspec/archspec/releases/tag/v0.2.4 --- pkgs/development/python-modules/archspec/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/archspec/default.nix b/pkgs/development/python-modules/archspec/default.nix index d0f7e0ac67e3..3c9c0f00f7d7 100644 --- a/pkgs/development/python-modules/archspec/default.nix +++ b/pkgs/development/python-modules/archspec/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "archspec"; - version = "0.2.3"; + version = "0.2.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,12 +21,12 @@ buildPythonPackage rec { repo = "archspec"; rev = "refs/tags/v${version}"; fetchSubmodules = true; - hash = "sha256-Ek+rmgvG6DbtxljAEHVac/JzNI1MaLpPu4G8nhaxzg8="; + hash = "sha256-Xg1XdmKk2b6fqzOdedU3SGIgy65CjExxDByt/Xvmr24="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ click ]; + dependecies = [ click ]; nativeCheckInputs = [ pytestCheckHook @@ -37,7 +37,6 @@ buildPythonPackage rec { meta = with lib; { description = "Library for detecting, labeling, and reasoning about microarchitectures"; - mainProgram = "archspec"; homepage = "https://archspec.readthedocs.io/"; changelog = "https://github.com/archspec/archspec/releases/tag/v${version}"; license = with licenses; [ @@ -45,5 +44,6 @@ buildPythonPackage rec { asl20 ]; maintainers = with maintainers; [ atila ]; + mainProgram = "archspec"; }; } From 6d204ca776c7d4c531ecf947b69e22df0f97caec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:59:08 +0200 Subject: [PATCH 64/83] checkov: 3.2.128 -> 3.2.129 Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.128...3.2.129 Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.129 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 2c6437656e0e..20997413e4ab 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.128"; + version = "3.2.129"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; rev = "refs/tags/${version}"; - hash = "sha256-BnfSKEetEofNs/74K0Pxqs6q55YQPGKAhV++pVl2tug="; + hash = "sha256-7ZbHhVJ12BmFMlWZPWnrZCcKCSqzO1+38zuEFmUOODU="; }; patches = [ ./flake8-compat-5.x.patch ]; From c4a02aec5a55cb10a278c7fbd94c1f27531a7e8e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 11:08:04 +0200 Subject: [PATCH 65/83] python311Packages.datafusion: 35.0.0 -> 38.0.1 Diff: https://github.com/apache/arrow-datafusion-python/compare/refs/tags/35.0.0...38.0.1 Changelog: https://github.com/apache/arrow-datafusion-python/blob/38.0.1/CHANGELOG.md --- pkgs/development/python-modules/datafusion/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/datafusion/default.nix b/pkgs/development/python-modules/datafusion/default.nix index 5210884325f4..1b968fe50007 100644 --- a/pkgs/development/python-modules/datafusion/default.nix +++ b/pkgs/development/python-modules/datafusion/default.nix @@ -33,21 +33,21 @@ in buildPythonPackage rec { pname = "datafusion"; - version = "35.0.0"; - format = "pyproject"; + version = "38.0.1"; + pyproject = true; src = fetchFromGitHub { name = "datafusion-source"; owner = "apache"; repo = "arrow-datafusion-python"; rev = "refs/tags/${version}"; - hash = "sha256-43XY7j/8x+7SCY4W8nysaeWax2nvTTHZXMmy3hSz6pI="; + hash = "sha256-rBS6i2HqpdhnhZZfO0ywL/e4a+rnUZkHzezKd8PuG80="; }; cargoDeps = rustPlatform.fetchCargoTarball { name = "datafusion-cargo-deps"; inherit src pname version; - hash = "sha256-YWAyEMojw0bc/fu5kIZKMNPEgsAIpWqjVNodWXbgTl4="; + hash = "sha256-M2ZNAFWdsnN9C4+YbqFxZVH9fHR10Bimf1Xzrd9oy9E="; }; nativeBuildInputs = with rustPlatform; [ From 0fa642aebc80ca40d4e205db74228dea5abc7edf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 11:14:33 +0200 Subject: [PATCH 66/83] python312Packages.hpccm: 22.10.0 -> 23.11.0 Diff: https://github.com/NVIDIA/hpc-container-maker/compare/refs/tags/v22.10.0...v23.11.0 Changelog: https://github.com/NVIDIA/hpc-container-maker/blob/v23.11.0/CHANGELOG.md --- .../python-modules/hpccm/default.nix | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/hpccm/default.nix b/pkgs/development/python-modules/hpccm/default.nix index 2404e7a3888b..1ab5e163a0bc 100644 --- a/pkgs/development/python-modules/hpccm/default.nix +++ b/pkgs/development/python-modules/hpccm/default.nix @@ -1,29 +1,36 @@ { lib, - fetchFromGitHub, - buildPythonPackage, - six, archspec, - pytestCheckHook, + buildPythonPackage, + fetchFromGitHub, pytest-xdist, + pytestCheckHook, + pythonOlder, + setuptools, + six, }: buildPythonPackage rec { pname = "hpccm"; - version = "22.10.0"; - format = "setuptools"; + version = "23.11.0"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "NVIDIA"; repo = "hpc-container-maker"; - rev = "v${version}"; - hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI="; + rev = "refs/tags/v${version}"; + hash = "sha256-uB2+1Nc+SgPzB5hJI1L6yD8gn0hGOkIZF6rejq4rYg8="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ six archspec ]; + nativeCheckInputs = [ pytestCheckHook pytest-xdist @@ -39,10 +46,11 @@ buildPythonPackage rec { meta = with lib; { description = "HPC Container Maker"; - mainProgram = "hpccm"; homepage = "https://github.com/NVIDIA/hpc-container-maker"; + changelog = "https://github.com/NVIDIA/hpc-container-maker/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; - platforms = platforms.x86; maintainers = with maintainers; [ atila ]; + mainProgram = "hpccm"; + platforms = platforms.x86; }; } From 42bacda2d1b6e643467d698b514e906f6867637c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 09:33:49 +0000 Subject: [PATCH 67/83] cargo-cyclonedx: 0.5.1 -> 0.5.3 --- pkgs/development/tools/rust/cargo-cyclonedx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-cyclonedx/default.nix b/pkgs/development/tools/rust/cargo-cyclonedx/default.nix index a5e44e1590d8..c9773cbc43cb 100644 --- a/pkgs/development/tools/rust/cargo-cyclonedx/default.nix +++ b/pkgs/development/tools/rust/cargo-cyclonedx/default.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-cyclonedx"; - version = "0.5.1"; + version = "0.5.3"; src = fetchFromGitHub { owner = "CycloneDX"; repo = "cyclonedx-rust-cargo"; rev = "${pname}-${version}"; - hash = "sha256-FQM2H/W9p0wmI1GGxnleDGU1y9hpz/Fnxi0KhF2RYeA="; + hash = "sha256-Hq5yEYikov/+/Vgf4Bn0b23+K6yqefrJOoEbC0YdnFY="; }; - cargoHash = "sha256-Y4OoQ3JG0syKBJ2KDJ5qzwu/gI+/unvrTafQ+UYiZYA="; + cargoHash = "sha256-Q6Qanjfu5rIIZw4KeZo0kHJML5aq+12Lkn7CTscK8yE="; nativeBuildInputs = [ pkg-config From 5e01294920aaa58d096926367159e11e1f8027af Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 11:26:29 +0200 Subject: [PATCH 68/83] python312Packages.xlwt: refactor - replace nose with pynose - add pythonImportsCheck - migrate to build-system - disable on unsupported Python releases --- .../python-modules/xlwt/default.nix | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/xlwt/default.nix b/pkgs/development/python-modules/xlwt/default.nix index 67b2de049e87..b47a5c4e3cdd 100644 --- a/pkgs/development/python-modules/xlwt/default.nix +++ b/pkgs/development/python-modules/xlwt/default.nix @@ -1,32 +1,46 @@ { + lib, buildPythonPackage, fetchPypi, - nose, - lib, + pynose, + setuptools, + pythonOlder, }: buildPythonPackage rec { pname = "xlwt"; version = "1.3.0"; - format = "setuptools"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88"; + hash = "sha256-xZkScXqbKPGjwqmP1gdBAUsGsEOTbc7LwRPqqtoVbIg="; }; - nativeCheckInputs = [ nose ]; + build-system = [ setuptools ]; + + nativeCheckInputs = [ pynose ]; + checkPhase = '' + runHook preCheck + nosetests -v + + runHook postCheck ''; - meta = { + pythonImportsCheck = [ "xlwt" ]; + + meta = with lib; { description = "Library to create spreadsheet files compatible with MS"; homepage = "https://github.com/python-excel/xlwt"; - license = with lib.licenses; [ + license = with licenses; [ bsdOriginal bsd3 - lgpl21 + lgpl21Plus ]; + maintainers = with maintainers; [ ]; }; } From f43fcc42007c017734ec6e927e901239d3b6e877 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 11:31:57 +0200 Subject: [PATCH 69/83] python312Packages.canmatrix: refactor - remove vendorized versioneer.py --- .../python-modules/canmatrix/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/canmatrix/default.nix b/pkgs/development/python-modules/canmatrix/default.nix index 40407492fd63..634eec1da39d 100644 --- a/pkgs/development/python-modules/canmatrix/default.nix +++ b/pkgs/development/python-modules/canmatrix/default.nix @@ -12,7 +12,9 @@ pytestCheckHook, pythonOlder, pyyaml, + setuptools, six, + versioneer, xlrd, xlwt, }: @@ -20,7 +22,7 @@ buildPythonPackage rec { pname = "canmatrix"; version = "1.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -32,11 +34,15 @@ buildPythonPackage rec { }; postPatch = '' - substituteInPlace setup.py \ - --replace "version = versioneer.get_version()" 'version = "${version}"' + # Remove vendorized versioneer.py + rm versioneer.py ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + nativeBuildInputs = [ versioneer ]; + + dependencies = [ attrs click future From 0b8a5573c54d4f3dbcb456d29a7ce187c05d0277 Mon Sep 17 00:00:00 2001 From: Makuru Date: Sun, 9 Jun 2024 02:14:51 +0200 Subject: [PATCH 70/83] nomad_1_6: 1.6.8 -> 1.6.10 --- pkgs/applications/networking/cluster/nomad/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix index d90124cbc4dd..12c13bc44e53 100644 --- a/pkgs/applications/networking/cluster/nomad/default.nix +++ b/pkgs/applications/networking/cluster/nomad/default.nix @@ -70,9 +70,9 @@ rec { nomad_1_6 = generic { buildGoModule = buildGo121Module; - version = "1.6.8"; - sha256 = "sha256-lc/HZgyzqWZNW2WHOFZ43gCeL5Y2hwK4lXPgWGboPOY="; - vendorHash = "sha256-ecLhq4OHDhA1Bd/97NMpfePqtuCtVje3BdvCzcwWzas="; + version = "1.6.10"; + sha256 = "sha256-kiMdpJzjF0S7lrTX3sBFkWm0Gac9a+qlwCPcMKeVXXQ="; + vendorHash = "sha256-qnsPPV/NWTrqUa1v1CL16WfCH7B0zW9ZSnEmtqvotqI="; license = lib.licenses.mpl20; passthru.tests.nomad = nixosTests.nomad; preCheck = '' From b0fa99c099f7fed3b75ae02c15ce154ff237fe4b Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sun, 9 Jun 2024 12:03:23 +0200 Subject: [PATCH 71/83] refind: make the build reproducible Avoid leaking build timestamps into the output. --- pkgs/tools/bootloaders/refind/default.nix | 3 + .../bootloaders/refind/reproducible.patch | 67 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 pkgs/tools/bootloaders/refind/reproducible.patch diff --git a/pkgs/tools/bootloaders/refind/default.nix b/pkgs/tools/bootloaders/refind/default.nix index a481bfdc37ab..47287dc2e03b 100644 --- a/pkgs/tools/bootloaders/refind/default.nix +++ b/pkgs/tools/bootloaders/refind/default.nix @@ -34,6 +34,9 @@ stdenv.mkDerivation rec { patches = [ # Removes hardcoded toolchain for aarch64, allowing successful aarch64 builds. ./0001-toolchain.patch + # Avoid leaking the build timestamp + # https://sourceforge.net/p/refind/code/merge-requests/53/ + ./reproducible.patch ]; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/tools/bootloaders/refind/reproducible.patch b/pkgs/tools/bootloaders/refind/reproducible.patch new file mode 100644 index 000000000000..93a21f63e010 --- /dev/null +++ b/pkgs/tools/bootloaders/refind/reproducible.patch @@ -0,0 +1,67 @@ +diff --git a/Makefile b/Makefile +index 4d07160..4ae2a7d 100644 +--- a/Makefile ++++ b/Makefile +@@ -150,9 +150,11 @@ edk2: build_edk2 + cp $(EDK2_BUILDLOC)/refind.efi ./refind/refind_$(FILENAME_CODE).efi + cp $(EDK2_BUILDLOC)/gptsync.efi ./gptsync/gptsync_$(FILENAME_CODE).efi + ifneq ($(OMIT_SBAT), 1) +- $(OBJCOPY) --set-section-alignment '.sbat=512' --add-section .sbat=$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --set-section-alignment '.sbat=512' \ ++ --add-section .sbat=$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 ./refind/refind_$(FILENAME_CODE).efi +- $(OBJCOPY) --set-section-alignment '.sbat=512' --add-section .sbat=$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --set-section-alignment '.sbat=512' \ ++ --add-section .sbat=$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 ./gptsync/gptsync_$(FILENAME_CODE).efi + endif + +@@ -173,7 +175,8 @@ else + for BASENAME in $(EDK2_DRIVER_BASENAMES) ; do \ + echo "Copying $$BASENAME""_$(FILENAME_CODE).efi" ; \ + cp "$(EDK2_BUILDLOC)/$$BASENAME.efi" ./drivers_$(FILENAME_CODE)/$$BASENAME\_$(FILENAME_CODE).efi ; \ +- $(OBJCOPY) --set-section-alignment '.sbat=512' --add-section .sbat=$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --set-section-alignment '.sbat=512' \ ++ --add-section .sbat=$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 ./drivers_$(FILENAME_CODE)/$$BASENAME\_$(FILENAME_CODE).efi ; \ + done + endif +diff --git a/filesystems/Make.gnuefi b/filesystems/Make.gnuefi +index 70e4ad6..2329659 100644 +--- a/filesystems/Make.gnuefi ++++ b/filesystems/Make.gnuefi +@@ -38,7 +38,7 @@ $(TARGET): $(SHLIB_TARGET) + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --strip-unneeded $(FORMAT_DRIVER) $< $@ + ifneq ($(OMIT_SBAT), 1) +- $(OBJCOPY) --add-section .sbat=$(SRCDIR)/../$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --add-section .sbat=$(SRCDIR)/../$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 $@ + endif + chmod a-x $(TARGET) +diff --git a/gptsync/Make.gnuefi b/gptsync/Make.gnuefi +index b6c0763..49aff13 100644 +--- a/gptsync/Make.gnuefi ++++ b/gptsync/Make.gnuefi +@@ -35,7 +35,7 @@ $(TARGET): $(SHLIB_TARGET) + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --strip-unneeded $(FORMAT) $< $@ + ifneq ($(OMIT_SBAT), 1) +- $(OBJCOPY) --add-section .sbat=../$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --add-section .sbat=../$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 $@ + endif + chmod a-x $(TARGET) +diff --git a/refind/Makefile b/refind/Makefile +index 73be8e5..880bd22 100644 +--- a/refind/Makefile ++++ b/refind/Makefile +@@ -54,7 +54,7 @@ $(TARGET): $(SHLIB_TARGET) + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --strip-unneeded $(FORMAT) $< $@ + ifneq ($(OMIT_SBAT), 1) +- $(OBJCOPY) --add-section .sbat=$(SRCDIR)/../$(REFIND_SBAT_CSV) \ ++ $(OBJCOPY) --preserve-dates --add-section .sbat=$(SRCDIR)/../$(REFIND_SBAT_CSV) \ + --adjust-section-vma .sbat+10000000 $@ + endif + chmod a-x $(TARGET) From b4d62a957eb361e24118960e9e8567730daa13b5 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sun, 9 Jun 2024 12:15:00 +0200 Subject: [PATCH 72/83] screen: change license to gpl3Plus According to the `COPYING` file in the repository, the license is GPL3+. https://git.savannah.gnu.org/cgit/screen.git/tree/COPYING?h=v.4.9.1 --- pkgs/tools/misc/screen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/screen/default.nix b/pkgs/tools/misc/screen/default.nix index 1559aa11de4b..e7bb59dba863 100644 --- a/pkgs/tools/misc/screen/default.nix +++ b/pkgs/tools/misc/screen/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.gnu.org/software/screen/"; description = "A window manager that multiplexes a physical terminal"; - license = licenses.gpl2Plus; + license = licenses.gpl3Plus; longDescription = '' GNU Screen is a full-screen window manager that multiplexes a physical From bea1d0e3c04159372da4bdaff59891cb60d209fc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 12:34:55 +0200 Subject: [PATCH 73/83] python312Packages.pylint-django: disable failing tests --- pkgs/development/python-modules/pylint-django/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pylint-django/default.nix b/pkgs/development/python-modules/pylint-django/default.nix index 13ddc4eabec4..cac67ca5051a 100644 --- a/pkgs/development/python-modules/pylint-django/default.nix +++ b/pkgs/development/python-modules/pylint-django/default.nix @@ -46,6 +46,8 @@ buildPythonPackage rec { "test_migrations_plugin" "func_noerror_model_unicode_lambda" "test_linter_should_be_pickleable_with_pylint_django_plugin_installed" + "func_noerror_model_fields" + "func_noerror_form_fields" ]; pythonImportsCheck = [ "pylint_django" ]; From b9ce5c3cee29609519d6029c34b9ba54f6b2ea36 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 9 Jun 2024 13:22:49 +0200 Subject: [PATCH 74/83] typstyle: 0.11.24 -> 0.11.25 Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.11.24...v0.11.25 Changelog: https://github.com/Enter-tainer/typstyle/blob/refs/tags/v0.11.25/CHANGELOG.md --- pkgs/by-name/ty/typstyle/package.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/typstyle/package.nix b/pkgs/by-name/ty/typstyle/package.nix index f308dc0bff72..cc96a0f5005f 100644 --- a/pkgs/by-name/ty/typstyle/package.nix +++ b/pkgs/by-name/ty/typstyle/package.nix @@ -6,20 +6,23 @@ , zlib , stdenv , darwin +, nix-update-script +, testers +, typstyle }: rustPlatform.buildRustPackage rec { pname = "typstyle"; - version = "0.11.24"; + version = "0.11.25"; src = fetchFromGitHub { owner = "Enter-tainer"; repo = "typstyle"; rev = "refs/tags/v${version}"; - hash = "sha256-FLvbY+0TozOWZ+JTX//psNjle5GxcyeZXzMOf4/s1v0="; + hash = "sha256-wpG+laz1k/zCnEAVOyXzrN2DOECpKWT1nVCuQUwD+p0="; }; - cargoHash = "sha256-VA2WNheQltgCaWwtpbEAn2qtlA0fTeEbCjvgkjF+nvw="; + cargoHash = "sha256-JeEM2sxVR5qWCPBV1BT097HvkIikwPdZhOa5747e3vQ="; nativeBuildInputs = [ pkg-config @@ -40,6 +43,11 @@ rustPlatform.buildRustPackage rec { "--skip=e2e" ]; + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { package = typstyle; }; + }; + meta = { changelog = "https://github.com/Enter-tainer/typstyle/blob/${src.rev}/CHANGELOG.md"; description = "Format your typst source code"; From 3526d8c1a6762bb21a32ebd68fc7138e4e67db2e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 9 Jun 2024 10:44:28 +0200 Subject: [PATCH 75/83] python311Packages.gradio: disable flaky tests on darwin --- .../python-modules/gradio/default.nix | 54 ++++++++++++++++++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gradio/default.nix b/pkgs/development/python-modules/gradio/default.nix index 039f21168f68..d77228c72d64 100644 --- a/pkgs/development/python-modules/gradio/default.nix +++ b/pkgs/development/python-modules/gradio/default.nix @@ -187,12 +187,64 @@ buildPythonPackage rec { # tests if pip and other tools are installed "test_get_executable_path" + ] ++ lib.optionals stdenv.isDarwin [ + # flaky on darwin (depend on port availability) + "test_all_status_messages" + "test_async_generators" + "test_async_generators_interface" + "test_async_iterator_update_with_new_component" + "test_concurrency_limits" + "test_default_concurrency_limits" + "test_default_flagging_callback" + "test_end_to_end" + "test_end_to_end_cache_examples" + "test_event_data" + "test_every_does_not_block_queue" + "test_example_caching_relaunch" + "test_example_caching_relaunch" + "test_exit_called_at_launch" + "test_file_component_uploads" + "test_files_saved_as_file_paths" + "test_flagging_does_not_create_unnecessary_directories" + "test_flagging_no_permission_error_with_flagging_disabled" + "test_info_and_warning_alerts" + "test_info_isolation" + "test_launch_analytics_does_not_error_with_invalid_blocks" + "test_no_empty_audio_files" + "test_no_empty_image_files" + "test_no_empty_video_files" + "test_non_streaming_api" + "test_non_streaming_api_async" + "test_pil_images_hashed" + "test_progress_bar" + "test_progress_bar_track_tqdm" + "test_queue_when_using_auth" + "test_restart_after_close" + "test_set_share_in_colab" + "test_show_error" + "test_simple_csv_flagging_callback" + "test_single_request" + "test_socket_reuse" + "test_start_server" + "test_state_holder_is_used_in_postprocess" + "test_state_stored_up_to_capacity" + "test_static_files_single_app" + "test_streaming_api" + "test_streaming_api_async" + "test_streaming_api_with_additional_inputs" + "test_sync_generators" + "test_time_to_live_and_delete_callback_for_state" + "test_updates_stored_up_to_capacity" + "test_varying_output_forms_with_generators" ]; disabledTestPaths = [ # 100% touches network "test/test_networking.py" # makes pytest freeze 50% of the time "test/test_interfaces.py" + ] ++ lib.optionals stdenv.isDarwin [ + # Network-related tests that are flaky on darwin (depend on port availability) + "test/test_routes.py" ]; pytestFlagsArray = [ "-x" # abort on first failure @@ -200,8 +252,6 @@ buildPythonPackage rec { #"-W" "ignore" # uncomment for debugging help ]; - __darwinAllowLocalNetworking = true; - # check the binary works outside the build env doInstallCheck = true; postInstallCheck = '' From 245aee34d95b7a03619d0b7ef42a179b1b7e8de0 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 9 Jun 2024 14:47:21 +0200 Subject: [PATCH 76/83] mir_2_15: init at 2.15.0 --- .../lomiri/applications/lomiri/default.nix | 4 +- .../lomiri/development/qtmir/default.nix | 4 +- pkgs/servers/mir/common.nix | 227 ++++++++++++++++++ pkgs/servers/mir/default.nix | 226 +++-------------- pkgs/servers/mir/update.sh | 8 + pkgs/top-level/all-packages.nix | 4 +- 6 files changed, 269 insertions(+), 204 deletions(-) create mode 100644 pkgs/servers/mir/common.nix create mode 100755 pkgs/servers/mir/update.sh diff --git a/pkgs/desktops/lomiri/applications/lomiri/default.nix b/pkgs/desktops/lomiri/applications/lomiri/default.nix index ca46560e702a..d628da0746fa 100644 --- a/pkgs/desktops/lomiri/applications/lomiri/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri/default.nix @@ -40,7 +40,7 @@ , lomiri-notifications , lomiri-thumbnailer , maliit-keyboard -, mir +, mir_2_15 , nixos-icons , pam , pkg-config @@ -191,7 +191,7 @@ stdenv.mkDerivation (finalAttrs: { lomiri-system-settings-unwrapped lomiri-ui-toolkit maliit-keyboard - mir + mir_2_15 pam properties-cpp protobuf diff --git a/pkgs/desktops/lomiri/development/qtmir/default.nix b/pkgs/desktops/lomiri/development/qtmir/default.nix index ba49507f3d36..654fd93fc59b 100644 --- a/pkgs/desktops/lomiri/development/qtmir/default.nix +++ b/pkgs/desktops/lomiri/development/qtmir/default.nix @@ -16,7 +16,7 @@ , lomiri-app-launch , lomiri-url-dispatcher , lttng-ust -, mir +, mir_2_15 , process-cpp , qtbase , qtdeclarative @@ -109,7 +109,7 @@ stdenv.mkDerivation (finalAttrs: { lomiri-app-launch lomiri-url-dispatcher lttng-ust - mir + mir_2_15 process-cpp protobuf qtbase diff --git a/pkgs/servers/mir/common.nix b/pkgs/servers/mir/common.nix new file mode 100644 index 000000000000..bc81972e30b2 --- /dev/null +++ b/pkgs/servers/mir/common.nix @@ -0,0 +1,227 @@ +{ + stdenv, + lib, + fetchFromGitHub, + testers, + cmake, + pkg-config, + python3, + boost, + egl-wayland, + freetype, + glib, + glm, + glog, + libdrm, + libepoxy, + libevdev, + libglvnd, + libinput, + libuuid, + libxcb, + libxkbcommon, + libxmlxx, + yaml-cpp, + lttng-ust, + mesa, + nettle, + udev, + wayland, + wayland-scanner, + xorg, + xwayland, + dbus, + gobject-introspection, + gtest, + umockdev, + wlcs, + validatePkgConfig, +}: + +{ + version, + pinned ? false, + hash, + patches ? [ ], +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "mir"; + inherit version; + + src = fetchFromGitHub { + owner = "canonical"; + repo = "mir"; + rev = "v${finalAttrs.version}"; + inherit hash; + }; + + inherit patches; + + postPatch = '' + # Fix scripts that get run in tests + patchShebangs tools/detect_fd_leaks.bash tests/acceptance-tests/wayland-generator/test_wayland_generator.sh.in + + # Fix LD_PRELOADing in tests + substituteInPlace \ + cmake/MirCommon.cmake \ + tests/umock-acceptance-tests/CMakeLists.txt \ + tests/unit-tests/platforms/gbm-kms/kms/CMakeLists.txt \ + tests/unit-tests/CMakeLists.txt \ + --replace-warn 'LD_PRELOAD=liblttng-ust-fork.so' 'LD_PRELOAD=${lib.getLib lttng-ust}/lib/liblttng-ust-fork.so' \ + --replace-warn 'LD_PRELOAD=libumockdev-preload.so.0' 'LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0' + + # Fix Xwayland default + substituteInPlace src/miral/x11_support.cpp \ + --replace-fail '/usr/bin/Xwayland' '${lib.getExe xwayland}' + + # Fix paths for generating drm-formats + substituteInPlace src/platform/graphics/CMakeLists.txt \ + --replace-fail "/usr/include/drm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" \ + --replace-fail "/usr/include/libdrm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" + ''; + + strictDeps = true; + + nativeBuildInputs = [ + cmake + glib # gdbus-codegen + lttng-ust # lttng-gen-tp + pkg-config + (python3.withPackages ( + ps: + with ps; + [ pillow ] + ++ lib.optionals finalAttrs.finalPackage.doCheck [ + pygobject3 + python-dbusmock + ] + )) + validatePkgConfig + wayland-scanner + ]; + + buildInputs = [ + boost + egl-wayland + freetype + glib + glm + glog + libdrm + libepoxy + libevdev + libglvnd + libinput + libuuid + libxcb + libxkbcommon + libxmlxx + yaml-cpp + lttng-ust + mesa + nettle + udev + wayland + xorg.libX11 + xorg.libXcursor + xorg.xorgproto + xwayland + ]; + + nativeCheckInputs = [ + dbus + gobject-introspection + ]; + + checkInputs = [ + gtest + umockdev + wlcs + ]; + + cmakeFlags = [ + (lib.cmakeBool "BUILD_DOXYGEN" false) + (lib.cmakeFeature "MIR_PLATFORM" ( + lib.strings.concatStringsSep ";" [ + "gbm-kms" + "x11" + "eglstream-kms" + "wayland" + ] + )) + (lib.cmakeBool "MIR_ENABLE_TESTS" finalAttrs.finalPackage.doCheck) + # BadBufferTest.test_truncated_shm_file *doesn't* throw an error as the test expected, mark as such + # https://github.com/canonical/mir/pull/1947#issuecomment-811810872 + (lib.cmakeBool "MIR_SIGBUS_HANDLER_ENVIRONMENT_BROKEN" true) + (lib.cmakeFeature "MIR_EXCLUDE_TESTS" (lib.strings.concatStringsSep ";" [ ])) + # These get built but don't get executed by default, yet they get installed when tests are enabled + (lib.cmakeBool "MIR_BUILD_PERFORMANCE_TESTS" false) + (lib.cmakeBool "MIR_BUILD_PLATFORM_TEST_HARNESS" false) + # https://github.com/canonical/mir/issues/2987 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 + (lib.cmakeBool "MIR_USE_PRECOMPILED_HEADERS" false) + (lib.cmakeFeature "MIR_COMPILER_QUIRKS" ( + lib.strings.concatStringsSep ";" [ + # https://github.com/canonical/mir/issues/3017 actually affects x86_64 as well + "test_touchspot_controller.cpp:array-bounds" + ] + )) + ]; + + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; + + preCheck = '' + export XDG_RUNTIME_DIR=$TMP + ''; + + outputs = [ + "out" + "dev" + ]; + + passthru = { + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + providedSessions = lib.optionals (lib.strings.versionOlder version "2.16.0") [ + # More of an example than a fully functioning shell, some notes for the adventurous: + # - ~/.config/miral-shell.config is one possible user config location, + # accepted options=value are according to `mir-shell --help` + # - default icon theme setting is DMZ-White, needs vanilla-dmz installed & on XCURSOR_PATH + # or setting to be changed to an available theme + # - terminal emulator setting may need to be changed if miral-terminal script + # does not know about preferred terminal + "mir-shell" + ]; + } // lib.optionalAttrs (!pinned) { + updateScript = ./update.sh; + }; + + meta = with lib; { + description = "A display server and Wayland compositor developed by Canonical"; + homepage = "https://mir-server.io"; + changelog = "https://github.com/canonical/mir/releases/tag/v${finalAttrs.version}"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ + onny + OPNA2608 + ]; + platforms = platforms.linux; + pkgConfigModules = [ + "miral" + "mircommon" + "mircore" + "miroil" + "mirplatform" + "mir-renderer-gl-dev" + "mirrenderer" + "mirserver" + "mirtest" + "mirwayland" + ] ++ lib.optionals (lib.strings.versionOlder version "2.17.0") [ + "mircookie" + ] ++ lib.optionals (lib.strings.versionAtLeast version "2.17.0") [ + "mircommon-internal" + "mirserver-internal" + ]; + }; +}) diff --git a/pkgs/servers/mir/default.nix b/pkgs/servers/mir/default.nix index 743bf92b7609..b61419eacf47 100644 --- a/pkgs/servers/mir/default.nix +++ b/pkgs/servers/mir/default.nix @@ -1,205 +1,33 @@ +{ callPackage, fetchpatch }: + +let + common = callPackage ./common.nix { }; +in { - stdenv, - lib, - fetchFromGitHub, - gitUpdater, - testers, - cmake, - pkg-config, - python3, - boost, - egl-wayland, - freetype, - glib, - glm, - glog, - libdrm, - libepoxy, - libevdev, - libglvnd, - libinput, - libuuid, - libxcb, - libxkbcommon, - libxmlxx, - yaml-cpp, - lttng-ust, - mesa, - nettle, - udev, - wayland, - wayland-scanner, - xorg, - xwayland, - dbus, - gobject-introspection, - gtest, - umockdev, - wlcs, - validatePkgConfig, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "mir"; - version = "2.17.0"; - - src = fetchFromGitHub { - owner = "canonical"; - repo = "mir"; - rev = "v${finalAttrs.version}"; + mir = common { + version = "2.17.0"; hash = "sha256-iDJ7NIFoSSXjMrHK2I6Linf7z0hvShj8fr6BGxgK5gE="; }; - postPatch = '' - # Fix scripts that get run in tests - patchShebangs tools/detect_fd_leaks.bash tests/acceptance-tests/wayland-generator/test_wayland_generator.sh.in - - # Fix LD_PRELOADing in tests - substituteInPlace \ - cmake/MirCommon.cmake \ - tests/umock-acceptance-tests/CMakeLists.txt \ - tests/unit-tests/platforms/gbm-kms/kms/CMakeLists.txt \ - tests/unit-tests/CMakeLists.txt \ - --replace-warn 'LD_PRELOAD=liblttng-ust-fork.so' 'LD_PRELOAD=${lib.getLib lttng-ust}/lib/liblttng-ust-fork.so' \ - --replace-warn 'LD_PRELOAD=libumockdev-preload.so.0' 'LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0' - - # Fix Xwayland default - substituteInPlace src/miral/x11_support.cpp \ - --replace-fail '/usr/bin/Xwayland' '${lib.getExe xwayland}' - - # Fix paths for generating drm-formats - substituteInPlace src/platform/graphics/CMakeLists.txt \ - --replace-fail "/usr/include/drm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" \ - --replace-fail "/usr/include/libdrm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" - ''; - - strictDeps = true; - - nativeBuildInputs = [ - cmake - glib # gdbus-codegen - lttng-ust # lttng-gen-tp - pkg-config - (python3.withPackages ( - ps: - with ps; - [ pillow ] - ++ lib.optionals finalAttrs.finalPackage.doCheck [ - pygobject3 - python-dbusmock - ] - )) - validatePkgConfig - wayland-scanner - ]; - - buildInputs = [ - boost - egl-wayland - freetype - glib - glm - glog - libdrm - libepoxy - libevdev - libglvnd - libinput - libuuid - libxcb - libxkbcommon - libxmlxx - yaml-cpp - lttng-ust - mesa - nettle - udev - wayland - xorg.libX11 - xorg.libXcursor - xorg.xorgproto - xwayland - ]; - - nativeCheckInputs = [ - dbus - gobject-introspection - ]; - - checkInputs = [ - gtest - umockdev - wlcs - ]; - - cmakeFlags = [ - (lib.cmakeBool "BUILD_DOXYGEN" false) - (lib.cmakeFeature "MIR_PLATFORM" ( - lib.strings.concatStringsSep ";" [ - "gbm-kms" - "x11" - "eglstream-kms" - "wayland" - ] - )) - (lib.cmakeBool "MIR_ENABLE_TESTS" finalAttrs.finalPackage.doCheck) - # BadBufferTest.test_truncated_shm_file *doesn't* throw an error as the test expected, mark as such - # https://github.com/canonical/mir/pull/1947#issuecomment-811810872 - (lib.cmakeBool "MIR_SIGBUS_HANDLER_ENVIRONMENT_BROKEN" true) - (lib.cmakeFeature "MIR_EXCLUDE_TESTS" (lib.strings.concatStringsSep ";" [ ])) - # These get built but don't get executed by default, yet they get installed when tests are enabled - (lib.cmakeBool "MIR_BUILD_PERFORMANCE_TESTS" false) - (lib.cmakeBool "MIR_BUILD_PLATFORM_TEST_HARNESS" false) - # https://github.com/canonical/mir/issues/2987 - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 - (lib.cmakeBool "MIR_USE_PRECOMPILED_HEADERS" false) - (lib.cmakeFeature "MIR_COMPILER_QUIRKS" ( - lib.strings.concatStringsSep ";" [ - # https://github.com/canonical/mir/issues/3017 actually affects x86_64 as well - "test_touchspot_controller.cpp:array-bounds" - ] - )) - ]; - - doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; - - preCheck = '' - export XDG_RUNTIME_DIR=$TMP - ''; - - outputs = [ - "out" - "dev" - ]; - - passthru = { - tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; - updateScript = gitUpdater { rev-prefix = "v"; }; - }; - - meta = with lib; { - description = "A display server and Wayland compositor developed by Canonical"; - homepage = "https://mir-server.io"; - changelog = "https://github.com/canonical/mir/releases/tag/v${finalAttrs.version}"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ - onny - OPNA2608 - ]; - platforms = platforms.linux; - pkgConfigModules = [ - "miral" - "mircommon" - "mircommon-internal" - "mircore" - "miroil" - "mirplatform" - "mir-renderer-gl-dev" - "mirrenderer" - "mirserver" - "mirserver-internal" - "mirtest" - "mirwayland" + mir_2_15 = common { + version = "2.15.0"; + pinned = true; + hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E="; + patches = [ + # Fix gbm-kms tests + # Remove when version > 2.15.0 + (fetchpatch { + name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch"; + url = "https://github.com/canonical/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch"; + hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI="; + }) + # Fix external_client tests + # Remove when version > 2.15.0 + (fetchpatch { + name = "0002-mir-Fix-cannot_start_X_Server_and_outdated_tests.patch"; + url = "https://github.com/canonical/mir/commit/0704026bd06372ea8286a46d8c939286dd8a8c68.patch"; + hash = "sha256-k+51piPQandbHdm+ioqpBrb+C7Aqi2kugchAehZ1aiU="; + }) ]; }; -}) +} diff --git a/pkgs/servers/mir/update.sh b/pkgs/servers/mir/update.sh new file mode 100755 index 000000000000..bd969e9fceef --- /dev/null +++ b/pkgs/servers/mir/update.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p curl gnused jq common-updater-scripts + +set -eou pipefail + +version="$(curl --silent "https://api.github.com/repos/canonical/mir/releases" | jq '.[0].tag_name' --raw-output)" + +update-source-version mir "${version:1}" --file=./pkgs/servers/mir/default.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 299f15f74d68..c69fe5d73aa6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26175,7 +26175,9 @@ with pkgs; buildGoModule = buildGo122Module; }; - mir = callPackage ../servers/mir { }; + inherit (callPackage ../servers/mir { }) + mir + mir_2_15; miriway = callPackage ../applications/window-managers/miriway { }; From 5fca6e1eafa6db00a22a139bc02089b667569ea7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 12:51:37 +0000 Subject: [PATCH 77/83] artalk: 2.8.6 -> 2.8.7 --- pkgs/by-name/ar/artalk/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ar/artalk/package.nix b/pkgs/by-name/ar/artalk/package.nix index d2f71dac740f..aa682f4c52f7 100644 --- a/pkgs/by-name/ar/artalk/package.nix +++ b/pkgs/by-name/ar/artalk/package.nix @@ -8,13 +8,13 @@ }: buildGoModule rec { pname = "artalk"; - version = "2.8.6"; + version = "2.8.7"; src = fetchFromGitHub { owner = "ArtalkJS"; repo = "artalk"; rev = "v${version}"; - hash = "sha256-ya/by1PaWdYS/Fsbu6wDKuUcPy55/2F5hJEqko4K57o="; + hash = "sha256-fOuZiFomXGvRUXkpEM3BpJyMOtSm6/RHd0a7dPOsoT4="; }; web = fetchurl { url = "https://github.com/${src.owner}/${src.repo}/releases/download/v${version}/artalk_ui.tar.gz"; @@ -23,7 +23,7 @@ buildGoModule rec { CGO_ENABLED = 1; - vendorHash = "sha256-R4/keVGCpCZfLrb2OrK9vdK+N+VKFLAvFXEOA1feqKo="; + vendorHash = "sha256-Hm388ub/ja3PuSRqPkr6A+pgKUQ+czMj1WKU8W8H5wI="; ldflags = [ "-s" From ed95dface292bcc53f2f5a89c070f5b635fbb9f8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 13:10:41 +0000 Subject: [PATCH 78/83] fulcrum: 1.10.0 -> 1.11.0 --- pkgs/applications/blockchains/fulcrum/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/fulcrum/default.nix b/pkgs/applications/blockchains/fulcrum/default.nix index 655a65936857..189af6c02869 100644 --- a/pkgs/applications/blockchains/fulcrum/default.nix +++ b/pkgs/applications/blockchains/fulcrum/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "fulcrum"; - version = "1.10.0"; + version = "1.11.0"; src = fetchFromGitHub { owner = "cculianu"; repo = "Fulcrum"; rev = "v${version}"; - sha256 = "sha256-HTyOlbrmZHN2MbG70auGkuPPo3fTN/oCHi6Lwnq+gKk="; + sha256 = "sha256-VY6yUdmU8MLwSH3VeAWCGbdouOxGrhDc1usYj70jrd8="; }; nativeBuildInputs = [ pkg-config qmake ]; From 59435f1fa3f820634b192da10e1917840f566a6e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 16:35:44 +0200 Subject: [PATCH 79/83] python311Packages.forbiddenfruit: add changelog to meta --- pkgs/development/python-modules/forbiddenfruit/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/forbiddenfruit/default.nix b/pkgs/development/python-modules/forbiddenfruit/default.nix index a9222152c26e..178f97c0f3d6 100644 --- a/pkgs/development/python-modules/forbiddenfruit/default.nix +++ b/pkgs/development/python-modules/forbiddenfruit/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "clarete"; repo = "forbiddenfruit"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-yHIZsVn2UVmWeBNIzWDE6AOwAXZilPqXo+bVtXqGkJk="; }; @@ -39,9 +39,11 @@ buildPythonPackage rec { meta = with lib; { description = "Patch python built-in objects"; homepage = "https://github.com/clarete/forbiddenfruit"; + changelog = "https://github.com/clarete/forbiddenfruit/releases/tag/${version}"; license = with licenses; [ mit gpl3Plus ]; + maintainers = with maintainers; [ ]; }; } From 990107a3d345c6ff6db60d07ed82731e9a5ab658 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 17:12:36 +0200 Subject: [PATCH 80/83] python311Packages.repl-python-wakatime: refactor - use pytestCheckHook - add changelog to meta --- .../repl-python-wakatime/default.nix | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/repl-python-wakatime/default.nix b/pkgs/development/python-modules/repl-python-wakatime/default.nix index d8f3f2c2945b..72bdb809a8cb 100644 --- a/pkgs/development/python-modules/repl-python-wakatime/default.nix +++ b/pkgs/development/python-modules/repl-python-wakatime/default.nix @@ -1,47 +1,51 @@ -{ lib -, buildPythonPackage -, pythonOlder -, fetchPypi -, ptpython -, ipython -, setuptools -, setuptools-scm -, setuptools-generate +{ + lib, + buildPythonPackage, + fetchPypi, + ipython, + keyring, + ptpython, + pytestCheckHook, + pythonOlder, + setuptools, + setuptools-generate, + setuptools-scm, }: -let +buildPythonPackage rec { pname = "repl-python-wakatime"; version = "0.0.11"; -in + pyproject = true; -buildPythonPackage { - inherit pname version; - format = "pyproject"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-HoCdeo03Lf3g5Xg0GgAyWOu2PtGqy33vg5bQrfkEPkE="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm setuptools-generate ]; - propagatedBuildInputs = [ + dependencies = [ ptpython ipython ]; - pythonImportsCheck = [ - "repl_python_wakatime" + nativeCheckInputs = [ + keyring + pytestCheckHook ]; + pythonImportsCheck = [ "repl_python_wakatime" ]; + meta = with lib; { description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity"; homepage = "https://github.com/wakatime/repl-python-wakatime"; + changelog = "https://github.com/wakatime/repl-python-wakatime/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ jfvillablanca ]; }; From e69ce065cf19c1f122d941c6aed72f318f07e483 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 15:32:09 +0000 Subject: [PATCH 81/83] vscode-extensions.mgt19937.typst-preview: 0.11.6 -> 0.11.7 --- .../vscode/extensions/mgt19937.typst-preview/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/mgt19937.typst-preview/default.nix b/pkgs/applications/editors/vscode/extensions/mgt19937.typst-preview/default.nix index 615589bf8dd7..c3319e375d09 100644 --- a/pkgs/applications/editors/vscode/extensions/mgt19937.typst-preview/default.nix +++ b/pkgs/applications/editors/vscode/extensions/mgt19937.typst-preview/default.nix @@ -12,8 +12,8 @@ vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { name = "typst-preview"; publisher = "mgt19937"; - version = "0.11.6"; - hash = "sha256-8//6eUzMg5AX9NNQm5mzNGlOG50Cxl0Rt1+dPq0J2DU="; + version = "0.11.7"; + hash = "sha256-70dVGoSBDKCtvn7xiC/gAh4OQ8nNDiI/M900r2zlOfU="; }; buildInputs = [ typst-preview ]; From 42a580f70aa101e973d33f6d79af3e7ff32aa580 Mon Sep 17 00:00:00 2001 From: Patka Date: Sun, 9 Jun 2024 17:51:23 +0200 Subject: [PATCH 82/83] php81Packages.php-parallel-lint: 1.3.2.999 -> 1.4.0 release notes: https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/tag/v1.4.0 --- .../php-parallel-lint/composer.lock | 1933 +---------------- .../php-parallel-lint/default.nix | 8 +- 2 files changed, 52 insertions(+), 1889 deletions(-) diff --git a/pkgs/development/php-packages/php-parallel-lint/composer.lock b/pkgs/development/php-packages/php-parallel-lint/composer.lock index c5403d92b62d..0577f35d1ed9 100644 --- a/pkgs/development/php-packages/php-parallel-lint/composer.lock +++ b/pkgs/development/php-packages/php-parallel-lint/composer.lock @@ -4,422 +4,83 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "22c96862ce41ff63a0e4cc20b7aa9dd0", + "content-hash": "6af3d2163a5c70028dd91fd6716df630", "packages": [], "packages-dev": [ { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.2", + "name": "nette/tester", + "version": "v2.5.2", "source": { "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + "url": "https://github.com/nette/tester.git", + "reference": "328d7b64579cdbc82e0e01d92ea9c58b9cf0a327" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "url": "https://api.github.com/repos/nette/tester/zipball/328d7b64579cdbc82e0e01d92ea9c58b9cf0a327", + "reference": "328d7b64579cdbc82e0e01d92ea9c58b9cf0a327", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + "php": ">=8.0 <8.4" }, "require-dev": { - "composer/composer": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0" - }, - "type": "composer-plugin", - "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" - }, - "autoload": { - "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" - }, - { - "name": "Contributors", - "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", - "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcbf", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" - ], - "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" - }, - "time": "2022-02-04T12:51:07+00:00" - }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.1", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2023-03-08T13:26:56+00:00" - }, - { - "name": "nikic/php-parser", - "version": "v5.0.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "ext-json": "*", - "ext-tokenizer": "*", - "php": ">=7.4" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "ext-simplexml": "*", + "phpstan/phpstan": "^1.0" }, "bin": [ - "bin/php-parse" + "src/tester" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "2.5-dev" } }, "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" ], "authors": [ { - "name": "Nikita Popov" + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Miloslav Hůla", + "homepage": "https://github.com/milo" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" } ], - "description": "A PHP parser written in PHP", + "description": "Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏", + "homepage": "https://tester.nette.org", "keywords": [ - "parser", - "php" + "Xdebug", + "assertions", + "clover", + "code coverage", + "nette", + "pcov", + "phpdbg", + "phpunit", + "testing", + "unit" ], "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" + "issues": "https://github.com/nette/tester/issues", + "source": "https://github.com/nette/tester/tree/v2.5.2" }, - "time": "2024-01-07T17:17:35+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Library for handling version information and constraints", - "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "php-parallel-lint/php-code-style", - "version": "v2.0", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Code-Style.git", - "reference": "ffc9e7dd5ea867f7bf2983d922ba6f6697f1ee9b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Code-Style/zipball/ffc9e7dd5ea867f7bf2983d922ba6f6697f1ee9b", - "reference": "ffc9e7dd5ea867f7bf2983d922ba6f6697f1ee9b", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7", - "phpcompatibility/php-compatibility": "^9.3", - "squizlabs/php_codesniffer": "^3.6.1" - }, - "replace": { - "jakub-onderka/php-code-style": "*" - }, - "type": "phpcodesniffer-standard", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com", - "homepage": "http://www.acci.cz" - } - ], - "description": "PHP_CodeSniffer rules for projects in the PHP Parallel Lint organisation", - "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Code-Style/issues", - "source": "https://github.com/php-parallel-lint/PHP-Code-Style/tree/v2.0" - }, - "time": "2021-12-18T02:45:56+00:00" + "time": "2024-01-08T11:41:26+00:00" }, { "name": "php-parallel-lint/php-console-color", @@ -522,1466 +183,18 @@ }, "time": "2022-02-18T08:23:19+00:00" }, - { - "name": "phpcompatibility/php-compatibility", - "version": "9.3.5", - "source": { - "type": "git", - "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", - "shasum": "" - }, - "require": { - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" - }, - "conflict": { - "squizlabs/php_codesniffer": "2.6.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" - }, - "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", - "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." - }, - "type": "phpcodesniffer-standard", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Wim Godden", - "homepage": "https://github.com/wimg", - "role": "lead" - }, - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" - } - ], - "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", - "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", - "keywords": [ - "compatibility", - "phpcs", - "standards" - ], - "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibility" - }, - "time": "2019-12-27T09:44:58+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.30", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "PHP extension that provides line coverage", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-12-22T06:47:57+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.6.16", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1 || ^2", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" - }, - "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.6-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2024-01-19T07:03:14+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T12:41:17+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-12-22T06:19:30+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-05-07T05:35:17+00:00" - }, - { - "name": "sebastian/environment", - "version": "5.1.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:03:51+00:00" - }, - { - "name": "sebastian/exporter", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "https://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T06:03:37+00:00" - }, - { - "name": "sebastian/global-state", - "version": "5.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-08-02T09:26:13+00:00" - }, - { - "name": "sebastian/lines-of-code", - "version": "1.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-12-22T06:20:34+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:12:34+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "https://github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" - }, - { - "name": "sebastian/type", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:13:03+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:39:44+00:00" - }, { "name": "squizlabs/php_codesniffer", - "version": "3.9.0", + "version": "3.10.1", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b" + "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/d63cee4890a8afaf86a22e51ad4d97c91dd4579b", - "reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/8f90f7a53ce271935282967f53d0894f8f1ff877", + "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877", "shasum": "" }, "require": { @@ -2048,57 +261,7 @@ "type": "open_collective" } ], - "time": "2024-02-16T15:06:51+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.2.2", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-05-22T21:24:41+00:00" } ], "aliases": [], diff --git a/pkgs/development/php-packages/php-parallel-lint/default.nix b/pkgs/development/php-packages/php-parallel-lint/default.nix index dc14ac21981e..342e4158f07a 100644 --- a/pkgs/development/php-packages/php-parallel-lint/default.nix +++ b/pkgs/development/php-packages/php-parallel-lint/default.nix @@ -6,17 +6,17 @@ php.buildComposerProject (finalAttrs: { pname = "php-parallel-lint"; - version = "1.3.2.999"; + version = "1.4.0"; src = fetchFromGitHub { owner = "php-parallel-lint"; repo = "PHP-Parallel-Lint"; - rev = "539292fea03d718cc86e7137ad72ea35b694f2bf"; - hash = "sha256-VIBuS4PwRt20Ic5gYAXTv8p/5Nq/0B3VwMcp9zKbu5U="; + rev = "v${finalAttrs.version}"; + hash = "sha256-g5e/yfvfq55MQDux3JRDvhaYEay68Q4u1VfIwDRgv7I="; }; composerLock = ./composer.lock; - vendorHash = "sha256-PHQ0N1eFCM4s/aPVpTsyZN5gnQpNe9Wfs6CG2RNxxbk="; + vendorHash = "sha256-NZLGeX1i+E621UGYeWn5tKufDbCLv4iD1VXJcnhfleY="; meta = { description = "Tool to check syntax of PHP files faster than serial check with fancier output"; From c49c31fc90c90332c0564dfa59e6b325a877c419 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 9 Jun 2024 13:09:39 +0200 Subject: [PATCH 83/83] python311Packages.tensordict: disable flaky test on aarch64-linux --- .../development/python-modules/tensordict/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/tensordict/default.nix b/pkgs/development/python-modules/tensordict/default.nix index 30e98654d25c..2fa2944a916d 100644 --- a/pkgs/development/python-modules/tensordict/default.nix +++ b/pkgs/development/python-modules/tensordict/default.nix @@ -57,22 +57,25 @@ buildPythonPackage rec { disabledTests = # Hangs forever [ "test_copy_onto" ] - # RuntimeError: internal error ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + # RuntimeError: internal error "test_add_scale_sequence" "test_modules" "test_setattr" + + # _queue.Empty errors in multiprocessing tests + "test_isend" ]; # ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package disabledTestPaths = lib.optionals stdenv.isDarwin [ "test/test_distributed.py" ]; - meta = with lib; { + meta = { description = "A pytorch dedicated tensor container"; changelog = "https://github.com/pytorch/tensordict/releases/tag/v${version}"; homepage = "https://github.com/pytorch/tensordict"; - license = licenses.mit; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; # No python 3.12 support yet: https://github.com/pytorch/rl/issues/2035 broken = pythonAtLeast "3.12"; };