From b1a1cb51eaca023fb664f090e2de45e80908ed5e Mon Sep 17 00:00:00 2001 From: Finn Behrens Date: Wed, 14 Sep 2022 18:13:51 +0200 Subject: [PATCH 01/41] moodle: 4.0.2 -> 4.0.4 --- pkgs/servers/web-apps/moodle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/moodle/default.nix b/pkgs/servers/web-apps/moodle/default.nix index 5c021430eaf5..8dbf9a385a8a 100644 --- a/pkgs/servers/web-apps/moodle/default.nix +++ b/pkgs/servers/web-apps/moodle/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchurl, writeText, plugins ? [ ] }: let - version = "4.0.2"; + version = "4.0.4"; versionParts = lib.take 2 (lib.splitVersion version); # 4.2 -> 402, 3.11 -> 311 @@ -15,7 +15,7 @@ in stdenv.mkDerivation rec { src = fetchurl { url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz"; - sha256 = "sha256-Ouz1U5bMzwzQZiMmVOrx3oWtqyn7GE/oeaTrsXmsBJI="; + sha256 = "sha256-mwfUTMjNj9BKqIFezaekUtR9lwAMmsHaAUt6rkqfW8k="; }; phpConfig = writeText "config.php" '' From 0cfbf8139d96c05e1a217bbfef3c9941d6e2d7e4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Sep 2022 01:17:05 +0000 Subject: [PATCH 02/41] polkadot: 0.9.28 -> 0.9.29 --- pkgs/applications/blockchains/polkadot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix index 2e7df608eba0..92342bfda785 100644 --- a/pkgs/applications/blockchains/polkadot/default.nix +++ b/pkgs/applications/blockchains/polkadot/default.nix @@ -10,13 +10,13 @@ }: rustPlatform.buildRustPackage rec { pname = "polkadot"; - version = "0.9.28"; + version = "0.9.29"; src = fetchFromGitHub { owner = "paritytech"; repo = "polkadot"; rev = "v${version}"; - sha256 = "sha256-PYPNbysk9jHGtAUGr8O/Ah0ArTNKQYYToR5djG+XujI="; + sha256 = "sha256-/IJs3153KzhGf5I6LueljzRhDl/PYYlPseF6wCh+u3M="; # the build process of polkadot requires a .git folder in order to determine # the git commit hash that is being built and add it to the version string. @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { ''; }; - cargoSha256 = "sha256-Dqcjt3yvZdaHp6sIQFo9wYH/icIInyXqKHE1Q/JjrwY="; + cargoSha256 = "sha256-mI8VvTlM9ynstDBC0ubQkzg3D2ZXuWqJGS/Y23D6dU0="; buildInputs = lib.optional stdenv.isDarwin [ Security ]; From 99dc9b9c164af3bc6c08ff4a4db4c2b58e368160 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Fri, 23 Sep 2022 23:39:38 +0300 Subject: [PATCH 03/41] nixos/endlessh-go: init module --- .../from_md/release-notes/rl-2211.section.xml | 7 + .../manual/release-notes/rl-2211.section.md | 2 + nixos/modules/module-list.nix | 1 + .../modules/services/security/endlessh-go.nix | 138 ++++++++++++++++++ nixos/tests/all-tests.nix | 1 + nixos/tests/endlessh-go.nix | 58 ++++++++ pkgs/servers/endlessh-go/default.nix | 3 + 7 files changed, 210 insertions(+) create mode 100644 nixos/modules/services/security/endlessh-go.nix create mode 100644 nixos/tests/endlessh-go.nix diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index 0f1dffc798e7..17f0aea9dcee 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -239,6 +239,13 @@ services.alps. + + + endlessh-go, + an SSH tarpit that exposes Prometheus metrics. Available as + services.endlessh-go. + + netbird, a zero diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 7214937781d2..7e1a87e89b9e 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -87,6 +87,8 @@ In addition to numerous new and upgraded packages, this release has the followin - [alps](https://git.sr.ht/~migadu/alps), a simple and extensible webmail. Available as [services.alps](#opt-services.alps.enable). +- [endlessh-go](https://github.com/shizunge/endlessh-go), an SSH tarpit that exposes Prometheus metrics. Available as [services.endlessh-go](#opt-services.endlessh-go.enable). + - [netbird](https://netbird.io), a zero configuration VPN. Available as [services.netbird](options.html#opt-services.netbird.enable). diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 699c5c7dead4..45fbe1d1ce1b 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -1000,6 +1000,7 @@ ./services/security/certmgr.nix ./services/security/cfssl.nix ./services/security/clamav.nix + ./services/security/endlessh-go.nix ./services/security/fail2ban.nix ./services/security/fprintd.nix ./services/security/haka.nix diff --git a/nixos/modules/services/security/endlessh-go.nix b/nixos/modules/services/security/endlessh-go.nix new file mode 100644 index 000000000000..61cca5531739 --- /dev/null +++ b/nixos/modules/services/security/endlessh-go.nix @@ -0,0 +1,138 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.services.endlessh-go; +in +{ + options.services.endlessh-go = { + enable = mkEnableOption (mdDoc "endlessh-go service"); + + listenAddress = mkOption { + type = types.str; + default = "0.0.0.0"; + example = "[::]"; + description = mdDoc '' + Interface address to bind the endlessh-go daemon to SSH connections. + ''; + }; + + port = mkOption { + type = types.port; + default = 2222; + example = 22; + description = mdDoc '' + Specifies on which port the endlessh-go daemon listens for SSH + connections. + + Setting this to `22` may conflict with {option}`services.openssh`. + ''; + }; + + prometheus = { + enable = mkEnableOption (mdDoc "Prometheus integration"); + + listenAddress = mkOption { + type = types.str; + default = "0.0.0.0"; + example = "[::]"; + description = mdDoc '' + Interface address to bind the endlessh-go daemon to answer Prometheus + queries. + ''; + }; + + port = mkOption { + type = types.port; + default = 2112; + example = 9119; + description = mdDoc '' + Specifies on which port the endlessh-go daemon listens for Prometheus + queries. + ''; + }; + }; + + extraOptions = mkOption { + type = with types; listOf str; + default = [ ]; + example = [ "-conn_type=tcp4" "-max_clients=8192" ]; + description = mdDoc '' + Additional command line options to pass to the endlessh-go daemon. + ''; + }; + + openFirewall = mkOption { + type = types.bool; + default = false; + description = lib.mdDoc '' + Whether to open a firewall port for the SSH listener. + ''; + }; + }; + + config = mkIf cfg.enable { + systemd.services.endlessh-go = { + description = "SSH tarpit"; + requires = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + serviceConfig = + let + needsPrivileges = cfg.port < 1024 || cfg.prometheus.port < 1024; + capabilities = [ "" ] ++ optionals needsPrivileges [ "CAP_NET_BIND_SERVICE" ]; + rootDirectory = "/run/endlessh-go"; + in + { + Restart = "always"; + ExecStart = with cfg; concatStringsSep " " ([ + "${pkgs.endlessh-go}/bin/endlessh-go" + "-logtostderr" + "-host=${listenAddress}" + "-port=${toString port}" + ] ++ optionals prometheus.enable [ + "-enable_prometheus" + "-prometheus_host=${prometheus.listenAddress}" + "-prometheus_port=${toString prometheus.port}" + ] ++ extraOptions); + DynamicUser = true; + RootDirectory = rootDirectory; + BindReadOnlyPaths = [ builtins.storeDir ]; + InaccessiblePaths = [ "-+${rootDirectory}" ]; + RuntimeDirectory = baseNameOf rootDirectory; + RuntimeDirectoryMode = "700"; + AmbientCapabilities = capabilities; + CapabilityBoundingSet = capabilities; + UMask = "0077"; + LockPersonality = true; + MemoryDenyWriteExecute = true; + NoNewPrivileges = true; + PrivateDevices = true; + PrivateTmp = true; + PrivateUsers = !needsPrivileges; + ProtectClock = true; + ProtectControlGroups = true; + ProtectHome = true; + ProtectHostname = true; + ProtectKernelLogs = true; + ProtectKernelModules = true; + ProtectKernelTunables = true; + ProtectSystem = "strict"; + ProtectProc = "noaccess"; + ProcSubset = "pid"; + RemoveIPC = true; + RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ]; + RestrictNamespaces = true; + RestrictRealtime = true; + RestrictSUIDSGID = true; + SystemCallArchitectures = "native"; + SystemCallFilter = [ "@system-service" "~@resources" "~@privileged" ]; + }; + }; + + networking.firewall.allowedTCPPorts = with cfg; + optionals openFirewall [ port prometheus.port ]; + }; + + meta.maintainers = with maintainers; [ azahi ]; +} diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index f4ec831caa7e..b856c6823dc6 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -142,6 +142,7 @@ in { ejabberd = handleTest ./xmpp/ejabberd.nix {}; elk = handleTestOn ["x86_64-linux"] ./elk.nix {}; emacs-daemon = handleTest ./emacs-daemon.nix {}; + endlessh-go = handleTest ./endlessh-go.nix {}; engelsystem = handleTest ./engelsystem.nix {}; enlightenment = handleTest ./enlightenment.nix {}; env = handleTest ./env.nix {}; diff --git a/nixos/tests/endlessh-go.nix b/nixos/tests/endlessh-go.nix new file mode 100644 index 000000000000..b261dbf1c560 --- /dev/null +++ b/nixos/tests/endlessh-go.nix @@ -0,0 +1,58 @@ +import ./make-test-python.nix ({ lib, pkgs, ... }: +{ + name = "endlessh-go"; + meta.maintainers = with lib.maintainers; [ azahi ]; + + nodes = { + server = { ... }: { + services.endlessh-go = { + enable = true; + prometheus.enable = true; + openFirewall = true; + }; + + specialisation = { + unprivileged.configuration = { + services.endlessh-go = { + port = 2222; + prometheus.port = 9229; + }; + }; + + privileged.configuration = { + services.endlessh-go = { + port = 22; + prometheus.port = 92; + }; + }; + }; + }; + + client = { pkgs, ... }: { + environment.systemPackages = with pkgs; [ curl netcat ]; + }; + }; + + testScript = '' + def activate_specialisation(name: str): + server.succeed(f"/run/booted-system/specialisation/{name}/bin/switch-to-configuration test >&2") + + start_all() + + with subtest("Unprivileged"): + activate_specialisation("unprivileged") + server.wait_for_unit("endlessh-go.service") + server.wait_for_open_port(2222) + server.wait_for_open_port(9229) + client.succeed("nc -dvW5 server 2222") + client.succeed("curl -kv server:9229/metrics") + + with subtest("Privileged"): + activate_specialisation("privileged") + server.wait_for_unit("endlessh-go.service") + server.wait_for_open_port(22) + server.wait_for_open_port(92) + client.succeed("nc -dvW5 server 22") + client.succeed("curl -kv server:92/metrics") + ''; +}) diff --git a/pkgs/servers/endlessh-go/default.nix b/pkgs/servers/endlessh-go/default.nix index ffd8c355b841..f6415ee72acd 100644 --- a/pkgs/servers/endlessh-go/default.nix +++ b/pkgs/servers/endlessh-go/default.nix @@ -1,6 +1,7 @@ { lib , buildGoModule , fetchFromGitHub +, nixosTests }: buildGoModule rec { @@ -18,6 +19,8 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; + passthru.tests = nixosTests.endlessh-go; + meta = with lib; { description = "An implementation of endlessh exporting Prometheus metrics"; homepage = "https://github.com/shizunge/endlessh-go"; From 9b22789d628f93d813defd93a28bed45518e4bbc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 2 Oct 2022 05:15:54 +0000 Subject: [PATCH 04/41] argo: 3.3.9 -> 3.4.1 --- pkgs/applications/networking/cluster/argo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/argo/default.nix b/pkgs/applications/networking/cluster/argo/default.nix index 1d799c9fe9fd..3fd45f3e9c28 100644 --- a/pkgs/applications/networking/cluster/argo/default.nix +++ b/pkgs/applications/networking/cluster/argo/default.nix @@ -19,16 +19,16 @@ let in buildGoModule rec { pname = "argo"; - version = "3.3.9"; + version = "3.4.1"; src = fetchFromGitHub { owner = "argoproj"; repo = "argo"; rev = "v${version}"; - sha256 = "sha256-BDanFiLhucNE4uvUxKDXAK1W755VfNytQ3gXuLIKfSE="; + sha256 = "sha256-bAfND84mbJulv0IO6JF2c+ZbwKeND8AVAJHmdMmhZ/s="; }; - vendorSha256 = "sha256-303+LE3n3lltuCf+Pc7S+qHdsjQDt9IAu9Kd4sUaiYI="; + vendorSha256 = "sha256-S4p56/OZpufpi71aueYTvPcM4LoZWyAhcAzUUUrUw4Q="; doCheck = false; From 0d3a23d218e69f830d48457ad489ebce391fa5d8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Oct 2022 19:06:27 +0000 Subject: [PATCH 05/41] python310Packages.timetagger: 22.6.6 -> 22.9.3 --- pkgs/development/python-modules/timetagger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/timetagger/default.nix b/pkgs/development/python-modules/timetagger/default.nix index b9454f9ad097..5bd7d15d1121 100644 --- a/pkgs/development/python-modules/timetagger/default.nix +++ b/pkgs/development/python-modules/timetagger/default.nix @@ -16,13 +16,13 @@ buildPythonPackage rec { pname = "timetagger"; - version = "22.6.6"; + version = "22.9.3"; src = fetchFromGitHub { owner = "almarklein"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-2qPtC8gsRw9ZOkl+H8euTwTrPVAB0cdfFflhbLqXz/I="; + sha256 = "sha256-9YmO0nD6QSFMSXsWlfbRxNWW1nwe7WXinC9pLe7rDEY="; }; propagatedBuildInputs = [ From 2e4667552573d58485627936ea1cd902b5776c10 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Wed, 5 Oct 2022 01:07:46 +0200 Subject: [PATCH 06/41] librist: init at v0.2.7 --- .../development/libraries/librist/default.nix | 43 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/development/libraries/librist/default.nix diff --git a/pkgs/development/libraries/librist/default.nix b/pkgs/development/libraries/librist/default.nix new file mode 100644 index 000000000000..134b3acf2057 --- /dev/null +++ b/pkgs/development/libraries/librist/default.nix @@ -0,0 +1,43 @@ +{ stdenv +, lib +, fetchFromGitLab +, meson +, ninja +, pkg-config +, cjson +, cmocka +, mbedtls +}: + +stdenv.mkDerivation rec { + pname = "librist"; + version = "0.2.7"; + + src = fetchFromGitLab { + domain = "code.videolan.org"; + owner = "rist"; + repo = "librist"; + rev = "v${version}"; + sha256 = "sha256-qQG2eRAPAQgxghMeUZk3nwyacX6jDl33F8BWW63nM3c="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ]; + + buildInputs = [ + cjson + cmocka + mbedtls + ]; + + meta = with lib; { + description = "A library that can be used to easily add the RIST protocol to your application."; + homepage = "https://code.videolan.org/rist/librist"; + license = with licenses; [ bsd2 mit isc ]; + maintainers = with maintainers; [ raphaelr sebtm ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b0266aa4d03f..6f1e46532c71 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25981,6 +25981,8 @@ with pkgs; libratbag = callPackage ../os-specific/linux/libratbag { }; + librist = callPackage ../development/libraries/librist { }; + libre-baskerville = callPackage ../data/fonts/libre-baskerville { }; libre-bodoni = callPackage ../data/fonts/libre-bodoni { }; From 7be27f5247ef866bf7fc33fbbb29f57bc796d2db Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 6 Oct 2022 23:29:38 +0100 Subject: [PATCH 07/41] libretro.beetle-supafaust: init at unstable-2022-10-01 --- pkgs/applications/emulators/retroarch/cores.nix | 8 ++++++++ pkgs/applications/emulators/retroarch/hashes.json | 6 ++++++ pkgs/applications/emulators/retroarch/update_cores.py | 1 + 3 files changed, 15 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 0052212ec691..57ae88dbd42c 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -204,6 +204,14 @@ in makefile = "Makefile"; }; + beetle-supafaust = mkLibRetroCore { + core = "mednafen-supafaust"; + src = getCoreSrc "beetle-supafaust"; + description = "Port of Mednafen's experimental snes_faust core to libretro"; + license = lib.licenses.gpl2Plus; + makefile = "Makefile"; + }; + beetle-supergrafx = mkLibRetroCore { core = "mednafen-supergrafx"; src = getCoreSrc "beetle-supergrafx"; diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 71eec60faf0e..fac926c9062b 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -53,6 +53,12 @@ "rev": "d770563fc3c4bd9abb522952cefb4aa923ba0b91", "sha256": "zHPtfgp9hc8Q4gXJ5VgfJLWLeYjCsQhkfU1T5RM7AL0=" }, + "beetle-supafaust": { + "owner": "libretro", + "repo": "supafaust", + "rev": "85b5527231a6ad6f9475c15c8ff1b9d16884cd30", + "sha256": "6ynxRfGYlp7Fuq3XT2uHsR9Uwu7WMIYjclLc0Pf/qNM=" + }, "beetle-supergrafx": { "owner": "libretro", "repo": "beetle-supergrafx-libretro", diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py index eb8ae705af73..b546569d283f 100755 --- a/pkgs/applications/emulators/retroarch/update_cores.py +++ b/pkgs/applications/emulators/retroarch/update_cores.py @@ -18,6 +18,7 @@ CORES = { "beetle-psx": {"repo": "beetle-psx-libretro"}, "beetle-saturn": {"repo": "beetle-saturn-libretro"}, "beetle-snes": {"repo": "beetle-bsnes-libretro"}, + "beetle-supafaust": {"repo": "supafaust"}, "beetle-supergrafx": {"repo": "beetle-supergrafx-libretro"}, "beetle-vb": {"repo": "beetle-vb-libretro"}, "beetle-wswan": {"repo": "beetle-wswan-libretro"}, From 9ab916905a5cd0bb4f47ada93f81b587d1fc8565 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Wed, 5 Oct 2022 21:46:35 -0600 Subject: [PATCH 08/41] python-modules/sip: 6.6.2 -> 6.7.1 --- .../python-modules/sip/default.nix | 24 ++++--------------- .../sip/fix-manylinux-version.patch | 19 --------------- 2 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 pkgs/development/python-modules/sip/fix-manylinux-version.patch diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index 68052145766c..ab2701fefdc3 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -2,35 +2,19 @@ buildPythonPackage rec { pname = "sip"; - version = "6.6.2"; + version = "6.7.1"; src = fetchPypi { pname = "sip"; inherit version; - sha256 = "sha256-Dj76wcXf2OUlrlcUCSffJpk+E/WLidFXfDFPQQW/2Q0="; + sha256 = "sha256-KBcP34gPk3Am/If6qcF3sGLDU8XRaeoyQrB4AmFN3Qw="; }; - patches = [ - # on non-x86 Linux platforms, sip incorrectly detects the manylinux version - # and PIP will refuse to install the resulting wheel. - # remove once upstream fixes this, hopefully in 6.5.2 - ./fix-manylinux-version.patch - - # fix issue triggered by QGIS 3.26.x, already fixed upstream - # in SIP, waiting for release past 6.6.2 - (fetchpatch { - url = "https://riverbankcomputing.com/hg/sip/raw-diff/323d39a2d602/sipbuild/generator/parser/instantiations.py"; - hash = "sha256-QEQuRzXA+wK9Dt22U/LgIwtherY9pJURGJYpKpJkiok="; - }) - ]; - propagatedBuildInputs = [ packaging ply toml ]; # There aren't tests doCheck = false; - pythonImportsCheck = [ "sipbuild" ]; - # FIXME: Why isn't this detected automatically? # Needs to be specified in pyproject.toml, e.g.: # [tool.sip.bindings.MODULE] @@ -45,10 +29,12 @@ buildPythonPackage rec { else throw "unsupported platform"; + pythonImportsCheck = [ "sipbuild" ]; + meta = with lib; { description = "Creates C++ bindings for Python modules"; homepage = "https://riverbankcomputing.com/"; license = licenses.gpl3Only; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ nrdxp ]; }; } diff --git a/pkgs/development/python-modules/sip/fix-manylinux-version.patch b/pkgs/development/python-modules/sip/fix-manylinux-version.patch deleted file mode 100644 index 4b8e99ae8e47..000000000000 --- a/pkgs/development/python-modules/sip/fix-manylinux-version.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/sipbuild/project.py b/sipbuild/project.py ---- a/sipbuild/project.py -+++ b/sipbuild/project.py -@@ -336,13 +336,13 @@ class Project(AbstractProject, Configurable): - # We expect a two part tag so leave anything else unchanged. - parts = platform_tag.split('-') - if len(parts) == 2: -- if self.minimum_glibc_version > (2, 17): -+ if self.minimum_glibc_version > (2, 17) or parts[1] not in {"x86_64", "i686", "aarch64", "armv7l", "ppc64", "ppc64le", "s390x"}: - # PEP 600. - parts[0] = 'manylinux' - parts.insert(1, - '{}.{}'.format(self.minimum_glibc_version[0], - self.minimum_glibc_version[1])) -- elif self.minimum_glibc_version > (2, 12): -+ elif self.minimum_glibc_version > (2, 12) or parts[1] not in {"x86_64", "i686"}: - # PEP 599. - parts[0] = 'manylinux2014' - elif self.minimum_glibc_version > (2, 5): From 8b091f7c247a5057d3f31aaf07759021d1782a16 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Wed, 5 Oct 2022 21:49:02 -0600 Subject: [PATCH 09/41] python-modules/pyqt-builder: 1.13.0 -> 1.14.0 --- .../python-modules/pyqt-builder/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pyqt-builder/default.nix b/pkgs/development/python-modules/pyqt-builder/default.nix index 5e87e700a55f..1aef6e13d2c7 100644 --- a/pkgs/development/python-modules/pyqt-builder/default.nix +++ b/pkgs/development/python-modules/pyqt-builder/default.nix @@ -2,20 +2,14 @@ buildPythonPackage rec { pname = "pyqt-builder"; - version = "1.13.0"; + version = "1.14.0"; src = fetchPypi { pname = "PyQt-builder"; inherit version; - sha256 = "sha256-SHdYDDjOtTIOEps4HQg7CoYBxoFm2LmXB/CPoKFonu8="; + sha256 = "sha256-Z1WTHG0viUBVPgM00QyTPOXMGLZEJelP2hrM9P93T1k="; }; - patches = [ - # use the sip-distinfo executable from PATH instead of trying to guess, - # we know it's the right one because it's the _only_ one - ./use-sip-distinfo-from-path.patch - ]; - propagatedBuildInputs = [ packaging sip ]; pythonImportsCheck = [ "pyqtbuild" ]; @@ -27,6 +21,6 @@ buildPythonPackage rec { description = "PEP 517 compliant build system for PyQt"; homepage = "https://pypi.org/project/PyQt-builder/"; license = licenses.gpl3Only; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ nrdxp ]; }; } From ae830d5410dd3b7011e6b3bf63fb080cc27a7d94 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Thu, 6 Oct 2022 09:39:14 -0600 Subject: [PATCH 10/41] init: pyqt6-webengine at 6.4.0 --- .../python-modules/pyqt6-webengine.nix | 89 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 91 insertions(+) create mode 100644 pkgs/development/python-modules/pyqt6-webengine.nix diff --git a/pkgs/development/python-modules/pyqt6-webengine.nix b/pkgs/development/python-modules/pyqt6-webengine.nix new file mode 100644 index 000000000000..96fa057a47ca --- /dev/null +++ b/pkgs/development/python-modules/pyqt6-webengine.nix @@ -0,0 +1,89 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pkg-config +, lndir +, sip +, pyqt-builder +, qt6Packages +, pythonOlder +, pyqt6 +, python +}: + +buildPythonPackage rec { + pname = "PyQt6_WebEngine"; + version = "6.4.0"; + format = "pyproject"; + + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-THHBMIYKvNEeBMr7IuM5g/qaOu6DI8UZCbFaFwGCjiE="; + }; + + # fix include path and increase verbosity + postPatch = '' + sed -i \ + '/\[tool.sip.project\]/a\ + verbose = true\ + sip-include-dirs = [\"${pyqt6}/${python.sitePackages}/PyQt6/bindings\"]' \ + pyproject.toml + ''; + + enableParallelBuilding = true; + # HACK: paralellize compilation of make calls within pyqt's setup.py + # pkgs/stdenv/generic/setup.sh doesn't set this for us because + # make gets called by python code and not its build phase + # format=pyproject means the pip-build-hook hook gets used to build this project + # pkgs/development/interpreters/python/hooks/pip-build-hook.sh + # does not use the enableParallelBuilding flag + postUnpack = '' + export MAKEFLAGS+=" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES" + ''; + + outputs = [ "out" "dev" ]; + + dontWrapQtApps = true; + + nativeBuildInputs = with qt6Packages; [ + pkg-config + lndir + sip + qtwebengine + qmake + pyqt-builder + ]; + + buildInputs = with qt6Packages; [ + qtwebengine + ]; + + propagatedBuildInputs = [ + pyqt6 + ]; + + passthru = { + inherit sip; + }; + + dontConfigure = true; + + # Checked using pythonImportsCheck, has no tests + doCheck = true; + + pythonImportsCheck = [ + "PyQt6.QtWebEngineCore" + "PyQt6.QtWebEngineQuick" + "PyQt6.QtWebEngineWidgets" + ]; + + meta = with lib; { + description = "Python bindings for Qt6 WebEngine"; + homepage = "https://riverbankcomputing.com/"; + license = licenses.gpl3Only; + platforms = platforms.mesaPlatforms; + maintainers = with maintainers; [ LunNova nrdxp ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d6275e47cf21..77f3a7873bac 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8371,6 +8371,8 @@ in { pyqt6-sip = callPackage ../development/python-modules/pyqt/pyqt6-sip.nix { }; + pyqt6-webengine = callPackage ../development/python-modules/pyqt6-webengine.nix { }; + pyqtgraph = callPackage ../development/python-modules/pyqtgraph { }; pyqtwebengine = pkgs.libsForQt5.callPackage ../development/python-modules/pyqtwebengine { From fb18ec0af6cacacc13d5c2e2c9a0df3d6aabe7e8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 23:17:33 +0200 Subject: [PATCH 11/41] python310Packages.home-assistant-bluetooth: 1.4.0 -> 1.5.1 --- .../python-modules/home-assistant-bluetooth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/home-assistant-bluetooth/default.nix b/pkgs/development/python-modules/home-assistant-bluetooth/default.nix index 17c25f74b765..631e0b6eaad3 100644 --- a/pkgs/development/python-modules/home-assistant-bluetooth/default.nix +++ b/pkgs/development/python-modules/home-assistant-bluetooth/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "home-assistant-bluetooth"; - version = "1.4.0"; + version = "1.5.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-viJOrmvrooHh47yyJJomOGBhQvcoWM3jKMRwZ+6/UJ8="; + hash = "sha256-//e+Kb85TBAC9/mHz/T/Dm/pNjbj0488/L/NeS1RMqY="; }; postPatch = '' From 93ae441356f212016b9172be96f02597ef135da1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 03:43:37 +0000 Subject: [PATCH 12/41] tektoncd-cli: 0.24.0 -> 0.24.1 --- pkgs/applications/networking/cluster/tektoncd-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/tektoncd-cli/default.nix b/pkgs/applications/networking/cluster/tektoncd-cli/default.nix index 23914a6a9fe8..c3c6355cd0cf 100644 --- a/pkgs/applications/networking/cluster/tektoncd-cli/default.nix +++ b/pkgs/applications/networking/cluster/tektoncd-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "tektoncd-cli"; - version = "0.24.0"; + version = "0.24.1"; src = fetchFromGitHub { owner = "tektoncd"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-mrTtg60LZpRONrEhX53EhSYpfdfGMvPK4WhTHeAKsoQ="; + sha256 = "sha256-8dCmORfTMFHSyc9FOpL01ywxGcH3uolzD2aOtyy191Q="; }; vendorSha256 = null; From cacae901e4e73552328cb47df1cfc7eeeb4ca0bb Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sat, 8 Oct 2022 16:39:06 +1100 Subject: [PATCH 13/41] 1password-gui: add macOS builds and unify beta --- .../misc/1password-gui/darwin.nix | 21 ++ .../misc/1password-gui/default.nix | 183 +++++------------- .../1password-gui/{beta.nix => linux.nix} | 32 +-- pkgs/top-level/all-packages.nix | 2 +- 4 files changed, 78 insertions(+), 160 deletions(-) create mode 100644 pkgs/applications/misc/1password-gui/darwin.nix rename pkgs/applications/misc/1password-gui/{beta.nix => linux.nix} (77%) diff --git a/pkgs/applications/misc/1password-gui/darwin.nix b/pkgs/applications/misc/1password-gui/darwin.nix new file mode 100644 index 000000000000..04bc10231162 --- /dev/null +++ b/pkgs/applications/misc/1password-gui/darwin.nix @@ -0,0 +1,21 @@ +{ stdenv +, pname +, version +, src +, meta +, unzip +, undmg +}: + +stdenv.mkDerivation { + inherit pname version src meta; + + nativeBuildInputs = [ unzip undmg ]; + + sourceRoot = "."; + + installPhase = '' + mkdir -p $out/Applications + cp -r *.app $out/Applications + ''; +} diff --git a/pkgs/applications/misc/1password-gui/default.nix b/pkgs/applications/misc/1password-gui/default.nix index ad9f0f93d063..7f8cc200a968 100644 --- a/pkgs/applications/misc/1password-gui/default.nix +++ b/pkgs/applications/misc/1password-gui/default.nix @@ -1,144 +1,58 @@ -{ lib -, stdenv +{ stdenv +, callPackage +, channel ? "stable" , fetchurl -, makeWrapper -, wrapGAppsHook -, alsa-lib -, at-spi2-atk -, at-spi2-core -, atk -, cairo -, cups -, dbus -, expat -, gdk-pixbuf -, glib -, gtk3 -, libX11 -, libXcomposite -, libXdamage -, libXext -, libXfixes -, libXrandr -, libdrm -, libxcb -, libxkbcommon -, libxshmfence -, libGL -, libappindicator-gtk3 -, mesa -, nspr -, nss -, pango -, systemd -, udev -, xdg-utils +, lib +# This is only relevant for Linux, so we need to pass it through +, polkitPolicyOwners ? [ ] }: - # The 1Password polkit file requires a list of users for whom polkit - # integrations should be enabled. This should be a list of strings that - # correspond to usernames. -, polkitPolicyOwners ? [] -}: let - # Convert the polkitPolicyOwners variable to a polkit-compatible string for the polkit file. - policyOwners = lib.concatStringsSep " " (map (user: "unix-user:${user}") polkitPolicyOwners); -in stdenv.mkDerivation rec { pname = "1password"; - version = "8.9.4"; + version = if channel == "stable" then "8.9.4" else "8.9.6-30.BETA"; - src = - if stdenv.hostPlatform.isAarch64 then - fetchurl { - url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; - sha256 = "sha256-SJDUfAFEwYnOR+y/6Dg2S/CkA84QogoRpMXOPP5PyrM="; - } - else - fetchurl { + sources = { + stable = { + x86_64-linux = { url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; sha256 = "sha256-Smq0gOGfBTjIOMwF1AI+TJwXaIiTi/YP9mGIqcjsCNQ="; }; + aarch64-linux = { + url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; + sha256 = "sha256-SJDUfAFEwYnOR+y/6Dg2S/CkA84QogoRpMXOPP5PyrM="; + }; + x86_64-darwin = { + url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; + sha256 = "sha256-+2FQQ5FiB0N30JM/Mtnfa04K2XZaf3r/W1+i8VKNslA="; + }; + aarch64-darwin = { + url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; + sha256 = "sha256-nhocEwtr6cMSSStPa7S+g8SwPStJVWPblA3HbqJ8q6Q="; + }; + }; + beta = { + x86_64-linux = { + url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; + sha256 = "sha256-xBfpBkYff1X26Iu0Ee03lIiR6UdJOiaG+kZMVotG0Hc="; + }; + aarch64-linux = { + url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; + sha256 = "0j0v90i78y1m77gpn65iyjdy1xslv1mar1ihxj9jzcmva0nmdmra"; + }; + x86_64-darwin = { + url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; + sha256 = "sha256-PNlEBFoIGYkDR4TzbudsqAE5vjbiVHTNL7XoflN+mUY="; + }; + aarch64-darwin = { + url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; + sha256 = "sha256-PYS0N4VeUjNhCncSDXvpyLuHlpv4nn35aJTPANdMXwk="; + }; + }; + }; - nativeBuildInputs = [ makeWrapper wrapGAppsHook ]; - buildInputs = [ glib ]; - - dontConfigure = true; - dontBuild = true; - dontPatchELF = true; - dontWrapGApps = true; - - installPhase = - let rpath = lib.makeLibraryPath [ - alsa-lib - at-spi2-atk - at-spi2-core - atk - cairo - cups - dbus - expat - gdk-pixbuf - glib - gtk3 - libX11 - libXcomposite - libXdamage - libXext - libXfixes - libXrandr - libdrm - libxcb - libxkbcommon - libxshmfence - libGL - libappindicator-gtk3 - mesa - nspr - nss - pango - systemd - ] + ":${stdenv.cc.cc.lib}/lib64"; - in '' - runHook preInstall - - mkdir -p $out/bin $out/share/1password - cp -a * $out/share/1password - - # Desktop file - install -Dt $out/share/applications resources/${pname}.desktop - substituteInPlace $out/share/applications/${pname}.desktop \ - --replace 'Exec=/opt/1Password/${pname}' 'Exec=${pname}' - - '' + (lib.optionalString (polkitPolicyOwners != [ ]) - '' - # Polkit file - mkdir -p $out/share/polkit-1/actions - substitute com.1password.1Password.policy.tpl $out/share/polkit-1/actions/com.1password.1Password.policy --replace "\''${POLICY_OWNERS}" "${policyOwners}" - '') + '' - - # Icons - cp -a resources/icons $out/share - - interp="$(cat $NIX_CC/nix-support/dynamic-linker)" - patchelf --set-interpreter $interp $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign} - patchelf --set-rpath ${rpath}:$out/share/1password $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign} - for file in $(find $out -type f -name \*.so\* ); do - patchelf --set-rpath ${rpath}:$out/share/1password $file - done - - runHook postInstall - ''; - - preFixup = '' - # Electron is trying to open udev via dlopen() - # and for some reason that doesn't seem to be impacted from the rpath. - # Adding udev to LD_LIBRARY_PATH fixes that. - # Make xdg-open overrideable at runtime. - makeWrapper $out/share/1password/1password $out/bin/1password \ - ''${gappsWrapperArgs[@]} \ - --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]} - ''; + src = fetchurl { + inherit (sources.${channel}.${stdenv.system}) url sha256; + }; meta = with lib; { description = "Multi-platform password manager"; @@ -146,6 +60,9 @@ in stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ timstott savannidgerinel maxeaubrey sebtm ]; - platforms = [ "x86_64-linux" "aarch64-linux" ]; + platforms = builtins.attrNames sources.${channel}; }; -} + +in if stdenv.isDarwin +then callPackage ./darwin.nix { inherit pname version src meta; } +else callPackage ./linux.nix { inherit pname version src meta polkitPolicyOwners; } diff --git a/pkgs/applications/misc/1password-gui/beta.nix b/pkgs/applications/misc/1password-gui/linux.nix similarity index 77% rename from pkgs/applications/misc/1password-gui/beta.nix rename to pkgs/applications/misc/1password-gui/linux.nix index fabbf862f3d0..06a10dd973d3 100644 --- a/pkgs/applications/misc/1password-gui/beta.nix +++ b/pkgs/applications/misc/1password-gui/linux.nix @@ -1,6 +1,9 @@ { lib , stdenv -, fetchurl +, pname +, version +, src +, meta , makeWrapper , wrapGAppsHook , alsa-lib @@ -43,21 +46,8 @@ let # Convert the polkitPolicyOwners variable to a polkit-compatible string for the polkit file. policyOwners = lib.concatStringsSep " " (map (user: "unix-user:${user}") polkitPolicyOwners); -in stdenv.mkDerivation rec { - pname = "1password"; - version = "8.9.6-30.BETA"; - - src = - if stdenv.hostPlatform.isAarch64 then - fetchurl { - url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; - sha256 = "0j0v90i78y1m77gpn65iyjdy1xslv1mar1ihxj9jzcmva0nmdmra"; - } - else - fetchurl { - url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; - sha256 = "sha256-xBfpBkYff1X26Iu0Ee03lIiR6UdJOiaG+kZMVotG0Hc="; - }; +in stdenv.mkDerivation { + inherit pname version src meta; nativeBuildInputs = [ makeWrapper wrapGAppsHook ]; buildInputs = [ glib ]; @@ -139,14 +129,4 @@ in stdenv.mkDerivation rec { --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]} ''; - - - meta = with lib; { - description = "Multi-platform password manager"; - homepage = "https://1password.com/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ timstott savannidgerinel maxeaubrey sebtm ]; - platforms = [ "x86_64-linux" "aarch64-linux" ]; - }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 33ca400bbb81..768855686b9b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1072,7 +1072,7 @@ with pkgs; _1password-gui = callPackage ../applications/misc/1password-gui { }; - _1password-gui-beta = callPackage ../applications/misc/1password-gui/beta.nix { }; + _1password-gui-beta = callPackage ../applications/misc/1password-gui { channel = "beta"; }; _6tunnel = callPackage ../tools/networking/6tunnel { }; From c6c52c521f50457e48f3e6c0f8b0b1b65a72da51 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Thu, 6 Oct 2022 17:13:00 -0600 Subject: [PATCH 14/41] qutebrowser: init qt6 variant --- .../browsers/qutebrowser/default.nix | 51 ++++++++++++++----- pkgs/top-level/all-packages.nix | 3 ++ 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix index ce2392ab4edc..a3f5b3236973 100644 --- a/pkgs/applications/networking/browsers/qutebrowser/default.nix +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -1,5 +1,5 @@ -{ stdenv, lib, fetchurl, fetchzip, python3 -, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, qtwebengine, glib-networking +{ stdenv, lib, fetchurl, fetchzip, fetchFromGitHub, python3 +, wrapQtAppsHook, glib-networking , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2 , libxslt, gst_all_1 ? null , withPdfReader ? true @@ -7,35 +7,56 @@ , backend ? "webengine" , pipewireSupport ? stdenv.isLinux , pipewire_0_2 -}: +, qtwayland +, mkDerivationWith ? null +, qtbase ? null +, qtwebengine ? null +, wrapGAppsHook ? null +}: let + isQt6 = mkDerivationWith == null; -assert withMediaPlayback -> gst_all_1 != null; - -let python3Packages = python3.pkgs; pdfjs = let version = "2.14.305"; in - fetchzip rec { + fetchzip { url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-dist.zip"; hash = "sha256-E7t+0AUndrgi4zfJth0w28RmWLqLyXMUCnueNf/gNi4="; stripRoot = false; }; backendPackage = - if backend == "webengine" then python3Packages.pyqtwebengine else + if backend == "webengine" then if isQt6 then python3Packages.pyqt6-webengine else python3Packages.pyqtwebengine else if backend == "webkit" then python3Packages.pyqt5_with_qtwebkit else throw '' Unknown qutebrowser backend "${backend}". Valid choices are qtwebengine (recommended) or qtwebkit. ''; -in mkDerivationWith python3Packages.buildPythonApplication rec { - pname = "qutebrowser"; - version = "2.5.2"; + buildPythonApplication = if isQt6 then python3Packages.buildPythonApplication else mkDerivationWith python3Packages.buildPythonApplication; + pname = "qutebrowser"; + version = if isQt6 then "unstable-2022-09-16" else "2.5.2"; + +in + +assert withMediaPlayback -> gst_all_1 != null; +assert isQt6 -> backend != "webkit"; + +buildPythonApplication { + inherit pname version; + + src = if isQt6 then + # comes from qt6-v2 branch of upstream + # https://github.com/qutebrowser/qutebrowser/issues/7202 + fetchFromGitHub { + owner = "qutebrowser"; + repo = "qutebrowser"; + rev = "5e11e6c7d413cf5c77056ba871a545aae1cfd66a"; + sha256 = "sha256-5HNzPO07lUQe/Q3Nb4JiS9kb9GMQ5/FqM5029vLNNWo="; + } # the release tarballs are different from the git checkout! - src = fetchurl { + else fetchurl { url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz"; hash = "sha256-qb/OFN3EA94N6y7t+YPCMc4APgdZmV7H706jTkl06Qg="; }; @@ -66,6 +87,7 @@ in mkDerivationWith python3Packages.buildPythonApplication rec { adblock ] ++ lib.optional (pythonOlder "3.9") importlib-resources + ++ lib.optional stdenv.isLinux qtwayland ); patches = [ @@ -94,14 +116,15 @@ in mkDerivationWith python3Packages.buildPythonApplication rec { # Install icons for i in 16 24 32 48 64 128 256 512; do - install -Dm644 "icons/qutebrowser-''${i}x''${i}.png" \ + install -Dm644 "qutebrowser/icons/qutebrowser-''${i}x''${i}.png" \ "$out/share/icons/hicolor/''${i}x''${i}/apps/qutebrowser.png" done - install -Dm644 icons/qutebrowser.svg \ + install -Dm644 ${if isQt6 then "qutebrowser/" else ""}icons/qutebrowser.svg \ "$out/share/icons/hicolor/scalable/apps/qutebrowser.svg" # Install scripts sed -i "s,/usr/bin/,$out/bin/,g" scripts/open_url_in_instance.sh + ${if isQt6 then "rm -rf scripts/{testbrowser,dev}" else ""} install -Dm755 -t "$out/share/qutebrowser/scripts/" $(find scripts -type f) install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/* diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab58c766f7d0..92d3d7894367 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31057,6 +31057,9 @@ with pkgs; }; qutebrowser = libsForQt5.callPackage ../applications/networking/browsers/qutebrowser { }; + qutebrowser-qt6 = callPackage ../applications/networking/browsers/qutebrowser { + inherit (qt6Packages) qtbase qtwebengine wrapQtAppsHook qtwayland; + }; qxw = callPackage ../applications/editors/qxw {}; From ae28acabb0884a1f46b4b741a8f51e303b75042d Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Fri, 7 Oct 2022 12:54:29 -0600 Subject: [PATCH 15/41] webengine: fix github crashes with upstream patch --- .../libraries/qt-6/modules/qtwebengine.nix | 8 +++++- .../qt-6/patches/qtwebengine-fix.patch | 28 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/qt-6/patches/qtwebengine-fix.patch diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index e4b56e7e7664..c365f3c06853 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -69,7 +69,7 @@ , enableProprietaryCodecs ? true }: -qtModule rec { +qtModule { pname = "qtwebengine"; qtInputs = [ qtdeclarative qtwebchannel qtwebsockets qtpositioning ]; nativeBuildInputs = [ @@ -94,6 +94,12 @@ qtModule rec { # which cannot be set at the same time as -Wformat-security hardeningDisable = [ "format" ]; + patches = [ + # fixes consistent crashing in github on 6.4.0, can probably remove when there is a patch release + # https://codereview.qt-project.org/c/qt/qtwebengine/+/436316 + ../patches/qtwebengine-fix.patch + ]; + postPatch = '' # Patch Chromium build tools ( diff --git a/pkgs/development/libraries/qt-6/patches/qtwebengine-fix.patch b/pkgs/development/libraries/qt-6/patches/qtwebengine-fix.patch new file mode 100644 index 000000000000..672421ed43d4 --- /dev/null +++ b/pkgs/development/libraries/qt-6/patches/qtwebengine-fix.patch @@ -0,0 +1,28 @@ +From 81bf140583f7b7bf13cc8dd522e1ca2aba873fc4 Mon Sep 17 00:00:00 2001 +From: Martin Negyokru +Date: Mon, 03 Oct 2022 12:20:00 +0200 +Subject: [PATCH] Do not intercept websocket connection when there is no associated frame + +This fix is based on chrome's implementation. + +Fixes: QTBUG-107144 +Change-Id: If042e4156b8a4bdb27a210c4db94e3a6198aed7d +Reviewed-by: Allan Sandfeld Jensen +(cherry picked from commit 64b7da9dab82713fdcb2e03d8a2715421eae5685) +Reviewed-by: Qt Cherry-pick Bot +--- + +diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp +index 020ae91..99a3aa3 100644 +--- a/src/core/content_browser_client_qt.cpp ++++ b/src/core/content_browser_client_qt.cpp +@@ -1237,8 +1237,7 @@ + + bool ContentBrowserClientQt::WillInterceptWebSocket(content::RenderFrameHost *frame) + { +- Q_UNUSED(frame); +- return true; // It is probably not worth it to only intercept when interceptors are installed ++ return frame != nullptr; + } + + QWebEngineUrlRequestInterceptor *getProfileInterceptorFromFrame(content::RenderFrameHost *frame) From d1a8b12916d4aa4d741d147198c60f026a414a03 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 17:51:31 -0400 Subject: [PATCH 16/41] vimPlugins: update --- .../editors/vim/plugins/generated.nix | 468 +++++++++--------- 1 file changed, 234 insertions(+), 234 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 0cef634c2899..e534d68ce49f 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -281,12 +281,12 @@ final: prev: SchemaStore-nvim = buildVimPluginFrom2Nix { pname = "SchemaStore.nvim"; - version = "2022-10-04"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "b0o"; repo = "SchemaStore.nvim"; - rev = "faf602afe86b4cc33a4471371f128d80328cacf2"; - sha256 = "1ilgdzjcqmplk81xx89rsspvvp7mhzrpcv9lwb9dk3drgnvlzza2"; + rev = "23bf2d69967491b1dc43f37c809f2711cc879fd2"; + sha256 = "0zl8sf9sy2i3fp3wbpw9rvm5wjkak897i5yl699jfxxv0gal5sgv"; }; meta.homepage = "https://github.com/b0o/SchemaStore.nvim/"; }; @@ -341,12 +341,12 @@ final: prev: SpaceVim = buildVimPluginFrom2Nix { pname = "SpaceVim"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "SpaceVim"; repo = "SpaceVim"; - rev = "0026ba28a52156e8e965f131a060b8bdaed2769e"; - sha256 = "1cph6c7x5sdx5gbmszl9w0blspnjwfzg3pf42gyvnph1c3hacqwk"; + rev = "cd193b852d51dc70200fbf8f7d92f174735ee657"; + sha256 = "0syimr7v6a87fq9zvxkh8xc38102y04jm8z0g53inayamp64vz2p"; }; meta.homepage = "https://github.com/SpaceVim/SpaceVim/"; }; @@ -437,12 +437,12 @@ final: prev: YouCompleteMe = buildVimPluginFrom2Nix { pname = "YouCompleteMe"; - version = "2022-09-27"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "ycm-core"; repo = "YouCompleteMe"; - rev = "8c173bc4d2c5b03cf53575092a7c5c2bc67afd9a"; - sha256 = "1m2sk3pqc2825px3x8l8jrwjwrdljygrf3pb2wy4y15dbjy56hf1"; + rev = "99ccab251fad7c8b235582b46752a0536d01b315"; + sha256 = "1whjbplgqik4pdp3z1ly7z1qii6z615drqc3i09p4sahdb7cw2n6"; fetchSubmodules = true; }; meta.homepage = "https://github.com/ycm-core/YouCompleteMe/"; @@ -486,12 +486,12 @@ final: prev: aerial-nvim = buildVimPluginFrom2Nix { pname = "aerial.nvim"; - version = "2022-10-01"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "stevearc"; repo = "aerial.nvim"; - rev = "6f1b28b549147c2f9e09de16869fcc34cf076253"; - sha256 = "02k6p7bx63xsj98hvi0chm2g8wyk8kv9y8cz265lv9i5yrh6fpcc"; + rev = "bbdfc56c5a00f4f31936a057fed99807c0a52f0c"; + sha256 = "04ma4nz47ld6a4x0d5pn7a70kx0a8p2ynyb2gg8mb1x09593q95m"; }; meta.homepage = "https://github.com/stevearc/aerial.nvim/"; }; @@ -538,8 +538,8 @@ final: prev: src = fetchFromGitHub { owner = "dense-analysis"; repo = "ale"; - rev = "4094426c707dda404754487bf496db1b4c7d05f1"; - sha256 = "1v56lzs9i29bwzb1iqwanzv3khr9gd9lmwv5v5ddhg9b3bq55rnv"; + rev = "f085227504076dff5224cbf10cb1bf83286188a9"; + sha256 = "00n3vagkgy31r47a1ivy0zxm3a13z3d80l6ay7l49srh10rfh3c1"; }; meta.homepage = "https://github.com/dense-analysis/ale/"; }; @@ -666,24 +666,24 @@ final: prev: asyncrun-vim = buildVimPluginFrom2Nix { pname = "asyncrun.vim"; - version = "2022-09-23"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "skywind3000"; repo = "asyncrun.vim"; - rev = "7ee75ae20c7d556f1febb6d1a5961e48766c9c0b"; - sha256 = "1ikxarjknpba4mvd1bkyswvai9laca38biccn3py7x8lwvlvhp85"; + rev = "8d92822df7fb5549bbc0cc65056e960341433cdf"; + sha256 = "0af6fn9iym0kgldbla1h13dds8sd8pd441f20bpszfbmr4djfskh"; }; meta.homepage = "https://github.com/skywind3000/asyncrun.vim/"; }; asynctasks-vim = buildVimPluginFrom2Nix { pname = "asynctasks.vim"; - version = "2022-09-29"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "skywind3000"; repo = "asynctasks.vim"; - rev = "1a5f4916192767973c05b3bb648548b0891865a2"; - sha256 = "0ghg00bflnp9lyrjjls7si0vvjzxzy72fxz36dvps15rddm4bry2"; + rev = "32d2af43f196605f35aa78f38b16e9a8d158b010"; + sha256 = "0ryq8qsrjzdyrapz040mvp9f3mzcflcw14nddp5fq95859n18n2k"; }; meta.homepage = "https://github.com/skywind3000/asynctasks.vim/"; }; @@ -906,12 +906,12 @@ final: prev: bufdelete-nvim = buildVimPluginFrom2Nix { pname = "bufdelete.nvim"; - version = "2022-05-22"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "famiu"; repo = "bufdelete.nvim"; - rev = "46255e4a76c4fb450a94885527f5e58a7d96983c"; - sha256 = "1z6m9bavyx2ln2dik05fcaf6gq6jdrpcgrq5i1l1sy45h447a3hw"; + rev = "e88dbe0ba5829119d8edb5fc69d3c8553e324a93"; + sha256 = "0qja5jvx8047v5qbch6flcg8fq00369ffcivrv2gkqkmggg4dvb6"; }; meta.homepage = "https://github.com/famiu/bufdelete.nvim/"; }; @@ -942,12 +942,12 @@ final: prev: bullets-vim = buildVimPluginFrom2Nix { pname = "bullets.vim"; - version = "2022-09-10"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "dkarter"; repo = "bullets.vim"; - rev = "d3a75d60ffe74c91b2a1225327bbeff540fdab11"; - sha256 = "18l2nszcpm55x7q1ardp790sajairs1a2y8a9z63cck9bkigmj3w"; + rev = "bb2b9f3cae530fcc9e70055243cbbdda4daa497e"; + sha256 = "1k9ynbkiag6b42zaqk7vyq2l376g5p7j8hn5xmjnmxzra1s68yx4"; }; meta.homepage = "https://github.com/dkarter/bullets.vim/"; }; @@ -990,12 +990,12 @@ final: prev: ccc-nvim = buildVimPluginFrom2Nix { pname = "ccc.nvim"; - version = "2022-10-04"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "uga-rosa"; repo = "ccc.nvim"; - rev = "81dd97874eb63ac719c372bdeb1cd15d9ddcca15"; - sha256 = "1rpj7qlwwycq8znxa1v369mbbirhgkj81whrhcm5vrwmkhy9j1w7"; + rev = "666a406659fadd22a9c2b0fb1fed432f4529e7f1"; + sha256 = "1cdkws7k3b55ahbhfhnqv4f47jm20n6cfgrr5yrfmplqvl2az70h"; }; meta.homepage = "https://github.com/uga-rosa/ccc.nvim/"; }; @@ -1518,24 +1518,24 @@ final: prev: cmp-tabnine = buildVimPluginFrom2Nix { pname = "cmp-tabnine"; - version = "2022-09-14"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "tzachar"; repo = "cmp-tabnine"; - rev = "01653a5934b242e8ca517e079419c3b151ce2b00"; - sha256 = "03nvx8rmdi23iiga5c3fnyaxl46jhv0hkqkcvcx10jjk34v1x9b0"; + rev = "5a6d58badbfed69ee285983bf2cf5a17d957483a"; + sha256 = "1dsbq0wcqf8c7y5ld74gqxbf2pdh28km7wdk37xvlqcvfk1kzmxs"; }; meta.homepage = "https://github.com/tzachar/cmp-tabnine/"; }; cmp-tmux = buildVimPluginFrom2Nix { pname = "cmp-tmux"; - version = "2022-08-02"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "andersevenrud"; repo = "cmp-tmux"; - rev = "e32f2f1417c9ff307ad348a134788eabd76c6112"; - sha256 = "1fq9jiyf19mxlq13cg9775wmmrpm6jphhl0hrf7jb1aikvdi1b6y"; + rev = "984772716f66d8ee88535a6bf3f94c4b4e1301f5"; + sha256 = "1fy0rw9garhabbif6d7vvrv73c25lwv9fjh5b4y0m3kisvkbqfyr"; }; meta.homepage = "https://github.com/andersevenrud/cmp-tmux/"; }; @@ -1650,12 +1650,12 @@ final: prev: coc-fzf = buildVimPluginFrom2Nix { pname = "coc-fzf"; - version = "2022-09-13"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "antoinemadec"; repo = "coc-fzf"; - rev = "5127966503e070770225437205949c6d244ab8a1"; - sha256 = "1w5y0dkvmrrw4ilwlvcybp98mlx9222ygb0kdg31k5v4jzqynxj1"; + rev = "cb405c0dc72312a06d17710a537ab0e6b6758648"; + sha256 = "12s2nxyck0hwxk3z4h5knss9wsjmwiimj9kxs4bywwibwlwgnf6i"; }; meta.homepage = "https://github.com/antoinemadec/coc-fzf/"; }; @@ -1722,12 +1722,12 @@ final: prev: coc-nvim = buildVimPluginFrom2Nix { pname = "coc.nvim"; - version = "2022-10-01"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "neoclide"; repo = "coc.nvim"; - rev = "487d077e1131ee5b09e329d15f9d9ae53aa8f44a"; - sha256 = "148wajzy64ys74km0k1mgvrfk3mqdib0nh2wylwfnx83s50f2sx2"; + rev = "d0fa7acd233d76585daf9ce0b74ad1112591e271"; + sha256 = "04qs3gcx2qjagawr577sadz6bkwlr40532i9f7p7jfkbd7ybgzm2"; }; meta.homepage = "https://github.com/neoclide/coc.nvim/"; }; @@ -1794,24 +1794,24 @@ final: prev: command-t = buildVimPluginFrom2Nix { pname = "command-t"; - version = "2022-09-18"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "wincent"; repo = "command-t"; - rev = "f6a6cf7fb17cee08ca0ca84ffce6aabccc3d8476"; - sha256 = "0gi6z6l5gw7dhg8gqbd6m3yzasyd2ccmwjjh8j4ma0dd7f5c7iq7"; + rev = "f8d67e234aa39856ce62246cd4bf1c76f8b46245"; + sha256 = "1iq34bysnkl65gvdpsfqgimvmnpq964654c0g1ijjc0ayfk1yyd8"; }; meta.homepage = "https://github.com/wincent/command-t/"; }; comment-nvim = buildVimPluginFrom2Nix { pname = "comment.nvim"; - version = "2022-10-02"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "numtostr"; repo = "comment.nvim"; - rev = "97a188a98b5a3a6f9b1b850799ac078faa17ab67"; - sha256 = "05836nr9nwssjzjmg8zmbdfx8wclhnjb6pp4cwiykgi6kv4dzjnz"; + rev = "d30f2b059c0c03fcfab3842684212bac525a3d0b"; + sha256 = "0n0ybjzwfdh7dk8wk3mf77hf0v7zxakv26a9z608srdia2xa3ndr"; }; meta.homepage = "https://github.com/numtostr/comment.nvim/"; }; @@ -1878,12 +1878,12 @@ final: prev: compiler-explorer-nvim = buildVimPluginFrom2Nix { pname = "compiler-explorer.nvim"; - version = "2022-10-03"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "krady21"; repo = "compiler-explorer.nvim"; - rev = "018d04971eb5939c01637e23377449b61f68f363"; - sha256 = "072y39crph99mb1wzij480nmylh1llcfg0lf9smb90xabiads7sr"; + rev = "b611606f62b4ae0de10cc9a5565ce32f629a868a"; + sha256 = "102ic12byilviz65nnk3crwnrfsw1dqwvvfhj6gfix7ybg76vkx6"; }; meta.homepage = "https://github.com/krady21/compiler-explorer.nvim/"; }; @@ -1962,12 +1962,12 @@ final: prev: conjure = buildVimPluginFrom2Nix { pname = "conjure"; - version = "2022-09-26"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "Olical"; repo = "conjure"; - rev = "0c91dd3c8c994f1cef3f91356133b971ffaf52c3"; - sha256 = "1859f750c1v1y79khk6z7yizbgawvnndxsiwyb04wpzx2np3s21i"; + rev = "839fe23a7746f03aa9ef1ebf087501cd6126cf0f"; + sha256 = "1009jc5zz20hfi8g7j4znnrwm6jdj6041a24i3ayklgl5dqw2519"; }; meta.homepage = "https://github.com/Olical/conjure/"; }; @@ -2010,24 +2010,24 @@ final: prev: coq-artifacts = buildVimPluginFrom2Nix { pname = "coq.artifacts"; - version = "2022-10-04"; + version = "2022-10-09"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq.artifacts"; - rev = "72a41cd2fa99c577ffa998321af38951655cc43c"; - sha256 = "051vsxqxh6snv2awkh0jyx8pa43z94z2dpng463dsiw89fss2va0"; + rev = "39a174683e28b7b96a4b6521d1d3d2ef3a571ce2"; + sha256 = "0wk5jgsn0k2zp4kg6rj4pagnnbmq4rbk566d01svfw6vphv4d9fc"; }; meta.homepage = "https://github.com/ms-jpq/coq.artifacts/"; }; coq-thirdparty = buildVimPluginFrom2Nix { pname = "coq.thirdparty"; - version = "2022-10-04"; + version = "2022-10-09"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq.thirdparty"; - rev = "67342598dd2628a19e272acaf773b5b9f1a72248"; - sha256 = "077agh0gzflrc7955xnbgzghf0kr1la1n3xfjydg6plb70kjqlri"; + rev = "46dc68b8193873ce44f2f572f1f2ecb3f5cdb9a9"; + sha256 = "14z16aw60ns90yf8g5z8rcb757byrvq1c8yaw0qb6bcvvgzgpwbm"; }; meta.homepage = "https://github.com/ms-jpq/coq.thirdparty/"; }; @@ -2046,12 +2046,12 @@ final: prev: coq_nvim = buildVimPluginFrom2Nix { pname = "coq_nvim"; - version = "2022-10-04"; + version = "2022-10-09"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq_nvim"; - rev = "8b165521046a05320c478f2a129a1310415bd7b6"; - sha256 = "1c1iyi17qld3q0c275yzjwxrqjkynbmx000jsrsmgjh63xjzslg0"; + rev = "27fb487f108d8159793f0eeb6aa1e5ee0d4da9aa"; + sha256 = "1wzwgi6czri6cnq7qws5pw97k2c81q72masn7cd7lv7dva6bzz3p"; }; meta.homepage = "https://github.com/ms-jpq/coq_nvim/"; }; @@ -2190,12 +2190,12 @@ final: prev: dashboard-nvim = buildVimPluginFrom2Nix { pname = "dashboard-nvim"; - version = "2022-10-02"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "glepnir"; repo = "dashboard-nvim"; - rev = "1676ebeb334a644dd68f7858f9e993602dd8577c"; - sha256 = "164giy2s45dc1zlf63fsbf9z8qvf81npdmy304xxr81azpb8amqi"; + rev = "bd7163f56ac715a6d687737ea144731ac6ce8478"; + sha256 = "0rbxs7bj0vhjrwmjlw74shskgy5igcfyn4iddrk1qc3kryaakdhw"; }; meta.homepage = "https://github.com/glepnir/dashboard-nvim/"; }; @@ -2564,12 +2564,12 @@ final: prev: diffview-nvim = buildVimPluginFrom2Nix { pname = "diffview.nvim"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "sindrets"; repo = "diffview.nvim"; - rev = "7c149a4df943c05846d3f552b89b47df50f009c9"; - sha256 = "0660pvik5hzv8m42zwm67cm73rk1kln3ig2kpqyidbihpaxx95ay"; + rev = "a1fbcaa7e1e154cfa793ab44da4a6eb0ae15458d"; + sha256 = "0wffr2g0d2nasbjqabm0arjgv28xlg6xqay9w5gw3hglz33rr5np"; }; meta.homepage = "https://github.com/sindrets/diffview.nvim/"; }; @@ -2770,12 +2770,12 @@ final: prev: feline-nvim = buildVimPluginFrom2Nix { pname = "feline.nvim"; - version = "2022-10-03"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "feline-nvim"; repo = "feline.nvim"; - rev = "5d6a054c476f2c2e3de72022d8f59764e53946ee"; - sha256 = "1376p6hjwl3dd4fsc93qhc19dcnycp2gkz3nz684var2nk9rxanq"; + rev = "f26dd12e5b0e39a8dd2abcb46066c250b5651de9"; + sha256 = "03rla7gwjd8l35pk2mgi0qj23mpssdvfv2iz6c4dj2ixqs1ry9sh"; }; meta.homepage = "https://github.com/feline-nvim/feline.nvim/"; }; @@ -2927,12 +2927,12 @@ final: prev: friendly-snippets = buildVimPluginFrom2Nix { pname = "friendly-snippets"; - version = "2022-10-03"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "rafamadriz"; repo = "friendly-snippets"; - rev = "9f4ffd17ade26815cad52ba90f478a4e6e2d80df"; - sha256 = "18saq9cswki4ny1ihvng1bgfc2zl69vngdm5c2hh7vszra95ql3s"; + rev = "6cd7469403fd06a3840a1065728d1affe1c23ec8"; + sha256 = "0qilmi6xg37xq29kfk6nnchz1jm18qrbvgcfzq028pmdbnakg7r5"; }; meta.homepage = "https://github.com/rafamadriz/friendly-snippets/"; }; @@ -3035,12 +3035,12 @@ final: prev: fzf-lua = buildVimPluginFrom2Nix { pname = "fzf-lua"; - version = "2022-10-01"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "ibhagwan"; repo = "fzf-lua"; - rev = "e7c610889ff954101c644cdb9cf68e499a3751ac"; - sha256 = "15bkdkr9jr9rdg3nwjyzb3rzx27h5ldi6484whqaij40gpk1ifgz"; + rev = "c81874db259eef85ae21794b2f29e953519c692c"; + sha256 = "1k6h1n4rpi47ggqvmxrw9bhis5mkd2fnqvyirvr4yz2sgivljmwn"; }; meta.homepage = "https://github.com/ibhagwan/fzf-lua/"; }; @@ -3191,12 +3191,12 @@ final: prev: gitsigns-nvim = buildNeovimPluginFrom2Nix { pname = "gitsigns.nvim"; - version = "2022-09-18"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "lewis6991"; repo = "gitsigns.nvim"; - rev = "f98c85e7c3d65a51f45863a34feb4849c82f240f"; - sha256 = "0ljzja43jdkv77nh4253x3gwk2hjx968yk7b5ag4y1mvyp1540qn"; + rev = "9787c94178b4062f30d2f06b6d52984217196647"; + sha256 = "1w96nqwmc9y3k6wyrnbr8br1h6lwxcvyykv22320lbxipl6i8rhw"; }; meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; }; @@ -3227,12 +3227,12 @@ final: prev: glow-nvim = buildVimPluginFrom2Nix { pname = "glow.nvim"; - version = "2022-09-22"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "ellisonleao"; repo = "glow.nvim"; - rev = "b6b997277e019f751031ea52f9571ad2e1e7e42d"; - sha256 = "1cnzgm0pixh2zrmkfgxjybb6i1lqa0hbkwrmbm1jb5p0hhc4d1j6"; + rev = "9038d7cdd76a930973b6158d800c8dbc02236a4b"; + sha256 = "0x49l7g84m1328fqad501f4iqqy3imbl8r8rh4rxsi1zam46f2ba"; }; meta.homepage = "https://github.com/ellisonleao/glow.nvim/"; }; @@ -3394,12 +3394,12 @@ final: prev: harpoon = buildVimPluginFrom2Nix { pname = "harpoon"; - version = "2022-08-10"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "ThePrimeagen"; repo = "harpoon"; - rev = "f4aff5bf9b512f5a85fe20eb1dcf4a87e512d971"; - sha256 = "0jfc9d4dkx331567aic36mbqv3p2rq5nds35n33qg4f4mwqy8n6b"; + rev = "4dfe94e633945c14ad0f03044f601b8e6a99c708"; + sha256 = "1jr4k56glyd98lk19dj9r7i8zx72hhzn5lz1w846ffvsci5ffw1g"; }; meta.homepage = "https://github.com/ThePrimeagen/harpoon/"; }; @@ -3911,12 +3911,12 @@ final: prev: legendary-nvim = buildVimPluginFrom2Nix { pname = "legendary.nvim"; - version = "2022-10-03"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "mrjones2014"; repo = "legendary.nvim"; - rev = "aeb8ac4976094c9fb8741b623c301e3da9221edb"; - sha256 = "01lz5p8mjjrfx6hm2s678ydixyxa3hqpmc7jv3j612lkk13hypms"; + rev = "4ecafc2993b31e74bb8cecb93a90f2414f008be2"; + sha256 = "0d0qg2hs83jf26hjca7bwjxgv59zrnw4w8gm54p0fr8gaqcvr514"; }; meta.homepage = "https://github.com/mrjones2014/legendary.nvim/"; }; @@ -3947,12 +3947,12 @@ final: prev: lexima-vim = buildVimPluginFrom2Nix { pname = "lexima.vim"; - version = "2022-09-26"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "cohama"; repo = "lexima.vim"; - rev = "4a0644b64da8ebc5d64b964f7da9a394f06259bd"; - sha256 = "0kyc1v26y98hmx3ajqgdr9xl4jw62c56n1i3xl6hab98inp1vq6z"; + rev = "6be26d4c4a06228f72329b424f6f92d860de611d"; + sha256 = "0nn3r7b513jhg9l0fa94rmxpdkwg9r7hdqn1x7jw3q6s547z9pin"; }; meta.homepage = "https://github.com/cohama/lexima.vim/"; }; @@ -4043,12 +4043,12 @@ final: prev: lightline-vim = buildVimPluginFrom2Nix { pname = "lightline.vim"; - version = "2022-05-09"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "itchyny"; repo = "lightline.vim"; - rev = "b02ef0d9f253dfc1cbb3f340b74998d7a4db0bf6"; - sha256 = "1rr5n23vvybfi3gbqljalqn0pnkwzzb4zqcz74jlz1dfyddsngah"; + rev = "b1e91b41f5028d65fa3d31a425ff21591d5d957f"; + sha256 = "0xb0hdjk4dww80s2ypvgz5rsvv41b07hskahz8r7xq6si5m5scrn"; }; meta.homepage = "https://github.com/itchyny/lightline.vim/"; }; @@ -4306,12 +4306,12 @@ final: prev: lua-dev-nvim = buildVimPluginFrom2Nix { pname = "lua-dev.nvim"; - version = "2022-10-04"; + version = "2022-10-09"; src = fetchFromGitHub { owner = "folke"; repo = "lua-dev.nvim"; - rev = "e651a72bd045f3d82efdd7d20f3630379af784b0"; - sha256 = "140211vdac3khf082jfdfr6jixbl2s5x5g8z9j8ga6qyw0apdk95"; + rev = "a37b9ba11a4d1ed97284b416526e6251d23d58e1"; + sha256 = "1ida1a97ddz5ps4yhxpvm9in20q8jy345a0b8kc7h4h3v0pqmdkd"; }; meta.homepage = "https://github.com/folke/lua-dev.nvim/"; }; @@ -4330,24 +4330,24 @@ final: prev: lualine-nvim = buildVimPluginFrom2Nix { pname = "lualine.nvim"; - version = "2022-09-11"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "nvim-lualine"; repo = "lualine.nvim"; - rev = "a52f078026b27694d2290e34efa61a6e4a690621"; - sha256 = "0cz9vpbd1z3986qbd166h747az8rqgwls0mhi1imqz0z9b66hrbc"; + rev = "edca2b03c724f22bdc310eee1587b1523f31ec7c"; + sha256 = "06gy6jy3gfhhjcy61fx9myhs4bmknhlfsmnsi1mmcydhm4gcbm2b"; }; meta.homepage = "https://github.com/nvim-lualine/lualine.nvim/"; }; luasnip = buildVimPluginFrom2Nix { pname = "luasnip"; - version = "2022-09-28"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "l3mon4d3"; repo = "luasnip"; - rev = "8f8d493e7836f2697df878ef9c128337cbf2bb84"; - sha256 = "17kz2w90m1f7wg8gyaz6lhg8hdkjq4zly092halgd1fn6brhd23f"; + rev = "aa7acef98392f35288590f2fcf984b19e0d5bc29"; + sha256 = "1xs5h97q3fg4avsab9csf8nwmxadc9pvhv31khq86637kximgzz1"; fetchSubmodules = true; }; meta.homepage = "https://github.com/l3mon4d3/luasnip/"; @@ -4427,12 +4427,12 @@ final: prev: material-nvim = buildVimPluginFrom2Nix { pname = "material.nvim"; - version = "2022-10-03"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "marko-cerovac"; repo = "material.nvim"; - rev = "88e1d132cc7b27a8304b897873384bee343b2d2c"; - sha256 = "1jg2vqrbd1m94gqbdc3nwp6lbgb578vrw3nkh2a2p8694gp8ha5g"; + rev = "de33236e23cab880a1ab3d1cfdc828d3eedbddf8"; + sha256 = "1qww1rl7aw4n9766asbdz765wllxkhygm0azdkic7j8hb95dr94x"; }; meta.homepage = "https://github.com/marko-cerovac/material.nvim/"; }; @@ -4883,12 +4883,12 @@ final: prev: neorg = buildVimPluginFrom2Nix { pname = "neorg"; - version = "2022-10-02"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "nvim-neorg"; repo = "neorg"; - rev = "c5345e72ebdd84585eec6272755aa26233431317"; - sha256 = "0ip2gy11xhvfdrin1yz3fqr9z2hwbd51avm1616825pj6mr8dxn5"; + rev = "7e56721877cb8219a6b982710d98eb675738f499"; + sha256 = "1n875jcbrqvc3gyswld3np9r7axns7v0pmd4cf0lcx64pkb3wrn2"; }; meta.homepage = "https://github.com/nvim-neorg/neorg/"; }; @@ -4991,12 +4991,12 @@ final: prev: nerdcommenter = buildVimPluginFrom2Nix { pname = "nerdcommenter"; - version = "2022-09-12"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "preservim"; repo = "nerdcommenter"; - rev = "2a0a05ff983aa62d74ba868aadf89deb93dd5454"; - sha256 = "1qbkhkvag4aqp11b938j18drra5dymqqxjghwnq00dq97ll777s7"; + rev = "60f3a2bc2bd22b98af5770b940762f77ca17cfee"; + sha256 = "0vcv0j5zvz4mmaczkkspl5l5fv8x36fdlvm9sf3s85hsz0gh03xp"; }; meta.homepage = "https://github.com/preservim/nerdcommenter/"; }; @@ -5111,24 +5111,24 @@ final: prev: noice-nvim = buildVimPluginFrom2Nix { pname = "noice.nvim"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "folke"; repo = "noice.nvim"; - rev = "15f3bbd607feee3dd4ea255ea2344c3d7d647406"; - sha256 = "0kps8h4wrlidkjlklmhwdxabgfkb57qr5qmmn3b0bzlqamph21f7"; + rev = "b479e237c3af7b72e26e032f790a73a9aae91897"; + sha256 = "1hv0gqs088ga60clp4dszjqsf67g6ppggmwi9h4pkyr9yni6himh"; }; meta.homepage = "https://github.com/folke/noice.nvim/"; }; nord-vim = buildVimPluginFrom2Nix { pname = "nord-vim"; - version = "2022-05-31"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "arcticicestudio"; repo = "nord-vim"; - rev = "bc0f057162491e9228207d74bd88b5efe875316e"; - sha256 = "16fm573my8ysmcy68wy9kxwrm85q8fmpggwr83z1gwq3mmws59xy"; + rev = "0748955e9e8d9770b44f2bec8456189430b37d9d"; + sha256 = "1xifxwyjwfr9z801mm9sfh2sy0xf5ydhbg8ssi5mpdilffpkghp6"; }; meta.homepage = "https://github.com/arcticicestudio/nord-vim/"; }; @@ -5147,12 +5147,12 @@ final: prev: nordic-nvim = buildVimPluginFrom2Nix { pname = "nordic.nvim"; - version = "2022-08-17"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "andersevenrud"; repo = "nordic.nvim"; - rev = "40c71de9596ad9e7a7c742ba969399790cadd711"; - sha256 = "1md1ykr1anjxf2fcksk2wjhkqd7nc144l3v6pyc6pb0vs27qakzg"; + rev = "fab5de2c7430b1d091801b254afc30c066a3b200"; + sha256 = "1jqqnsi0sqfkgynhwy8a5ya3rqhry3fiabdkkivns9cjvvq5lz4m"; }; meta.homepage = "https://github.com/andersevenrud/nordic.nvim/"; }; @@ -5183,24 +5183,24 @@ final: prev: null-ls-nvim = buildVimPluginFrom2Nix { pname = "null-ls.nvim"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "jose-elias-alvarez"; repo = "null-ls.nvim"; - rev = "c333ecce37ee5f096f17754901e4ec4827041166"; - sha256 = "10nrgr1jqh3rqanakx2pary4yqlnjk2lz5bslbaznbv1jgxh2zj6"; + rev = "3d76bb2968310f7e18a20711ac89c5e7b07e8c93"; + sha256 = "145dqk8423b8wnkzrv7ajvymxpsvpr2bj3malywmlyb6zkzkc8q4"; }; meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; }; numb-nvim = buildVimPluginFrom2Nix { pname = "numb.nvim"; - version = "2022-03-20"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "nacro90"; repo = "numb.nvim"; - rev = "453c50ab921fa066fb073d2fd0f826cb036eaf7b"; - sha256 = "0pkssmd29r2d5f0s770ppj0z4rv0qj5szd43jh16wxknwwjmqi9n"; + rev = "d95b7ea62e320b02ca1aa9df3635471a88d6f3b1"; + sha256 = "1g8nnrxyfgn3v9k4xi7dh1b29vnp73k5x7vz002q7xar4alj468z"; }; meta.homepage = "https://github.com/nacro90/numb.nvim/"; }; @@ -5267,12 +5267,12 @@ final: prev: nvim-bqf = buildVimPluginFrom2Nix { pname = "nvim-bqf"; - version = "2022-10-04"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "kevinhwang91"; repo = "nvim-bqf"; - rev = "90b00664709bc799bfa7cccde6dc34004499a089"; - sha256 = "09nahj79xqira309dm84vm012n2b8q2k47z8wjib7a4zf2gqfmds"; + rev = "c33b5c57ff82d71f8004b37c8c17a7928da76d08"; + sha256 = "019lhnwaiz0drdqx6vj56hgjqklfjf48vsx1fk35j5b97nh0sbnh"; }; meta.homepage = "https://github.com/kevinhwang91/nvim-bqf/"; }; @@ -5303,24 +5303,24 @@ final: prev: nvim-cmp = buildNeovimPluginFrom2Nix { pname = "nvim-cmp"; - version = "2022-10-02"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "nvim-cmp"; - rev = "b0dff0ec4f2748626aae13f011d1a47071fe9abc"; - sha256 = "1md42dvgphrrcrs8vb8ff98l5j2sfrfkfip7vfjapymdlk356byp"; + rev = "0e436ee23abc6c3fe5f3600145d2a413703e7272"; + sha256 = "02w95zqbl3nx0vnl2fhlhlkil3jzy6yi2731xmy01qjl54vgqgdj"; }; meta.homepage = "https://github.com/hrsh7th/nvim-cmp/"; }; nvim-code-action-menu = buildVimPluginFrom2Nix { pname = "nvim-code-action-menu"; - version = "2022-05-29"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "weilbith"; repo = "nvim-code-action-menu"; - rev = "ee599409ed6ab31f6d7115e9c5c4550336470c14"; - sha256 = "09kldrnfy4fz6f706s444rnwkrzl0zx5fpiygs4mgvdcq1maavlw"; + rev = "58e12501ea028ff1171f8f06ea53891f7c6e1c3f"; + sha256 = "18vfrfkwr27jswflwrsppv17ylvi1l2rgxrv4p14cmyr03h8zx22"; }; meta.homepage = "https://github.com/weilbith/nvim-code-action-menu/"; }; @@ -5399,24 +5399,24 @@ final: prev: nvim-dap = buildVimPluginFrom2Nix { pname = "nvim-dap"; - version = "2022-10-01"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "mfussenegger"; repo = "nvim-dap"; - rev = "0b320f5bd4e5f81e8376f9d9681b5c4ee4483c25"; - sha256 = "1308jj5jqqadw7kw8zkh7x1hs9cn0030xnb5bms4wsp013krdr08"; + rev = "684f57f9d6aed53dfa349986a1038b10b759e18b"; + sha256 = "1w1ka48zhv0qgx6s03q5c9clm3y7x572q0k6qvgqlj22fcqcqph1"; }; meta.homepage = "https://github.com/mfussenegger/nvim-dap/"; }; nvim-dap-ui = buildVimPluginFrom2Nix { pname = "nvim-dap-ui"; - version = "2022-10-01"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "rcarriga"; repo = "nvim-dap-ui"; - rev = "c8ce83a66deb0ca6f5af5a9f9d5fcc05a6d0f66b"; - sha256 = "18v77mx5806v2g9yksbfxv97b6nb1c9jp09gad1bcd09lvwqd3d9"; + rev = "1cd4764221c91686dcf4d6b62d7a7b2d112e0b13"; + sha256 = "19fn9jghvjvmvfm06g2a1hbpm1yd9w5dnr5dcqpwcaz0pxi1y74x"; }; meta.homepage = "https://github.com/rcarriga/nvim-dap-ui/"; }; @@ -5627,12 +5627,12 @@ final: prev: nvim-lspconfig = buildVimPluginFrom2Nix { pname = "nvim-lspconfig"; - version = "2022-10-03"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "neovim"; repo = "nvim-lspconfig"; - rev = "fc2f44dc6024bddb75b82e471c642ad1f4483094"; - sha256 = "197d6xjsp8cn8ff1awvv0yb3qqbb5kvyj8ddwdkvrfkm1a4hkbf6"; + rev = "9d4b8d393aad0e6e9227e2d67629aa99e56b994a"; + sha256 = "0yajlbas8ghm75d2qsngl6c72w1kk05rhpzfmsrp3yzm57jpx73v"; }; meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; }; @@ -5711,12 +5711,12 @@ final: prev: nvim-notify = buildVimPluginFrom2Nix { pname = "nvim-notify"; - version = "2022-10-01"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "rcarriga"; repo = "nvim-notify"; - rev = "414465468c93f693be4e2f69f47586cf37f3f751"; - sha256 = "04gzpjv8a7hwszs0smd23n11mhia90r00h15ywmlgx7xbp8a9c8y"; + rev = "74eb04da1945cb4411bb7b1a4373d61b4f4c135b"; + sha256 = "05rszmk0x5xbhlprfky2kn3dm2gvbiphqcb7yj65sng4423z4g40"; }; meta.homepage = "https://github.com/rcarriga/nvim-notify/"; }; @@ -5795,12 +5795,12 @@ final: prev: nvim-surround = buildVimPluginFrom2Nix { pname = "nvim-surround"; - version = "2022-09-27"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "kylechui"; repo = "nvim-surround"; - rev = "17191679202978b1de8c1bd5d975400897b1b92d"; - sha256 = "0d9vq7zkn1pzdzhh68qxzciky27n57cwb74ma1s6ibkks9s52f9d"; + rev = "faf9ffe92d871dd18b4d26b52fcc6b36d315f335"; + sha256 = "1miwnazlrgjw547lnh1ksv1p9qmiwrqfw5x7f6z6f18ilhly1k1q"; }; meta.homepage = "https://github.com/kylechui/nvim-surround/"; }; @@ -5819,36 +5819,36 @@ final: prev: nvim-tree-lua = buildVimPluginFrom2Nix { pname = "nvim-tree.lua"; - version = "2022-10-01"; + version = "2022-10-09"; src = fetchFromGitHub { - owner = "kyazdani42"; + owner = "nvim-tree"; repo = "nvim-tree.lua"; - rev = "7282f7de8aedf861fe0162a559fc2b214383c51c"; - sha256 = "1x8alllrhd1ns2gghv8cl0lra9f9rk0qy3h4z4b6rj2dq6if3jx9"; + rev = "0db49773037a399996db81bb2ba0ac5301d8bf1d"; + sha256 = "1d19hb819zxbl1vzn3d50gyhp97z818hh5q9fdgav33kkkhycc4f"; }; - meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/"; + meta.homepage = "https://github.com/nvim-tree/nvim-tree.lua/"; }; nvim-treesitter = buildVimPluginFrom2Nix { pname = "nvim-treesitter"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter"; - rev = "ffd4525fd9e61950520cea4737abc1800ad4aabb"; - sha256 = "0v73bdkmcnmm9j44w94hly2c6vnqfm375h1bss2vvw0whnk3in94"; + rev = "b273a06728305c1e7bd0179977ca48049aeff5e6"; + sha256 = "107yb35kq5c8fg2h9mr0v1wjskym9ai1wmfdr5j72gcv0zc174xj"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; }; nvim-treesitter-context = buildVimPluginFrom2Nix { pname = "nvim-treesitter-context"; - version = "2022-09-23"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter-context"; - rev = "8d0759eb798fee2e1201b26c3279713ac67c44c2"; - sha256 = "1pbd9x89vcph1n67ybfnn659xlnbsy8wjx403j9hp7x1qy73906p"; + rev = "c46a8a0a60412a8fe43aa6bd3a01845c46de6bf2"; + sha256 = "0p90akdva7zjfb2yc6gybx1i7yr82rbg6943xz74c8wgynppasbr"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-context/"; }; @@ -5879,12 +5879,12 @@ final: prev: nvim-treesitter-textobjects = buildVimPluginFrom2Nix { pname = "nvim-treesitter-textobjects"; - version = "2022-09-28"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter-textobjects"; - rev = "41e8d8964e5c874d9ce5e37d00a52f37f218502e"; - sha256 = "0bl98fbxp7sjd943wvz127xqivj8830pgdfwf510lyzczaixn1ds"; + rev = "80a38f9408102693539f54eef3e6a57d44c6147d"; + sha256 = "1gnv82ph7irmaf17mmgm9a18gnysming6sfvbirx13d23y61xb1x"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects/"; }; @@ -5929,12 +5929,12 @@ final: prev: pname = "nvim-web-devicons"; version = "2022-10-03"; src = fetchFromGitHub { - owner = "kyazdani42"; + owner = "nvim-tree"; repo = "nvim-web-devicons"; rev = "a8cf88cbdb5c58e2b658e179c4b2aa997479b3da"; sha256 = "1946azhr3rq702mvidzby9jvq7h2zs45d6k9j7clxw2g9xbx0k6a"; }; - meta.homepage = "https://github.com/kyazdani42/nvim-web-devicons/"; + meta.homepage = "https://github.com/nvim-tree/nvim-web-devicons/"; }; nvim-whichkey-setup-lua = buildVimPluginFrom2Nix { @@ -6071,12 +6071,12 @@ final: prev: onedarkpro-nvim = buildVimPluginFrom2Nix { pname = "onedarkpro.nvim"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "olimorris"; repo = "onedarkpro.nvim"; - rev = "11f6050c85e42d3f24bafd42ea20c4ab5540266f"; - sha256 = "0iq5ajrfs1iqxnd4x1hm1d0321czvqbkfrig796ih3qcnglhn26s"; + rev = "18d2362f28ba577824e68e0a12d2338f67da0e06"; + sha256 = "1qan2g1a0kmbbzwd4hs9msv5bx47m0pa02jhl7ha03g0j2qbxbcx"; }; meta.homepage = "https://github.com/olimorris/onedarkpro.nvim/"; }; @@ -6119,12 +6119,12 @@ final: prev: open-browser-vim = buildVimPluginFrom2Nix { pname = "open-browser.vim"; - version = "2021-10-05"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "tyru"; repo = "open-browser.vim"; - rev = "80ec3f2bb0a86ac13c998e2f2c86e16e6d2f20bb"; - sha256 = "01qj967nch3wwkbshrsdzyyr4apvsqrpa4dkmpn21qr2183w84zz"; + rev = "7d4c1d8198e889d513a030b5a83faa07606bac27"; + sha256 = "0sqzj25sdczxcpbp2ncpm07y631w9x81yv292xji3l0nzx7601pm"; }; meta.homepage = "https://github.com/tyru/open-browser.vim/"; }; @@ -6469,12 +6469,12 @@ final: prev: rainbow = buildVimPluginFrom2Nix { pname = "rainbow"; - version = "2021-11-15"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "luochen1990"; repo = "rainbow"; - rev = "c18071e5c7790928b763c2e88c487dfc93d84a15"; - sha256 = "1m691f3w1zraam4cmq0sj9a86bmd7g1bhirrzqy5mg089x6n3rdc"; + rev = "61f719aebe0dc5c3048330c50db72cfee1afdd34"; + sha256 = "0q6ynkv08b4rlns6gzrkwxrihykpadcrln8ckbcwmsv97injhxws"; }; meta.homepage = "https://github.com/luochen1990/rainbow/"; }; @@ -7083,12 +7083,12 @@ final: prev: stabilize-nvim = buildVimPluginFrom2Nix { pname = "stabilize.nvim"; - version = "2022-07-09"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "luukvbaal"; repo = "stabilize.nvim"; - rev = "f7c4d93d6822df1770a90b7fdb46f6df5c94052e"; - sha256 = "01ngpjnpppazq4dqfwrdc2jkgz5ikpxkscsy0gc89lyi4q2srpai"; + rev = "34069870a8e72632c5447188e638e1c6bfebc353"; + sha256 = "0ik3p1p3wndclw7a72rx507fzk6d9zv6b75lahd0sp9ra9xhzc86"; }; meta.homepage = "https://github.com/luukvbaal/stabilize.nvim/"; }; @@ -7131,12 +7131,12 @@ final: prev: substrata-nvim = buildVimPluginFrom2Nix { pname = "substrata.nvim"; - version = "2022-06-21"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "kvrohit"; repo = "substrata.nvim"; - rev = "aea8143ceab98ffcb02934773cc3b4249425f76c"; - sha256 = "07jjywqmcnll82hnibdrs42i148whn1x6l9dp2wr52kskq1419l2"; + rev = "e3b2b69ce597e8d17767a41d8db45b15178a0b45"; + sha256 = "0vw1s46fzqxd8mrqhb1azk6sks9bpacgczmyaki8g47i1adbs8cq"; }; meta.homepage = "https://github.com/kvrohit/substrata.nvim/"; }; @@ -7191,12 +7191,12 @@ final: prev: swayconfig-vim = buildVimPluginFrom2Nix { pname = "swayconfig.vim"; - version = "2022-09-21"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "jamespeapen"; repo = "swayconfig.vim"; - rev = "5369682267a826a1717c1331ea5f90c19d5ff64d"; - sha256 = "017kj74lm935bi5sxg4gm32b0jq2wmfck65cjyhmxyyy8mcwi24c"; + rev = "30014a34d0ab46f26311f47c1c11ba0b9166f1d5"; + sha256 = "03jw3w80zgmql8ngs8s1j8digwkn7206psklmcnmc1p2drb2d3pf"; }; meta.homepage = "https://github.com/jamespeapen/swayconfig.vim/"; }; @@ -7421,12 +7421,12 @@ final: prev: telescope-coc-nvim = buildVimPluginFrom2Nix { pname = "telescope-coc.nvim"; - version = "2022-08-27"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "fannheyward"; repo = "telescope-coc.nvim"; - rev = "f1e5a5129129e2dd69f1d3f3df0dd8956903a963"; - sha256 = "1jhif6vi7n5kvn4xfz11ahy0a37dzkjq0scc3iiah9ad5nydmykx"; + rev = "ecf56935b05c7da4150e6d046f07b920628aab53"; + sha256 = "16jl04zbsmhry1ybpcl9czs2lzlni6dzpaf163y9ff080cs5f3si"; }; meta.homepage = "https://github.com/fannheyward/telescope-coc.nvim/"; }; @@ -7626,12 +7626,12 @@ final: prev: telescope-nvim = buildVimPluginFrom2Nix { pname = "telescope.nvim"; - version = "2022-09-30"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "nvim-telescope"; repo = "telescope.nvim"; - rev = "76ea9a898d3307244dce3573392dcf2cc38f340f"; - sha256 = "0f5x1jxmzj2mndknrz3cbyz8inb127hfw3zvmxiqpg2kjvmvxrhd"; + rev = "5fadc247c56e739d9c5c30a484fd291bb87bd378"; + sha256 = "1bdzdsxx9l0aq2hk81diawpa56m7yh33wvb6kb0s4c7i2c6kbi3m"; }; meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; }; @@ -7831,12 +7831,12 @@ final: prev: tokyonight-nvim = buildVimPluginFrom2Nix { pname = "tokyonight.nvim"; - version = "2022-10-04"; + version = "2022-10-05"; src = fetchFromGitHub { owner = "folke"; repo = "tokyonight.nvim"; - rev = "d6a0adfe3f914efa06ca6e662f0b1398f3522783"; - sha256 = "0d7ps1cya20i32d19qy93ycjwb57w2kid5wg2scg88kdi4g46q4v"; + rev = "fd9105c9487996aa2269992b72a6fea7504688e4"; + sha256 = "1aawphnlac7aaizn4im4v7lx87gnp1avishghvk3fglfsm95r3fz"; }; meta.homepage = "https://github.com/folke/tokyonight.nvim/"; }; @@ -7975,12 +7975,12 @@ final: prev: undotree = buildVimPluginFrom2Nix { pname = "undotree"; - version = "2022-09-10"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "mbbill"; repo = "undotree"; - rev = "bf76bf2d1a097cda024699738286fa81fb6529ac"; - sha256 = "0993pydpn62z6k7f9msd5d3xaks8ij2sg10xrzawd6n3s35n77lh"; + rev = "bd60cb564e3c3220b35293679669bb77af5f389d"; + sha256 = "0w05yhyjh6j7gcdfghvbjylc64wba42fagnj4bxk1lbcqvnnzxc8"; }; meta.homepage = "https://github.com/mbbill/undotree/"; }; @@ -8011,12 +8011,12 @@ final: prev: urlview-nvim = buildVimPluginFrom2Nix { pname = "urlview.nvim"; - version = "2022-09-25"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "axieax"; repo = "urlview.nvim"; - rev = "da852a2d7e2aabae6d60178267d175d02c3396e2"; - sha256 = "0v4ahqalwrj076jp7kg52hk2cididihbgkzq1z6i1f86vnm69kv8"; + rev = "b60eb8f5f5257778645d9472d666853e1b86cc66"; + sha256 = "00zp7w77glgzdncr95d5k7k8cd3b46m3kpsn77ya96yhb25g8i7w"; }; meta.homepage = "https://github.com/axieax/urlview.nvim/"; }; @@ -8083,12 +8083,12 @@ final: prev: vifm-vim = buildVimPluginFrom2Nix { pname = "vifm.vim"; - version = "2022-09-21"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "vifm"; repo = "vifm.vim"; - rev = "90eeb664a73c640fbc6304855d1a153687ae583f"; - sha256 = "1dyck2icfn4mdjlj4sz7458qsb4ilfp7244054qpzyxmxyf0ihma"; + rev = "c40fd7de27b527e018d7ff5bb0191d94b5e54bcc"; + sha256 = "1s63pcp8n33ajl18m2j49i3pskda376mwjdcyiw6wgvaz8sfzj7w"; }; meta.homepage = "https://github.com/vifm/vifm.vim/"; }; @@ -8803,12 +8803,12 @@ final: prev: vim-clap = buildVimPluginFrom2Nix { pname = "vim-clap"; - version = "2022-10-04"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "liuchengxu"; repo = "vim-clap"; - rev = "e2df4b83764f816d517563229b0f1c48d2610b3f"; - sha256 = "13iy41x595nw5k8xd93v04xdbvnsx5s254v1mh5ima300abmx27w"; + rev = "bebf5bec5f497af5e299ea162087c443ed96c003"; + sha256 = "15bg1bqxskx9ji7w7id1ri5r1xlkcdih9bpfv7gpfm95ifkd8ss2"; }; meta.homepage = "https://github.com/liuchengxu/vim-clap/"; }; @@ -10594,12 +10594,12 @@ final: prev: vim-merginal = buildVimPluginFrom2Nix { pname = "vim-merginal"; - version = "2022-07-26"; + version = "2022-10-04"; src = fetchFromGitHub { owner = "idanarye"; repo = "vim-merginal"; - rev = "436076b9f2daa805948fa054a24e3b519f6fc089"; - sha256 = "1gcc35pp44sm632nqa14hg9d8ymfrfs9sd62gzjkygjbyz9c8nc1"; + rev = "e8740401cdec9199f4676c5a640a785ec094258b"; + sha256 = "09rmmqq9a3xjcplw69kxsqbv3bpdkw1zvdiiihl499vafwrhky6w"; }; meta.homepage = "https://github.com/idanarye/vim-merginal/"; }; @@ -11674,24 +11674,24 @@ final: prev: vim-sleuth = buildVimPluginFrom2Nix { pname = "vim-sleuth"; - version = "2022-04-28"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "tpope"; repo = "vim-sleuth"; - rev = "1d25e8e5dc4062e38cab1a461934ee5e9d59e5a8"; - sha256 = "1nb90zm9jc2mq5fxbxifrmhkpjs3a5y68amr3f99rxfd0197jxcs"; + rev = "8332f123a63c739c870c96907d987cc3ff719d24"; + sha256 = "15aln4mb82d2k67brgh6xq8nx9rn9ymy3a2ciwwjnxawzjs2pbpg"; }; meta.homepage = "https://github.com/tpope/vim-sleuth/"; }; vim-slime = buildVimPluginFrom2Nix { pname = "vim-slime"; - version = "2022-08-30"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "jpalardy"; repo = "vim-slime"; - rev = "c959072d38fabb36cd5371439aaba0b692fb0b73"; - sha256 = "1chq7ppyv7djjsamj7a05dx3zs5ic3nr0wvvc8qfswx1i9lrjhys"; + rev = "9cdd180a6056e8ae0c7d3581313344b9a3e8e7e8"; + sha256 = "02f8lmyrp60myj624aqgdqg91l19rfs32gds3d2y411w0p77kzbl"; }; meta.homepage = "https://github.com/jpalardy/vim-slime/"; }; @@ -11770,12 +11770,12 @@ final: prev: vim-snippets = buildVimPluginFrom2Nix { pname = "vim-snippets"; - version = "2022-09-12"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "honza"; repo = "vim-snippets"; - rev = "faaa499189c4ee3fe13860e675e2370d55e3e5dd"; - sha256 = "11zhff8l3r60jcmmvy7yv5dxz661ggv7sjs8gca5xw9m63d9v3z1"; + rev = "250fd916757a545e7dfa29a62afa1e7ea16e2460"; + sha256 = "1iimz25g4vyg9fnjsrbc1b6rkga99y9b3wn0qnyf9d1hms643k3a"; }; meta.homepage = "https://github.com/honza/vim-snippets/"; }; @@ -12191,24 +12191,24 @@ final: prev: vim-tpipeline = buildVimPluginFrom2Nix { pname = "vim-tpipeline"; - version = "2022-10-03"; + version = "2022-10-06"; src = fetchFromGitHub { owner = "vimpostor"; repo = "vim-tpipeline"; - rev = "5b9701c5b2c9d90a304f10aaf75c85cc91678d57"; - sha256 = "09174syh0yd85xwc9kv8jv6h7zsd5ds8hrvzk7qryacb95vgv8mv"; + rev = "c345f17e8ff7c3158a60d7a4285fc29972fa0c80"; + sha256 = "1mi6x2k1dpyrw9fsrbq48rfyj4bsgcazy8jw7nnkhicmhp73mzqs"; }; meta.homepage = "https://github.com/vimpostor/vim-tpipeline/"; }; vim-trailing-whitespace = buildVimPluginFrom2Nix { pname = "vim-trailing-whitespace"; - version = "2020-11-18"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "bronson"; repo = "vim-trailing-whitespace"; - rev = "05f068ebd9dbdf71d2d334d02abd99deb0311c40"; - sha256 = "1bh15yw2aysvpn2ndnc0s6jzc0y93x6q1blc5pph67rdix5bm7gy"; + rev = "907174052a504e60e9b915f5c083ee5f6e067080"; + sha256 = "07jsgsv4j1zcxizl9wflib68rrp61zpxzy89yzak4b1lyxnl66s9"; }; meta.homepage = "https://github.com/bronson/vim-trailing-whitespace/"; }; @@ -12359,12 +12359,12 @@ final: prev: vim-vsnip = buildVimPluginFrom2Nix { pname = "vim-vsnip"; - version = "2022-04-22"; + version = "2022-10-07"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "vim-vsnip"; - rev = "8f199ef690ed26dcbb8973d9a6760d1332449ac9"; - sha256 = "1d9wr97a02j717sbh55xk7xam6d97l5ggi0ymc67q64hrq8nsaai"; + rev = "b2caf50a6e3c021c92b236abff70bbb467bce24f"; + sha256 = "0dccl6rqvkj7vlx25s7ja5p0nsxzryabd1hpj16r9dnsvklzs1wq"; }; meta.homepage = "https://github.com/hrsh7th/vim-vsnip/"; }; @@ -13033,12 +13033,12 @@ final: prev: catppuccin-nvim = buildVimPluginFrom2Nix { pname = "catppuccin-nvim"; - version = "2022-10-02"; + version = "2022-10-08"; src = fetchFromGitHub { owner = "catppuccin"; repo = "nvim"; - rev = "a111e8075101c0ac8be79f293e8c5181efa06402"; - sha256 = "0zqfl8xrwvab2gypw85kjirl10gc4afnwddz9j3spcq1mc11c3sn"; + rev = "e9b313b4dcaa35a8092c91fbff5984df39406173"; + sha256 = "08g2qlqjrg0svj53h91ay95fraa15v8myvx3yjvggi1f6y4vgwcf"; }; meta.homepage = "https://github.com/catppuccin/nvim/"; }; @@ -13057,12 +13057,12 @@ final: prev: chad = buildVimPluginFrom2Nix { pname = "chad"; - version = "2022-10-04"; + version = "2022-10-09"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "chadtree"; - rev = "588c7e471f80666a3796cd432b192182238181c5"; - sha256 = "1sig0gpgdj7qgpd889h5iabmz8x33niyd0jqfspsbw256vy6mki0"; + rev = "06d13155ac420b410b2b48e36d62069035c00323"; + sha256 = "0mn54z0w6sjxh3fb0igkmcbms102mi52js3fj3kjx5b56iy1k87r"; }; meta.homepage = "https://github.com/ms-jpq/chadtree/"; }; From 232f8d1ea0ca8234822de3e18e47de91d626661b Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 17:51:45 -0400 Subject: [PATCH 17/41] vimPlugins.live-command-nvim: init at 2022-10-06 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index e534d68ce49f..250f28226084 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -4161,6 +4161,18 @@ final: prev: meta.homepage = "https://github.com/ldelossa/litee.nvim/"; }; + live-command-nvim = buildVimPluginFrom2Nix { + pname = "live-command.nvim"; + version = "2022-10-06"; + src = fetchFromGitHub { + owner = "smjonas"; + repo = "live-command.nvim"; + rev = "76abef7bcf40afd8db381c8d95a0f3143aa28e68"; + sha256 = "0swz1pvzl5fr57y7vzxzb9gqfmw5d3zh0751hgj7jqdy4hn00a6z"; + }; + meta.homepage = "https://github.com/smjonas/live-command.nvim/"; + }; + lsp-colors-nvim = buildVimPluginFrom2Nix { pname = "lsp-colors.nvim"; version = "2022-09-05"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 746a46a0bd20..68d3bfe55f92 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -348,6 +348,7 @@ https://github.com/ldelossa/litee-calltree.nvim/,, https://github.com/ldelossa/litee-filetree.nvim/,, https://github.com/ldelossa/litee-symboltree.nvim/,, https://github.com/ldelossa/litee.nvim/,, +https://github.com/smjonas/live-command.nvim/,HEAD, https://github.com/folke/lsp-colors.nvim/,, https://github.com/lukas-reineke/lsp-format.nvim/,HEAD, https://github.com/lvimuser/lsp-inlayhints.nvim/,HEAD, From 804fb8e11b221e9a16fa82aa160b6be0f7db8604 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 17:51:53 -0400 Subject: [PATCH 18/41] vimPlugins.dial-nvim: init at 2022-08-29 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 250f28226084..628656202621 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -2562,6 +2562,18 @@ final: prev: meta.homepage = "https://github.com/nvim-lua/diagnostic-nvim/"; }; + dial-nvim = buildVimPluginFrom2Nix { + pname = "dial.nvim"; + version = "2022-08-29"; + src = fetchFromGitHub { + owner = "monaqa"; + repo = "dial.nvim"; + rev = "d2d7a57fb030c82b8b0d6712d9c35dfb49d9aa3c"; + sha256 = "1zm116xd7b79piaiia9fn56h7ivnmy0dip02q3n61fmn1sqijggr"; + }; + meta.homepage = "https://github.com/monaqa/dial.nvim/"; + }; + diffview-nvim = buildVimPluginFrom2Nix { pname = "diffview.nvim"; version = "2022-10-08"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 68d3bfe55f92..9202d62245ce 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -214,6 +214,7 @@ https://github.com/rhysd/devdocs.vim/,, https://github.com/vmchale/dhall-vim/,, https://github.com/onsails/diaglist.nvim/,, https://github.com/nvim-lua/diagnostic-nvim/,, +https://github.com/monaqa/dial.nvim/,HEAD, https://github.com/sindrets/diffview.nvim/,, https://github.com/direnv/direnv.vim/,, https://github.com/doki-theme/doki-theme-vim/,, From 342dd0bf48a50b8f90993934d811b8a1f4bba0a6 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 23:17:50 -0400 Subject: [PATCH 19/41] vimPlugins.leap-nvim: init at 2022-10-01 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 628656202621..2fb3f2c759b0 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -3921,6 +3921,18 @@ final: prev: meta.homepage = "https://github.com/leanprover/lean.vim/"; }; + leap-nvim = buildVimPluginFrom2Nix { + pname = "leap.nvim"; + version = "2022-10-01"; + src = fetchFromGitHub { + owner = "ggandor"; + repo = "leap.nvim"; + rev = "5a09c30bf676d1392ff00eb9a41e0a1fc9b60a1b"; + sha256 = "078q9dr4a2j6c6v7l4n1ly2j94d3q4fbinpmi4qma9zmrpg9nsn6"; + }; + meta.homepage = "https://github.com/ggandor/leap.nvim/"; + }; + legendary-nvim = buildVimPluginFrom2Nix { pname = "legendary.nvim"; version = "2022-10-07"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 9202d62245ce..60bccbe713e8 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -328,6 +328,7 @@ https://github.com/latex-box-team/latex-box/,, https://github.com/kdheepak/lazygit.nvim/,, https://github.com/Julian/lean.nvim/,, https://github.com/leanprover/lean.vim/,, +https://github.com/ggandor/leap.nvim/,HEAD, https://github.com/mrjones2014/legendary.nvim/,HEAD, https://github.com/camspiers/lens.vim/,, https://github.com/thirtythreeforty/lessspace.vim/,, From da7676ecd6949cce6031be5db9e43960f7c186c3 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 23:18:46 -0400 Subject: [PATCH 20/41] vimPlugins.leap-ast-nvim: init at 2022-08-02 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ .../editors/vim/plugins/vim-plugin-names | 1 + 3 files changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 2fb3f2c759b0..b254c8790e5a 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -3921,6 +3921,18 @@ final: prev: meta.homepage = "https://github.com/leanprover/lean.vim/"; }; + leap-ast-nvim = buildVimPluginFrom2Nix { + pname = "leap-ast.nvim"; + version = "2022-08-02"; + src = fetchFromGitHub { + owner = "ggandor"; + repo = "leap-ast.nvim"; + rev = "38d05c808fc8cecb4c380912649d87c7abfa9e95"; + sha256 = "0d52ndk9r8g6mp09rjryz9hp7mdyfqqcjf94j0f83qdkdmv3i9gp"; + }; + meta.homepage = "https://github.com/ggandor/leap-ast.nvim/"; + }; + leap-nvim = buildVimPluginFrom2Nix { pname = "leap.nvim"; version = "2022-10-01"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 69f07ef40fec..5ea3c82009ff 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -522,6 +522,10 @@ self: super: { dependencies = with self; [ nvim-lspconfig plenary-nvim ]; }); + leap-ast-nvim = super.leap-ast-nvim.overrideAttrs (old: { + dependencies = with self; [ leap-nvim nvim-treesitter ]; + }); + lens-vim = super.lens-vim.overrideAttrs (old: { # remove duplicate g:lens#animate in doc/lens.txt # https://github.com/NixOS/nixpkgs/pull/105810#issuecomment-740007985 diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 60bccbe713e8..7287d6c387b0 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -328,6 +328,7 @@ https://github.com/latex-box-team/latex-box/,, https://github.com/kdheepak/lazygit.nvim/,, https://github.com/Julian/lean.nvim/,, https://github.com/leanprover/lean.vim/,, +https://github.com/ggandor/leap-ast.nvim/,HEAD, https://github.com/ggandor/leap.nvim/,HEAD, https://github.com/mrjones2014/legendary.nvim/,HEAD, https://github.com/camspiers/lens.vim/,, From 441788b712ec18c3dfc1995543b10ded9250b570 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 8 Oct 2022 23:25:26 -0400 Subject: [PATCH 21/41] vimPlugins.flit-nvim: init at 2022-09-23 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ .../editors/vim/plugins/vim-plugin-names | 1 + 3 files changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index b254c8790e5a..3ed8976b0603 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -2865,6 +2865,18 @@ final: prev: meta.homepage = "https://github.com/andviro/flake8-vim/"; }; + flit-nvim = buildVimPluginFrom2Nix { + pname = "flit.nvim"; + version = "2022-09-23"; + src = fetchFromGitHub { + owner = "ggandor"; + repo = "flit.nvim"; + rev = "dd43846edca345075a60d2f749bcca71cd47a17f"; + sha256 = "1da1pfkm0jg9570smg0l2hc059jjaxpzvz8jbkx6i2m56gq9lmnh"; + }; + meta.homepage = "https://github.com/ggandor/flit.nvim/"; + }; + float-preview-nvim = buildVimPluginFrom2Nix { pname = "float-preview.nvim"; version = "2020-11-03"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 5ea3c82009ff..850f82f7018c 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -359,6 +359,10 @@ self: super: { }; }); + flit-nvim = super.flit-nvim.overrideAttrs (old: { + dependencies = with self; [ leap-nvim ]; + }); + forms = super.forms.overrideAttrs (old: { dependencies = with self; [ self.self ]; }); diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 7287d6c387b0..33223084447f 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -239,6 +239,7 @@ https://github.com/wincent/ferret/,, https://github.com/j-hui/fidget.nvim/,, https://github.com/bogado/file-line/,, https://github.com/andviro/flake8-vim/,, +https://github.com/ggandor/flit.nvim/,HEAD, https://github.com/ncm2/float-preview.nvim/,, https://github.com/fhill2/floating.nvim/,, https://github.com/floobits/floobits-neovim/,, From e1e561d0d16a6cf15683bbd3e1326d52de48547f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Oct 2022 04:04:32 +0000 Subject: [PATCH 22/41] bacon: 2.2.3 -> 2.2.5 --- pkgs/development/tools/bacon/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/bacon/default.nix b/pkgs/development/tools/bacon/default.nix index 1801b3d4d383..162bfa9b65ae 100644 --- a/pkgs/development/tools/bacon/default.nix +++ b/pkgs/development/tools/bacon/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "bacon"; - version = "2.2.3"; + version = "2.2.5"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "v${version}"; - sha256 = "sha256-9HyGHj1JWZ2S7XZCj69VdzlG4nwgzr1BKW4+4f+L+yM="; + sha256 = "sha256-KoAaECfZ8DwGN/U1HCp/4NUvTvFYiN+li3I5gNYM/oU="; }; - cargoSha256 = "sha256-DlBOZUdIg7yqLeLWqiiOFb+NSeTYJUl0RIJRG35oV4M="; + cargoSha256 = "sha256-ifUbUeqWm/gwOqzxY8lpGvW1ArZmGAy8XxAkvEfpLVQ="; buildInputs = lib.optional stdenv.isDarwin CoreServices; From 17c43ab2c8ab39c4de7cc65943a01a589caf0cd5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Oct 2022 07:20:35 +0000 Subject: [PATCH 23/41] colima: 0.4.5 -> 0.4.6 --- pkgs/applications/virtualization/colima/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/colima/default.nix b/pkgs/applications/virtualization/colima/default.nix index cec54e0b2ed1..d19a764e4eb1 100644 --- a/pkgs/applications/virtualization/colima/default.nix +++ b/pkgs/applications/virtualization/colima/default.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "colima"; - version = "0.4.5"; + version = "0.4.6"; src = fetchFromGitHub { owner = "abiosoft"; repo = pname; rev = "v${version}"; - sha256 = "sha256-hoxEf62EPD/WFXW6qbPCvEwViwmme3pSBfjeKOLsGjc="; + sha256 = "sha256-mVEp/4iL23rrw6HSl/7qMGK4YCJ6I+9gcSIhyPsAWzc="; # We need the git revision leaveDotGit = true; postFetch = '' From 9927b2f2c3da285077877e3d445336dc3472f72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 9 Oct 2022 09:55:34 +0200 Subject: [PATCH 24/41] exiv2: drop a test on darwin It's often an issue; no idea why: https://hydra.nixos.org/job/nixpkgs/nixpkgs-22.05-darwin/exiv2.aarch64-darwin though for x86 it seems to have started after compiling via rosetta: https://hydra.nixos.org/build/192631598 Note that exiv2 blocks the darwin-tested job. --- pkgs/development/libraries/exiv2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 6fc48c2d4e44..3a2ded53a110 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -83,6 +83,8 @@ stdenv.mkDerivation rec { rm -f ../tests/bugfixes/redmine/test_issue_662.py rm -f ../tests/bugfixes/github/test_issue_1046.py + rm -f ../tests/bugfixes/github/test_issue_683.py + # disable tests that requires loopback networking substituteInPlace ../tests/bash_tests/testcases.py \ --replace "def io_test(self):" "def io_disabled(self):" From 9755cb848a9e33594d99567a1be948a15710aa9c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 9 Oct 2022 10:46:24 +0200 Subject: [PATCH 25/41] =?UTF-8?q?pythonPackages.nbxmpp:=203.2.2=20?= =?UTF-8?q?=E2=86=92=203.2.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/nbxmpp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbxmpp/default.nix b/pkgs/development/python-modules/nbxmpp/default.nix index 0e6a156a4a9e..725953f0726c 100644 --- a/pkgs/development/python-modules/nbxmpp/default.nix +++ b/pkgs/development/python-modules/nbxmpp/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "nbxmpp"; - version = "3.2.2"; + version = "3.2.4"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "gajim"; repo = "python-nbxmpp"; rev = version; - sha256 = "sha256-WVE8evbfWdQNsuDEQF7WfEYDQEKGKXElKQBkUn7bJ1I="; + sha256 = "sha256-ydOJBgKPkmw2Qf0TB3ukWGpi8P0BgcCGA47dASjRrgQ="; }; nativeBuildInputs = [ From daf5a09d375c1a7b8d74742972aa45a287483c5b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 9 Oct 2022 11:01:43 +0200 Subject: [PATCH 26/41] =?UTF-8?q?gajim:=201.5.1=20=E2=86=92=201.5.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/instant-messengers/gajim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index a7c7c30206fb..6a5f898348cf 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -22,11 +22,11 @@ python3.pkgs.buildPythonApplication rec { pname = "gajim"; - version = "1.5.1"; + version = "1.5.2"; src = fetchurl { url = "https://gajim.org/downloads/${lib.versions.majorMinor version}/gajim-${version}.tar.gz"; - sha256 = "sha256-FjRrAswoE1yuDoR42U3ppzvEvFN6K/VBdQ0w99wXPtM="; + sha256 = "sha256-kXpGaGp9OWdDa1q3hx7nrD1ZeKH5CKlTgZbyuNZ05/8="; }; buildInputs = [ From cc1dbce261847370fb8a787972a22693b233c72e Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sun, 9 Oct 2022 11:11:37 +0200 Subject: [PATCH 27/41] yaws: 2.0.6 -> 2.1.1 --- pkgs/servers/http/yaws/default.nix | 24 ++++++++++-------------- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/pkgs/servers/http/yaws/default.nix b/pkgs/servers/http/yaws/default.nix index be22ebdd36c9..7609c6ea5454 100644 --- a/pkgs/servers/http/yaws/default.nix +++ b/pkgs/servers/http/yaws/default.nix @@ -1,23 +1,19 @@ -{lib, stdenv, fetchurl, erlang, pam, perl }: +{lib, stdenv, fetchFromGitHub, erlang, pam, perl, autoreconfHook }: stdenv.mkDerivation rec { pname = "yaws"; - version = "2.0.6"; + version = "2.1.1"; - src = fetchurl { - url = "http://yaws.hyber.org/download/${pname}-${version}.tar.gz"; - sha256 = "03nh97g7smsgm6sw5asssmlq7zgx6y2gnn7jn0lv2x5mkf5nzyb9"; + src = fetchFromGitHub { + owner = "erlyaws"; + repo = pname; + rev = "${pname}-${version}"; + hash = "sha256-F1qhq0SEChWw/EBodXKWTqMNmGoTwP2JgkmfANUFD9I="; }; - # The tarball includes a symlink yaws -> yaws-1.95, which seems to be - # necessary for importing erlang files - unpackPhase = '' - tar xzf $src - cd $name - ''; - configureFlags = [ "--with-extrainclude=${pam}/include/security" ]; + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ erlang pam perl ]; postInstall = '' @@ -25,8 +21,8 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - description = "A high performance HTTP 1.1 server in Erlang"; - homepage = "http://yaws.hyber.org"; + description = "A webserver for dynamic content written in Erlang."; + homepage = "https://github.com/erlyaws/yaws"; license = licenses.bsd2; platforms = platforms.linux; maintainers = with maintainers; [ goibhniu ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b51c0bbbe3d0..821883a4eef9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24226,9 +24226,7 @@ with pkgs; xwayland = callPackage ../servers/x11/xorg/xwayland.nix { }; - yaws = callPackage ../servers/http/yaws { - erlang = erlangR21; - }; + yaws = callPackage ../servers/http/yaws { }; youtrack = callPackage ../servers/jetbrains/youtrack.nix { }; From 7eef7379fe3b5caae95083ebbdb81f9b3534d409 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:01:58 +0200 Subject: [PATCH 28/41] licenses: add libssh2 license --- lib/licenses.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index c1efe9aba05b..2822f2df1a21 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -593,6 +593,11 @@ in mkLicense lset) ({ fullName = "PNG Reference Library version 2"; }; + libssh2 = { + fullName = "libssh2 License"; + url = "https://www.libssh2.org/license.html"; + }; + libtiff = { spdxId = "libtiff"; fullName = "libtiff License"; From df229a80c24788fe7b66b1d39022d78652aa937e Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:04:52 +0200 Subject: [PATCH 29/41] libssh2: update license --- pkgs/development/libraries/libssh2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libssh2/default.nix b/pkgs/development/libraries/libssh2/default.nix index 1b5d65335b8d..ce496637fcc2 100644 --- a/pkgs/development/libraries/libssh2/default.nix +++ b/pkgs/development/libraries/libssh2/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { description = "A client-side C library implementing the SSH2 protocol"; homepage = "https://www.libssh2.org"; platforms = platforms.all; - license = licenses.bsd3; + license = with licenses; [ bsd3 libssh2 ]; maintainers = with maintainers; [ SuperSandro2000 ]; }; } From ec947b13cd678b4a08f0289ccda6bba71ac025a0 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sun, 9 Oct 2022 12:11:49 +0200 Subject: [PATCH 30/41] gdal_2: drop --- pkgs/development/libraries/gdal/2.4.nix | 92 ------------------- .../poetry2nix/overrides/default.nix | 4 +- pkgs/top-level/all-packages.nix | 2 - 3 files changed, 2 insertions(+), 96 deletions(-) delete mode 100644 pkgs/development/libraries/gdal/2.4.nix diff --git a/pkgs/development/libraries/gdal/2.4.nix b/pkgs/development/libraries/gdal/2.4.nix deleted file mode 100644 index 5d6e99e8bd7f..000000000000 --- a/pkgs/development/libraries/gdal/2.4.nix +++ /dev/null @@ -1,92 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, libjpeg, libtiff, zlib -, postgresql, libmysqlclient, libgeotiff, python3Packages, proj, geos, openssl -, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat -, libiconv, libxml2 -, netcdfSupport ? true, netcdf, hdf5, curl -}: - -with lib; - -stdenv.mkDerivation rec { - pname = "gdal"; - version = "2.4.4"; - - src = fetchurl { - url = "https://download.osgeo.org/gdal/${version}/${pname}-${version}.tar.xz"; - sha256 = "1n6w0m2603q9cldlz0wyscp75ci561dipc36jqbf3mjmylybv0x3"; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/OSGeo/gdal/commit/7a18e2669a733ebe3544e4f5c735fd4d2ded5fa3.patch"; - sha256 = "sha256-rBgIxJcgRzZR1gyzDWK/Sh7MdPWeczxEYVELbYEV8JY="; - relative = "gdal"; - # this doesn't apply correctly because of line endings - excludes = [ "third_party/LercLib/Lerc2.h" ]; - }) - ]; - - buildInputs = [ libjpeg libtiff libgeotiff libpng proj openssl sqlite - libspatialite poppler hdf4 qhull giflib expat libxml2 proj ] - ++ (with python3Packages; [ python numpy wrapPython ]) - ++ lib.optional stdenv.isDarwin libiconv - ++ lib.optionals netcdfSupport [ netcdf hdf5 curl ]; - - configureFlags = [ - "--with-expat=${expat.dev}" - "--with-jpeg=${libjpeg.dev}" - "--with-libtiff=${libtiff.dev}" # optional (without largetiff support) - "--with-png=${libpng.dev}" # optional - "--with-poppler=${poppler.dev}" # optional - "--with-libz=${zlib.dev}" # optional - "--with-pg=${postgresql}/bin/pg_config" - "--with-mysql=${getDev libmysqlclient}/bin/mysql_config" - "--with-geotiff=${libgeotiff.dev}" - "--with-sqlite3=${sqlite.dev}" - "--with-spatialite=${libspatialite}" - "--with-python" # optional - "--with-proj=${proj.dev}" # optional - "--with-geos=${geos}/bin/geos-config"# optional - "--with-hdf4=${hdf4.dev}" # optional - "--with-xml2=${libxml2.dev}/bin/xml2-config" # optional - (if netcdfSupport then "--with-netcdf=${netcdf}" else "") - ]; - - hardeningDisable = [ "format" ]; - - CXXFLAGS = "-fpermissive"; - - postPatch = '' - sed -i '/ifdef bool/i\ - #ifdef swap\ - #undef swap\ - #endif' ogr/ogrsf_frmts/mysql/ogr_mysql.h - ''; - - # - Unset CC and CXX as they confuse libtool. - # - teach gdal that libdf is the legacy name for libhdf - preConfigure = '' - unset CC CXX - substituteInPlace configure \ - --replace "-lmfhdf -ldf" "-lmfhdf -lhdf" - ''; - - preBuild = '' - substituteInPlace swig/python/GNUmakefile \ - --replace "ifeq (\$(STD_UNIX_LAYOUT),\"TRUE\")" "ifeq (1,1)" - ''; - - postInstall = '' - wrapPythonPrograms - ''; - - enableParallelBuilding = true; - - meta = { - description = "Translator library for raster geospatial data formats"; - homepage = "https://www.gdal.org/"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.marcweber ]; - platforms = with lib.platforms; linux ++ darwin; - }; -} diff --git a/pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix b/pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix index bcf38f77049d..b896e5c583ba 100644 --- a/pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix +++ b/pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix @@ -600,9 +600,9 @@ lib.composeManyExtensions [ fiona = super.fiona.overridePythonAttrs ( old: { - buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.gdal_2 ]; + buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.gdal ]; nativeBuildInputs = [ - pkgs.gdal_2 # for gdal-config + pkgs.gdal # for gdal-config ]; } ); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b51c0bbbe3d0..50f2b5b421de 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18579,8 +18579,6 @@ with pkgs; autoreconfHook = buildPackages.autoreconfHook269; }; - gdal_2 = callPackage ../development/libraries/gdal/2.4.nix { }; - gdcm = callPackage ../development/libraries/gdcm { inherit (darwin.apple_sdk.frameworks) ApplicationServices Cocoa; }; From ef72b5f86e3a5cbded3694b4a4e250e2d02dba4d Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:33:17 +0200 Subject: [PATCH 31/41] freefilesync: update license --- pkgs/applications/networking/freefilesync/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/freefilesync/default.nix b/pkgs/applications/networking/freefilesync/default.nix index aa5b0fcc4b06..48f2f2e1fe0f 100644 --- a/pkgs/applications/networking/freefilesync/default.nix +++ b/pkgs/applications/networking/freefilesync/default.nix @@ -96,7 +96,7 @@ gcc12Stdenv.mkDerivation rec { meta = with lib; { description = "Open Source File Synchronization & Backup Software"; homepage = "https://freefilesync.org"; - license = licenses.gpl3Only; + license = [ licenses.gpl3Only licenses.openssl licenses.curl licenses.libssh2 ]; maintainers = with maintainers; [ wegank ]; platforms = platforms.linux; }; From aafc60e4c2526e56e642768c6dc62617e17f7421 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:45:44 +0200 Subject: [PATCH 32/41] audacity: 3.1.3 -> 3.2.1 --- pkgs/applications/audio/audacity/default.nix | 82 +++++++++++--------- pkgs/top-level/all-packages.nix | 16 ++-- 2 files changed, 50 insertions(+), 48 deletions(-) diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index 953e9887f5a6..f4846308144c 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -13,6 +13,7 @@ , libjack2 , lv2 , lilv +, mpg123 , serd , sord , sqlite @@ -45,18 +46,17 @@ , libsepol , libxkbcommon , util-linux -, wxGTK +, wavpack +, wxGTK31 , libpng , libjpeg -, AppKit ? null -, AudioToolbox ? null -, AudioUnit ? null -, Carbon ? null -, Cocoa ? null -, CoreAudio ? null -, CoreAudioKit ? null -, CoreServices ? null -, wxmac +, AppKit +, AudioToolbox +, AudioUnit +, Carbon +, CoreAudio +, CoreAudioKit +, CoreServices }: # TODO @@ -66,31 +66,28 @@ let inherit (lib) optionals; pname = "audacity"; - version = "3.1.3"; + version = "3.2.1"; - wxWidgets_src = fetchFromGitHub { - owner = pname; - repo = "wxWidgets"; - rev = "v${version}-${pname}"; - sha256 = "sha256-KrmYYv23DHBYKIuxMYBioCQ2e4KWdgmuREnimtm0XNU="; - fetchSubmodules = true; - }; - - wxGTK' = wxGTK.overrideAttrs (oldAttrs: rec { - src = wxWidgets_src; + wxGTK' = if stdenv.isDarwin then wxGTK31 else + wxGTK31.overrideAttrs (oldAttrs: rec { + version = "3.1.3.1-${pname}"; + src = fetchFromGitHub { + owner = pname; + repo = "wxWidgets"; + rev = "v${version}"; + sha256 = "sha256-1gO86/uIoo97v2KzJ7iz/hou6Fji3RkL9fM23DWyg/w="; + fetchSubmodules = true; + }; }); - - wxmac' = wxmac.overrideAttrs (oldAttrs: rec { - src = wxWidgets_src; - }); -in stdenv.mkDerivation rec { +in +stdenv.mkDerivation rec { inherit pname version; src = fetchFromGitHub { owner = pname; repo = pname; rev = "Audacity-${version}"; - sha256 = "sha256-sdI4paxIHDZgoWTCekjrkFR4JFpQC6OatcnJdVXCCZk="; + sha256 = "sha256-7rfttp9LnfM2LBT5seupPyDckS7LEzWDZoqtLsGgqgI="; }; postPatch = '' @@ -105,9 +102,9 @@ in stdenv.mkDerivation rec { gettext pkg-config python3 + makeWrapper ] ++ optionals stdenv.isLinux [ linuxHeaders - makeWrapper ]; buildInputs = [ @@ -125,6 +122,7 @@ in stdenv.mkDerivation rec { libvorbis lilv lv2 + mpg123 pcre portmidi serd @@ -136,6 +134,9 @@ in stdenv.mkDerivation rec { suil twolame portaudio + wavpack + wxGTK' + wxGTK'.gtk ] ++ optionals stdenv.isLinux [ alsa-lib # for portaudio at-spi2-core @@ -149,12 +150,8 @@ in stdenv.mkDerivation rec { libsepol libuuid util-linux - wxGTK' - wxGTK'.gtk ] ++ optionals stdenv.isDarwin [ - wxmac' AppKit - Cocoa CoreAudioKit AudioUnit AudioToolbox CoreAudio CoreServices Carbon # for portaudio libpng @@ -167,22 +164,33 @@ in stdenv.mkDerivation rec { "-DDISABLE_DYNAMIC_LOADING_FFMPEG=ON" "-Daudacity_conan_enabled=Off" "-Daudacity_use_ffmpeg=loaded" + "-Daudacity_has_vst3=Off" # RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/ "-DCMAKE_SKIP_BUILD_RPATH=ON" ]; + # [ 57%] Generating LightThemeAsCeeCode.h... + # ../../utils/image-compiler: error while loading shared libraries: + # lib-theme.so: cannot open shared object file: No such file or directory + preBuild = '' + export LD_LIBRARY_PATH=$PWD/utils + ''; + doCheck = false; # Test fails # Replace audacity's wrapper, to: # - put it in the right place, it shouldn't be in "$out/audacity" # - Add the ffmpeg dynamic dependency postInstall = lib.optionalString stdenv.isLinux '' - rm "$out/audacity" wrapProgram "$out/bin/audacity" \ --prefix LD_LIBRARY_PATH : "$out/lib/audacity":${lib.makeLibraryPath [ ffmpeg_4 ]} \ --suffix AUDACITY_MODULES_PATH : "$out/lib/audacity/modules" \ --suffix AUDACITY_PATH : "$out/share/audacity" + '' + lib.optionalString stdenv.isDarwin '' + mkdir -p $out/{Applications,bin} + mv $out/Audacity.app $out/Applications/ + makeWrapper $out/Applications/Audacity.app/Contents/MacOS/Audacity $out/bin/audacity ''; meta = with lib; { @@ -198,11 +206,9 @@ in stdenv.mkDerivation rec { # Documentation. cc-by-30 ]; - maintainers = with maintainers; [ lheckemann veprbl ]; + maintainers = with maintainers; [ lheckemann veprbl wegank ]; platforms = platforms.unix; - # darwin-aarch due to qtbase broken for it. - # darwin-x86_64 due to - # https://logs.nix.ci/?attempt_id=5cbc4581-09b4-4148-82fe-0326411a56b3&key=nixos%2Fnixpkgs.152273. - broken = stdenv.isDarwin; + # error: unknown type name 'NSAppearanceName' + broken = stdenv.isDarwin && stdenv.isx86_64; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b51c0bbbe3d0..f93e83bdfea6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26914,16 +26914,12 @@ with pkgs; }; audaciousQt5 = audacious; - audacity-gtk2 = callPackage ../applications/audio/audacity { wxGTK = wxGTK31-gtk2; }; - audacity-gtk3 = callPackage ../applications/audio/audacity { wxGTK = wxGTK31-gtk3; }; - audacity = - if stdenv.isDarwin then - callPackage ../applications/audio/audacity { - inherit (darwin.apple_sdk.frameworks) AppKit AudioToolbox AudioUnit Carbon Cocoa CoreAudio CoreAudioKit CoreServices; - suil = suil-qt5; - } - else - audacity-gtk2; + audacity-gtk2 = callPackage ../applications/audio/audacity { wxGTK31 = wxGTK31-gtk2; }; + audacity-gtk3 = callPackage ../applications/audio/audacity { wxGTK31 = wxGTK31-gtk3; }; + audacity = callPackage ../applications/audio/audacity { + inherit (darwin.apple_sdk.frameworks) AppKit AudioToolbox AudioUnit Carbon CoreAudio CoreAudioKit CoreServices; + suil = suil-qt5; + }; audio-recorder = callPackage ../applications/audio/audio-recorder { }; From 4836d085e453cb460afa16d26da9057f45513852 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:46:50 +0200 Subject: [PATCH 33/41] audacity: deprecate wxGTK31 and gtk2 --- pkgs/applications/audio/audacity/default.nix | 22 +++++--------------- pkgs/top-level/aliases.nix | 2 ++ pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index f4846308144c..733368c115c4 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -47,7 +47,8 @@ , libxkbcommon , util-linux , wavpack -, wxGTK31 +, wxGTK32 +, gtk3 , libpng , libjpeg , AppKit @@ -60,25 +61,12 @@ }: # TODO -# 1. as of 3.0.2, GTK2 is still the recommended version ref https://www.audacityteam.org/download/source/ check if that changes in future versions -# 2. detach sbsms +# 1. detach sbsms let inherit (lib) optionals; pname = "audacity"; version = "3.2.1"; - - wxGTK' = if stdenv.isDarwin then wxGTK31 else - wxGTK31.overrideAttrs (oldAttrs: rec { - version = "3.1.3.1-${pname}"; - src = fetchFromGitHub { - owner = pname; - repo = "wxWidgets"; - rev = "v${version}"; - sha256 = "sha256-1gO86/uIoo97v2KzJ7iz/hou6Fji3RkL9fM23DWyg/w="; - fetchSubmodules = true; - }; - }); in stdenv.mkDerivation rec { inherit pname version; @@ -112,6 +100,7 @@ stdenv.mkDerivation rec { ffmpeg_4 file flac + gtk3 lame libid3tag libjack2 @@ -135,8 +124,7 @@ stdenv.mkDerivation rec { twolame portaudio wavpack - wxGTK' - wxGTK'.gtk + wxGTK32 ] ++ optionals stdenv.isLinux [ alsa-lib # for portaudio at-spi2-core diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9cad7bdda5cd..2ef122ba137d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -87,6 +87,8 @@ mapAliases ({ asterisk_17 = throw "asterisk_17: Asterisk 17 is end of life and has been removed"; # Added 2022-04-06 at_spi2_atk = throw "'at_spi2_atk' has been renamed to/replaced by 'at-spi2-atk'"; # Converted to throw 2022-02-22 at_spi2_core = throw "'at_spi2_core' has been renamed to/replaced by 'at-spi2-core'"; # Converted to throw 2022-02-22 + audacity-gtk2 = throw "'audacity-gtk2' has been removed to/replaced by 'audacity'"; # Added 2022-10-09 + audacity-gtk3 = throw "'audacity-gtk3' has been removed to/replaced by 'audacity'"; # Added 2022-10-09 automoc4 = throw "automoc4 has been removed from nixpkgs"; # Added 2022-05-30 avldrums-lv2 = throw "'avldrums-lv2' has been renamed to/replaced by 'x42-avldrums'"; # Converted to throw 2022-09-24 awesome-4-0 = awesome; # Added 2022-05-05 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f93e83bdfea6..32a9eef7a115 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26914,8 +26914,6 @@ with pkgs; }; audaciousQt5 = audacious; - audacity-gtk2 = callPackage ../applications/audio/audacity { wxGTK31 = wxGTK31-gtk2; }; - audacity-gtk3 = callPackage ../applications/audio/audacity { wxGTK31 = wxGTK31-gtk3; }; audacity = callPackage ../applications/audio/audacity { inherit (darwin.apple_sdk.frameworks) AppKit AudioToolbox AudioUnit Carbon CoreAudio CoreAudioKit CoreServices; suil = suil-qt5; From 329f59805f466db154245f2ff4b6783e6b1aaf67 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Oct 2022 11:38:29 +0000 Subject: [PATCH 34/41] flyctl: 0.0.404 -> 0.0.406 --- pkgs/development/web/flyctl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/flyctl/default.nix b/pkgs/development/web/flyctl/default.nix index 0be537f73caa..6bb223ad6c67 100644 --- a/pkgs/development/web/flyctl/default.nix +++ b/pkgs/development/web/flyctl/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "flyctl"; - version = "0.0.404"; + version = "0.0.406"; src = fetchFromGitHub { owner = "superfly"; repo = "flyctl"; rev = "v${version}"; - sha256 = "sha256-GR/ZZtSkVF8d9frIdBPfjXukXZr/ewt0r8YmbZHGbZQ="; + sha256 = "sha256-2GisQo7RUqCGuw5ThfunjH4Bk8RIo0wov4lcsWu2NMs="; }; vendorSha256 = "sha256-zOhURlJCt+cDSiIz+DOQEC8yJCODCEuE1oXro54vX7I="; From 924372998beaa8f8964a15e925666871f25852dc Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 9 Oct 2022 13:55:19 +0200 Subject: [PATCH 35/41] open-watcom-v2-unwrapped: opt-out of nixpkgs-update --- pkgs/development/compilers/open-watcom/v2.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/open-watcom/v2.nix b/pkgs/development/compilers/open-watcom/v2.nix index 9ee2a21bd0f0..9d8a2367b934 100644 --- a/pkgs/development/compilers/open-watcom/v2.nix +++ b/pkgs/development/compilers/open-watcom/v2.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { pname = "${passthru.prettyName}-unwrapped"; + # nixpkgs-update: no auto update version = "unstable-2022-10-03"; src = fetchFromGitHub { From fc75cc94f4abea666d9b76a2c9dfdbef88d0c080 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 17:34:06 +0000 Subject: [PATCH 36/41] praat: 6.2.22 -> 6.2.23 --- pkgs/applications/audio/praat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/praat/default.nix b/pkgs/applications/audio/praat/default.nix index 377dc4d2975c..d05a12ec30af 100644 --- a/pkgs/applications/audio/praat/default.nix +++ b/pkgs/applications/audio/praat/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "praat"; - version = "6.2.22"; + version = "6.2.23"; src = fetchFromGitHub { owner = "praat"; repo = "praat"; rev = "v${version}"; - sha256 = "sha256-RE4QDK5x9xG1RsAWB6dgviu3V1ay/+r0vyHCPCu/qCU="; + sha256 = "sha256-gl+kT8wXLCWnNmOBx6Vg+FbmJ8kJ8pJKsahpqcYw9Lk="; }; configurePhase = '' From 8f292e361367bddbdab3f6c89359041519f126e8 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 9 Oct 2022 14:44:40 +0100 Subject: [PATCH 37/41] retroarch: mark as broken in macOS This doesn't change to much since the wrapper is also broken. --- pkgs/applications/emulators/retroarch/default.nix | 11 +++++------ pkgs/applications/emulators/retroarch/wrapper.nix | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/default.nix b/pkgs/applications/emulators/retroarch/default.nix index 2e929debc34b..1754ad5eccb6 100644 --- a/pkgs/applications/emulators/retroarch/default.nix +++ b/pkgs/applications/emulators/retroarch/default.nix @@ -129,12 +129,7 @@ stdenv.mkDerivation rec { # Workaround for the following error affecting newer versions of Clang: # ./config.def.h:xxx:x: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] - NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-Wno-undef-prefix" ] - # Workaround build failure on -fno-common toolchains: - # duplicate symbol '_apple_platform' in:ui_cocoa.o cocoa_common.o - # TODO: drop when upstream gets a fix for it: - # https://github.com/libretro/RetroArch/issues/14025 - ++ lib.optionals stdenv.isDarwin [ "-fcommon" ]; + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-Wno-undef-prefix" ]; passthru.tests = nixosTests.retroarch; @@ -145,5 +140,9 @@ stdenv.mkDerivation rec { platforms = platforms.unix; changelog = "https://github.com/libretro/RetroArch/blob/v${version}/CHANGES.md"; maintainers = with maintainers; teams.libretro.members ++ [ matthewbauer kolbycrouch ]; + # FIXME: error while building in macOS: + # "Undefined symbols for architecture " + # See also retroarch/wrapper.nix that is also broken in macOS + broken = stdenv.isDarwin; }; } diff --git a/pkgs/applications/emulators/retroarch/wrapper.nix b/pkgs/applications/emulators/retroarch/wrapper.nix index 6adcb8ffd8b4..535cd40db6c3 100644 --- a/pkgs/applications/emulators/retroarch/wrapper.nix +++ b/pkgs/applications/emulators/retroarch/wrapper.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation { The following cores are included: ${lib.concatStringsSep "\n" (map (x: " - ${x.name}") cores)} ''; - # FIXME: exits with error on macOS: + # FIXME: exit with error on macOS: # No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting broken = stdenv.isDarwin; }; From c0972c16dcbdce1b7505751e1ce537142071bb15 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Sat, 13 Aug 2022 11:59:14 -0700 Subject: [PATCH 38/41] update-python-libraries: add missing dependency nix nix is needed for nix-prefetch-url --- .../interpreters/python/update-python-libraries/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/update-python-libraries/default.nix b/pkgs/development/interpreters/python/update-python-libraries/default.nix index 81975bc5250e..497799e0a2af 100644 --- a/pkgs/development/interpreters/python/update-python-libraries/default.nix +++ b/pkgs/development/interpreters/python/update-python-libraries/default.nix @@ -1,7 +1,8 @@ -{ python3, runCommand, git }: +{ python3, runCommand, git, nix }: runCommand "update-python-libraries" { buildInputs = [ + nix (python3.withPackages(ps: with ps; [ packaging requests toolz ])) git ]; From 6471cff5ddc7d85ee037f5ee8f0590325141a1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 9 Oct 2022 18:15:09 +0200 Subject: [PATCH 39/41] exiv2: drop a test on darwin, really now I did this wrong in 9927b2f2c3d. `-f` invites typos. --- pkgs/development/libraries/exiv2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 3a2ded53a110..1e671c7b2e7d 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -83,7 +83,7 @@ stdenv.mkDerivation rec { rm -f ../tests/bugfixes/redmine/test_issue_662.py rm -f ../tests/bugfixes/github/test_issue_1046.py - rm -f ../tests/bugfixes/github/test_issue_683.py + rm ../tests/bugfixes/redmine/test_issue_683.py # disable tests that requires loopback networking substituteInPlace ../tests/bash_tests/testcases.py \ From 2189b95ebf4ddeb7b0397df7de8719f998020d47 Mon Sep 17 00:00:00 2001 From: Lin Yinfeng Date: Fri, 7 Oct 2022 13:43:46 +0800 Subject: [PATCH 40/41] seahub: fix build --- pkgs/applications/networking/seahub/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/seahub/default.nix b/pkgs/applications/networking/seahub/default.nix index bf236e179ccd..98d873097a53 100644 --- a/pkgs/applications/networking/seahub/default.nix +++ b/pkgs/applications/networking/seahub/default.nix @@ -29,6 +29,8 @@ python.pkgs.buildPythonApplication rec { sha256 = "sha256-GHvJlm5DVt3IVJnqJu8YobNNqbjdPd08s4DCdQQRQds="; }; + format = "other"; + dontBuild = true; doCheck = false; # disabled because it requires a ccnet environment From 987d2f575aff1da36d964a6e3fd3e4ba42445a76 Mon Sep 17 00:00:00 2001 From: Greizgh Date: Sun, 9 Oct 2022 18:22:43 +0200 Subject: [PATCH 41/41] nixos/seafile: avoid sleep in tests Replace sleep statements with wait_until_succeeds --- nixos/tests/seafile.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/nixos/tests/seafile.nix b/nixos/tests/seafile.nix index 6eec8b1fbe55..78e735f4fed7 100644 --- a/nixos/tests/seafile.nix +++ b/nixos/tests/seafile.nix @@ -79,18 +79,14 @@ import ./make-test-python.nix ({ pkgs, ... }: f"seaf-cli download -l {libid} -s http://server -u admin\@example.com -p seafile_password -d . >&2" ) - client1.sleep(3) - - client1.succeed("seaf-cli status |grep synchronized >&2") + client1.wait_until_succeeds("seaf-cli status |grep synchronized >&2") client1.succeed("ls -la >&2") client1.succeed("ls -la test01 >&2") client1.execute("echo bla > test01/first_file") - client1.sleep(2) - - client1.succeed("seaf-cli status |grep synchronized >&2") + client1.wait_until_succeeds("seaf-cli status |grep synchronized >&2") with subtest("client2 sync"): client2.wait_for_unit("default.target") @@ -110,9 +106,7 @@ import ./make-test-python.nix ({ pkgs, ... }: f"seaf-cli download -l {libid} -s http://server -u admin\@example.com -p seafile_password -d . >&2" ) - client2.sleep(3) - - client2.succeed("seaf-cli status |grep synchronized >&2") + client2.wait_until_succeeds("seaf-cli status |grep synchronized >&2") client2.succeed("ls -la test01 >&2")