From 22221a40d40e936487196d6bc1f0671e5ce8c1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 26 Aug 2022 15:27:07 +0200 Subject: [PATCH 001/110] docker: switch to pname+version, cleanup unused inherits, other minor cleanups --- .../virtualization/docker/default.nix | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index f21afbd55a81..c98bd7aa5eb2 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -21,33 +21,38 @@ rec { }: let docker-runc = runc.overrideAttrs (oldAttrs: { - name = "docker-runc-${version}"; + pname = "docker-runc"; inherit version; + src = fetchFromGitHub { owner = "opencontainers"; repo = "runc"; rev = runcRev; sha256 = runcSha256; }; + # docker/runc already include these patches / are not applicable patches = []; }); docker-containerd = containerd.overrideAttrs (oldAttrs: { - name = "docker-containerd-${version}"; + pname = "docker-containerd"; inherit version; + src = fetchFromGitHub { owner = "containerd"; repo = "containerd"; rev = containerdRev; sha256 = containerdSha256; }; + buildInputs = oldAttrs.buildInputs ++ [ libseccomp ]; }); - docker-tini = tini.overrideAttrs (oldAttrs: { - name = "docker-init-${version}"; + docker-tini = tini.overrideAttrs (oldAttrs: { + pname = "docker-init"; inherit version; + src = fetchFromGitHub { owner = "krallin"; repo = "tini"; @@ -63,10 +68,9 @@ rec { NIX_CFLAGS_COMPILE = "-DMINIMAL=ON"; }); - moby = buildGoPackage ((optionalAttrs (stdenv.isLinux)) rec { - name = "moby-${version}"; + moby = buildGoPackage (optionalAttrs stdenv.isLinux rec { + pname = "moby"; inherit version; - inherit docker-runc docker-containerd docker-proxy docker-tini; src = moby-src; @@ -75,7 +79,7 @@ rec { nativeBuildInputs = [ makeWrapper pkg-config go-md2man go libtool installShellFiles ]; buildInputs = [ sqlite lvm2 btrfs-progs systemd libseccomp ]; - extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]); + extraPath = optionals stdenv.isLinux (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]); extraUserPath = optionals (stdenv.isLinux && !clientOnly) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]); @@ -128,25 +132,17 @@ rec { --prefix PATH : "$out/libexec/docker:$extraPath:$extraUserPath" ''; - DOCKER_BUILDTAGS = [] - ++ optional (systemd != null) [ "journald" ] - ++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs" - ++ optional (lvm2 == null) "exclude_graphdriver_devicemapper" - ++ optional (libseccomp != null) "seccomp"; + DOCKER_BUILDTAGS = [ "journald" "seccomp" ]; }); plugins = optionals buildxSupport [ docker-buildx ] ++ optionals composeSupport [ docker-compose ]; pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; }; in - buildGoPackage ((optionalAttrs (!clientOnly) { - - inherit docker-runc docker-containerd docker-proxy docker-tini moby; - - }) // rec { - inherit version rev; - + buildGoPackage (optionalAttrs (!clientOnly) { + } // rec { pname = "docker"; + inherit version; src = fetchFromGitHub { owner = "docker"; @@ -233,7 +229,6 @@ rec { description = "An open source project to pack, ship and run any application as a lightweight container"; license = licenses.asl20; maintainers = with maintainers; [ offline tailhook vdemeester periklis mikroskeem maxeaubrey ]; - platforms = with platforms; linux ++ darwin; }; # Exposed for tarsum build on non-linux systems (build-support/docker/default.nix) From 01c28b84aadb78610e731f33f1fbc5b60a5c1249 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Sep 2022 04:46:34 +0000 Subject: [PATCH 002/110] toxiproxy: 2.4.0 -> 2.5.0 --- pkgs/development/tools/toxiproxy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/toxiproxy/default.nix b/pkgs/development/tools/toxiproxy/default.nix index c3b77e4b3e27..0ab9da2bf8a1 100644 --- a/pkgs/development/tools/toxiproxy/default.nix +++ b/pkgs/development/tools/toxiproxy/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "toxiproxy"; - version = "2.4.0"; + version = "2.5.0"; src = fetchFromGitHub { owner = "Shopify"; repo = "toxiproxy"; rev = "v${version}"; - sha256 = "sha256-vFf1yLpAa+yO1PCE+pLTnvvtROtpVxlEgACDNNUWBEM="; + sha256 = "sha256-SL3YHsNeFw8K8lPrzJXAoTkHxS+1sTREfzjawBxdnf0="; }; - vendorSha256 = "sha256-mrRMyIU6zeyAT/fXbBmtMlZzpyeB45FQmYJ4FDwTRTo="; + vendorSha256 = "sha256-CmENxPAdjz0BAyvhLKIaJjSbK/mvRzHGCQOfGIiA3yI="; excludedPackages = [ "test/e2e" ]; From d6496a13efd317a41ab795e1abecfeb850e42db4 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 17 Sep 2022 15:39:20 +0300 Subject: [PATCH 003/110] rr-unstable: remove --- .../tools/analysis/rr/unstable.nix | 22 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 1 - 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 pkgs/development/tools/analysis/rr/unstable.nix diff --git a/pkgs/development/tools/analysis/rr/unstable.nix b/pkgs/development/tools/analysis/rr/unstable.nix deleted file mode 100644 index 8ffdbc88e4dd..000000000000 --- a/pkgs/development/tools/analysis/rr/unstable.nix +++ /dev/null @@ -1,22 +0,0 @@ -# This is a temporary copy of the default.nix in this folder, with the version -# updated to the current tip of rr's master branch. This exists because rr has -# not had a release in a long time. Upstream has stated that it should be fine -# to use master. This file, and its attribute in all-packages, can be removed -# once rr makes a release. - -{ callPackage, fetchFromGitHub }: - -let - rr = callPackage ./. {}; -in - - rr.overrideAttrs (old: { - version = "unstable-2022-05-12"; - - src = fetchFromGitHub { - owner = "mozilla"; - repo = "rr"; - rev = "c96cb688106634ad09af6214aa91252c3a4f74b1"; - sha256 = "sha256-K4cEQnvBXr/j9qXCgIHLqMrRzm96ushTO5STivRj+Mk="; - }; - }) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6abfacc7d726..84947c0a1eea 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1253,6 +1253,7 @@ mapAliases ({ rockbox_utility = rockbox-utility; # Added 2022-03-17 rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21 rpiboot-unstable = rpiboot; # Added 2021-07-30 + rr-unstable = rr; # Added 2022-09-17 rssglx = throw "'rssglx' has been renamed to/replaced by 'rss-glx'"; # Converted to throw 2022-02-22 rssh = throw "rssh has been removed from nixpkgs: no upstream releases since 2012, several known CVEs"; # Added 2020-08-25 rtv = throw "rtv was archived by upstream. Consider using tuir, an actively maintained fork"; # Added 2021-08-08 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c30e5a9a8db6..4922d60a9a03 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17115,7 +17115,6 @@ with pkgs; rolespec = callPackage ../development/tools/misc/rolespec { }; rr = callPackage ../development/tools/analysis/rr { }; - rr-unstable = callPackage ../development/tools/analysis/rr/unstable.nix { }; # This is a temporary attribute, please see the corresponding file for details. rufo = callPackage ../development/tools/rufo { }; From 3913119f037da15ad7ba4514a2dfb1e900ac2b91 Mon Sep 17 00:00:00 2001 From: Reed Date: Sat, 17 Sep 2022 09:25:27 -0400 Subject: [PATCH 004/110] cinny-desktop: use openssl_1_1 --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a54ee9c4c6df..de73b2ac9b82 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3297,7 +3297,9 @@ with pkgs; cinny = callPackage ../applications/networking/instant-messengers/cinny { stdenv = stdenvNoCC; }; - cinny-desktop = callPackage ../applications/networking/instant-messengers/cinny-desktop { }; + cinny-desktop = callPackage ../applications/networking/instant-messengers/cinny-desktop { + openssl = openssl_1_1; + }; ckbcomp = callPackage ../tools/X11/ckbcomp { }; From b3dc6e35e018328a654f8669767e064f9fd7d00d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 17 Sep 2022 15:24:40 +0200 Subject: [PATCH 005/110] linux_latest-libre: 18911 -> 18916 --- pkgs/os-specific/linux/kernel/linux-libre.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-libre.nix b/pkgs/os-specific/linux/kernel/linux-libre.nix index f760c033683d..18f91ae78d01 100644 --- a/pkgs/os-specific/linux/kernel/linux-libre.nix +++ b/pkgs/os-specific/linux/kernel/linux-libre.nix @@ -1,8 +1,8 @@ { stdenv, lib, fetchsvn, linux , scripts ? fetchsvn { url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/"; - rev = "18911"; - sha256 = "1f5b936a7ayva2kyly3n71sg6cqdvcavcxbj3cy3imaj9247bx72"; + rev = "18916"; + sha256 = "0axjbr1zbj7izkvvz2nv4ij1xjjnbxpch43cpl169cr8rqdl6n6i"; } , ... }: From c2d301f7af8c9dd1cca195540a2132c0693687ea Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 17 Sep 2022 15:25:02 +0200 Subject: [PATCH 006/110] linux/hardened/patches/5.19: 5.19.8-hardened1 -> 5.19.8-hardened2 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index a27edf5260ec..141797bc7146 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -41,10 +41,10 @@ }, "5.19": { "patch": { - "extra": "-hardened1", - "name": "linux-hardened-5.19.8-hardened1.patch", - "sha256": "1j7wg4hq06drxr42jl89za1f7x52d4ck5i38p4njz4j415ihsiys", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.19.8-hardened1/linux-hardened-5.19.8-hardened1.patch" + "extra": "-hardened2", + "name": "linux-hardened-5.19.8-hardened2.patch", + "sha256": "1dfgnx2yr5d5kh2d8r7ywqkyjq1rfni2b5sdpqly0w986rlkw48k", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.19.8-hardened2/linux-hardened-5.19.8-hardened2.patch" }, "sha256": "1kl7fifsa6vsm34xg3kd2svhx18n771hfj67nhwnlalmb9whhqv1", "version": "5.19.8" From 80228b73e9cf9f8dd266ae58c2eeb7b554a2ddd2 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 17 Sep 2022 15:27:58 +0200 Subject: [PATCH 007/110] linux-hardened: fix update script We now have releases called `v5.19.x-hardened2` so make sure that the update script doesn't stumble upon this. --- pkgs/os-specific/linux/kernel/hardened/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/update.py b/pkgs/os-specific/linux/kernel/hardened/update.py index 8b40088756e1..e289a97c56ff 100755 --- a/pkgs/os-specific/linux/kernel/hardened/update.py +++ b/pkgs/os-specific/linux/kernel/hardened/update.py @@ -138,7 +138,7 @@ def fetch_patch(*, name: str, release_info: ReleaseInfo) -> Optional[Patch]: if not sig_ok: return None - kernel_ver = release_info.release.tag_name.replace("-hardened1", "") + kernel_ver = re.sub(r"(.*)(-hardened[\d]+)$", r'\1', release_info.release.tag_name) major = kernel_ver.split('.')[0] sha256_kernel, _ = nix_prefetch_url(f"mirror://kernel/linux/kernel/v{major}.x/linux-{kernel_ver}.tar.xz") From 073f7b179c18ec771d3a3bd06aba16a8de70dfcc Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 17 Sep 2022 15:29:13 +0200 Subject: [PATCH 008/110] nixos/kernel-generic: build linux_5_19_hardened --- nixos/tests/kernel-generic.nix | 1 + pkgs/top-level/linux-kernels.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/nixos/tests/kernel-generic.nix b/nixos/tests/kernel-generic.nix index f34d5d607940..452c15a3a058 100644 --- a/nixos/tests/kernel-generic.nix +++ b/nixos/tests/kernel-generic.nix @@ -30,6 +30,7 @@ let linux_5_4_hardened linux_5_10_hardened linux_5_15_hardened + linux_5_19_hardened linux_testing; }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index d27bda851cbd..139848b4fe97 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -244,6 +244,7 @@ in { linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { }; linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { }; linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream"; + linux_5_19_hardened = hardenedKernelFor kernels.linux_5_19 { }; })); /* Linux kernel modules are inherently tied to a specific kernel. So @@ -569,6 +570,7 @@ in { linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { }); linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { }); linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream"; + linux_5_19_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_19 { }); linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen); linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx); From dd6727e7b8a346f573770b5f9916914ccf919068 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 17 Sep 2022 16:19:08 +0200 Subject: [PATCH 009/110] linux/hardened/5.19: fix build The options GCC_PLUGIN_RANDSTRUCT{,_PERFORMANCE} have been renamed to `RANDSTRUCT_*` in 595b893e2087de306d0781795fb8ec47873596a6 since CLang is about to support this as well and thus the options had to be generalized. Also, the file that is used to generate the seed has changed, only the reference to the file in the patch was changed on adding Linux 5.19[1] [1] b4d0cb44975e069e926a2c8963aded9557040541 --- pkgs/os-specific/linux/kernel/hardened/config.nix | 8 ++++++-- pkgs/os-specific/linux/kernel/manual-config.nix | 13 ++++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/config.nix b/pkgs/os-specific/linux/kernel/hardened/config.nix index 0beab0725f6a..c90027f3eb14 100644 --- a/pkgs/os-specific/linux/kernel/hardened/config.nix +++ b/pkgs/os-specific/linux/kernel/hardened/config.nix @@ -72,8 +72,12 @@ assert (stdenv.hostPlatform.isx86_64 -> versions.majorMinor version != "5.4"); GCC_PLUGIN_STRUCTLEAK = whenAtLeast "4.11" yes; # A port of the PaX structleak plugin GCC_PLUGIN_STRUCTLEAK_BYREF_ALL = whenAtLeast "4.14" yes; # Also cover structs passed by address GCC_PLUGIN_STACKLEAK = whenAtLeast "4.20" yes; # A port of the PaX stackleak plugin - GCC_PLUGIN_RANDSTRUCT = whenAtLeast "4.13" yes; # A port of the PaX randstruct plugin - GCC_PLUGIN_RANDSTRUCT_PERFORMANCE = whenAtLeast "4.13" yes; + GCC_PLUGIN_RANDSTRUCT = whenBetween "4.13" "5.19" yes; # A port of the PaX randstruct plugin + GCC_PLUGIN_RANDSTRUCT_PERFORMANCE = whenBetween "4.13" "5.19" yes; + + # Same as GCC_PLUGIN_RANDSTRUCT*, but has been renamed to `RANDSTRUCT*` in 5.19. + RANDSTRUCT = whenAtLeast "5.19" yes; + RANDSTRUCT_PERFORMANCE = whenAtLeast "5.19" yes; # Disable various dangerous settings ACPI_CUSTOM_METHOD = no; # Allows writing directly to physical memory diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 4780c959315d..1049d1c62a9f 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -131,11 +131,14 @@ let # the buildFlags, but that would require also patching the kernel's # toplevel Makefile to add a variable export. This would be likely to # cause future patch conflicts. - if [ -f scripts/gcc-plugins/gen-random-seed.sh ]; then - substituteInPlace scripts/gcc-plugins/gen-random-seed.sh \ - --replace NIXOS_RANDSTRUCT_SEED \ - $(echo ${randstructSeed}${src} ${configfile} | sha256sum | cut -d ' ' -f 1 | tr -d '\n') - fi + for file in scripts/gen-randstruct-seed.sh scripts/gcc-plugins/gen-random-seed.sh; do + if [ -f "$file" ]; then + substituteInPlace "$file" \ + --replace NIXOS_RANDSTRUCT_SEED \ + $(echo ${randstructSeed}${src} ${configfile} | sha256sum | cut -d ' ' -f 1 | tr -d '\n') + break + fi + done patchShebangs scripts From ef60115c451044757a26083b3da7a42754825a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A4ring?= Date: Sun, 18 Sep 2022 15:20:20 +0200 Subject: [PATCH 010/110] maven-fod: fix passing arguments to fetcher --- pkgs/development/java-modules/maven-fod.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/java-modules/maven-fod.nix b/pkgs/development/java-modules/maven-fod.nix index 5b65c83c659c..ba6ec8ae9e0e 100644 --- a/pkgs/development/java-modules/maven-fod.nix +++ b/pkgs/development/java-modules/maven-fod.nix @@ -53,4 +53,4 @@ stdenv.mkDerivation (rec { runHook postBuild ''; -} // args) +} // builtins.removeAttrs args [ "mvnFetchExtraArgs" ]) From f0c3d89c03b902f2cb5f405f348ae49f3cb7903d Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Tue, 20 Sep 2022 08:22:25 +0200 Subject: [PATCH 011/110] teams: 1.5.00.10453 -> 1.5.00.23861 (linux), 1.5.00.22362 (darwin) --- .../instant-messengers/teams/default.nix | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teams/default.nix b/pkgs/applications/networking/instant-messengers/teams/default.nix index cebc1f9eb423..0036ffc77ca5 100644 --- a/pkgs/applications/networking/instant-messengers/teams/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams/default.nix @@ -23,7 +23,14 @@ let pname = "teams"; - version = "1.5.00.10453"; + versions = { + linux = "1.5.00.23861"; + darwin = "1.5.00.22362"; + }; + hashes = { + linux = "sha256-h0YnCeJX//l4TegJVZtavV3HrxjYUF2Fa5KmaYmZW8E="; + darwin = "sha256-fbw6T+k6R5FyQ7XOKzyNYBvXlxH2xpJsBnsR1L+3Jmw="; + }; meta = with lib; { description = "Microsoft Teams"; homepage = "https://teams.microsoft.com"; @@ -35,11 +42,12 @@ let }; linux = stdenv.mkDerivation rec { - inherit pname version meta; + inherit pname meta; + version = versions.linux; src = fetchurl { - url = "https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_${version}_amd64.deb"; - hash = "sha256-fLVw2axSMetuaoRzjg+x4DRYY8WP5TQbL7LbfF6LFfA="; + url = "https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_${versions.linux}_amd64.deb"; + hash = hashes.linux; }; nativeBuildInputs = [ dpkg autoPatchelfHook wrapGAppsHook nodePackages.asar ]; @@ -130,11 +138,12 @@ let appName = "Teams.app"; darwin = stdenv.mkDerivation { - inherit pname version meta; + inherit pname meta; + version = versions.darwin; src = fetchurl { - url = "https://statics.teams.cdn.office.net/production-osx/${version}/Teams_osx.pkg"; - hash = "sha256-vLUEvOSBUyAJIWHOAIkTqTW/W6TkgmeyRzQbquZP810="; + url = "https://statics.teams.cdn.office.net/production-osx/${versions.darwin}/Teams_osx.pkg"; + hash = hashes.darwin; }; nativeBuildInputs = [ xar cpio makeWrapper ]; From dcc88d1557204524b3156d83ca6577eeff7b0e40 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Sep 2022 07:14:58 +0000 Subject: [PATCH 012/110] datree: 1.6.29 -> 1.6.33 --- pkgs/development/tools/datree/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/datree/default.nix b/pkgs/development/tools/datree/default.nix index 85d530f92510..ca9219a04418 100644 --- a/pkgs/development/tools/datree/default.nix +++ b/pkgs/development/tools/datree/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "datree"; - version = "1.6.29"; + version = "1.6.33"; src = fetchFromGitHub { owner = "datreeio"; repo = "datree"; rev = version; - hash = "sha256-RFm7I9HTI3M0fdGOz4ZXHtQY4Pm86SOz9pcIQLqb7/U="; + hash = "sha256-VuTa1bnwxk8SUvOK3jLEvgJTPf3eABUyBssUYtoAxTs="; }; - vendorSha256 = "sha256-mEtnZO4AZEcnEHuiAWguT8VelD0yLj1rytl6gPkPKBg="; + vendorSha256 = "sha256-gjD24nyQ8U1WwhUbq8N4dvzFK74t3as7wWZK7rh9yiw="; ldflags = [ "-extldflags '-static'" From b160e51cc82059a793cd40b276b7fdfa0336b92c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Sep 2022 09:17:51 +0000 Subject: [PATCH 013/110] linode-cli: 5.22.0 -> 5.23.0 --- pkgs/tools/virtualization/linode-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/virtualization/linode-cli/default.nix b/pkgs/tools/virtualization/linode-cli/default.nix index 7dfe15d67d62..2aa9c8f6e815 100644 --- a/pkgs/tools/virtualization/linode-cli/default.nix +++ b/pkgs/tools/virtualization/linode-cli/default.nix @@ -13,8 +13,8 @@ let sha256 = "1fv53wikx745kci86xrsq9kfsgv0a65srhywdw32cab1wywwpn2z"; # specVersion taken from: https://www.linode.com/docs/api/openapi.yaml at `info.version`. - specVersion = "4.135.0"; - specSha256 = "082rkpj8yl6s75y5i9zz287059fxf6zh9hdmdwa463lr6ig90kl4"; + specVersion = "4.136.0"; + specSha256 = "17cxg83cav9qnrnv7i45hsn0z4a6a5yyfhzy80x1v0fshnc52dpw"; spec = fetchurl { url = "https://raw.githubusercontent.com/linode/linode-api-docs/v${specVersion}/openapi.yaml"; sha256 = specSha256; @@ -24,7 +24,7 @@ in buildPythonApplication rec { pname = "linode-cli"; - version = "5.22.0"; + version = "5.23.0"; src = fetchFromGitHub { owner = "linode"; From 357e6335ed33f85e3c2a7897e2fb7085eac39f30 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Wed, 31 Aug 2022 11:48:05 +0200 Subject: [PATCH 014/110] superTux: set meta.mainProgram also use https for homepage --- pkgs/games/supertux/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/games/supertux/default.nix b/pkgs/games/supertux/default.nix index 227cfdcb6dc8..679500f974c3 100644 --- a/pkgs/games/supertux/default.nix +++ b/pkgs/games/supertux/default.nix @@ -58,9 +58,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Classic 2D jump'n run sidescroller game"; - homepage = "http://supertux.github.io/"; + homepage = "https://supertux.github.io/"; license = licenses.gpl2; maintainers = with maintainers; [ pSub ]; platforms = with platforms; linux; + mainProgram = "supertux2"; }; } From 32f4104b6610d31a17cc06f71a88bc27a677f538 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 20 Sep 2022 21:49:53 +0100 Subject: [PATCH 015/110] tinyproxy: add patch for CVE-2022-40468 --- pkgs/tools/networking/tinyproxy/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/tinyproxy/default.nix b/pkgs/tools/networking/tinyproxy/default.nix index 44bca62e8f09..12c8a0d0447e 100644 --- a/pkgs/tools/networking/tinyproxy/default.nix +++ b/pkgs/tools/networking/tinyproxy/default.nix @@ -1,4 +1,11 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, withDebug ? false }: +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, autoreconfHook +, perl +, withDebug ? false +}: stdenv.mkDerivation rec { pname = "tinyproxy"; @@ -11,6 +18,14 @@ stdenv.mkDerivation rec { owner = "tinyproxy"; }; + patches = [ + (fetchpatch { + name = "CVE-2022-40468.patch"; + url = "https://github.com/tinyproxy/tinyproxy/commit/3764b8551463b900b5b4e3ec0cd9bb9182191cb7.patch"; + sha256 = "sha256-P0c4mUK227ld3703ss5MQhi8Vo2QVTCVXhKmc9fcufk="; + }) + ]; + # perl is needed for man page generation. nativeBuildInputs = [ autoreconfHook perl ]; From 97e042d58b5abcb0bbe84ba13dc48e23003bb585 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 06:46:07 +0000 Subject: [PATCH 016/110] rust-analyzer-unwrapped: 2022-09-12 -> 2022-09-19 --- pkgs/development/tools/rust/rust-analyzer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix index 37dcff8abce1..cdf9de2323a2 100644 --- a/pkgs/development/tools/rust/rust-analyzer/default.nix +++ b/pkgs/development/tools/rust/rust-analyzer/default.nix @@ -12,14 +12,14 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2022-09-12"; - cargoSha256 = "sha256-mi6Ab3CyOfz1ZYViYbJwJCIew/N+IPt37bkq7x/N7IY="; + version = "2022-09-19"; + cargoSha256 = "sha256-GoGnhO1WaDpNrxyOj2xJPirwmsZ2IESDmA7orryupfo="; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; rev = version; - sha256 = "sha256-1LkSsXzI1JTAmP/GMTz4fTJd8y/tw8R79l96q+h7mu8="; + sha256 = "sha256-aG6JOn3BG/2U1zuusB4bwLnPMXNoAeDSL8MWUCDLvl8="; }; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; From c15ada5b918ab5239a3d80558fa1268479fa66af Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 07:54:48 +0000 Subject: [PATCH 017/110] wiki-js: 2.5.288 -> 2.5.289 --- pkgs/servers/web-apps/wiki-js/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/wiki-js/default.nix b/pkgs/servers/web-apps/wiki-js/default.nix index 47bb88509629..e0e878746b87 100644 --- a/pkgs/servers/web-apps/wiki-js/default.nix +++ b/pkgs/servers/web-apps/wiki-js/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "wiki-js"; - version = "2.5.288"; + version = "2.5.289"; src = fetchurl { url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz"; - sha256 = "sha256-3Bfkmv/DP7L37puhHarfe6ntwJ1d/2v0UMAabcv0Gco="; + sha256 = "sha256-hHUVHsRRlwFxHriaf7uHsaxRvQmeOKFHvz/taooK4YM="; }; sourceRoot = "."; From 14384cf3cae6bbd85224e438ffead3136ae36eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 21 Sep 2022 14:34:46 +0200 Subject: [PATCH 018/110] knot-resolver: 5.5.2 -> 5.5.3 CVE-2022-40188 and also the patches were included in the release. https://gitlab.nic.cz/knot/knot-resolver/-/tags/v5.5.3 --- pkgs/servers/dns/knot-resolver/default.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index dc14049b9dbb..cccc366c9291 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -1,5 +1,4 @@ { lib, stdenv, fetchurl -, fetchpatch # native deps. , runCommand, pkg-config, meson, ninja, makeWrapper # build+runtime deps. @@ -18,28 +17,15 @@ lua = luajitPackages; unwrapped = stdenv.mkDerivation rec { pname = "knot-resolver"; - version = "5.5.2"; + version = "5.5.3"; src = fetchurl { url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz"; - sha256 = "3f78aa69c3f28edc42b5900b9788fba39498d8bffda7fb9c772bb470865780cb"; + sha256 = "a38f57c68b7d237d662784d8406e6098aad66a148f44dcf498d1e9664c5fed2d"; }; outputs = [ "out" "dev" ]; - patches = [ - (fetchpatch { - name = "fix-config-tests-on-darwin.patch"; - url = "https://gitlab.nic.cz/knot/knot-resolver/-/commit/48ad9d436cf80f58c107774c313a561d852148a0.diff"; - sha256 = "CEX1XkeYLUSe31xUhNdMRMl1VUXtKFCs5noNJaqL5x0="; - }) - (fetchpatch { - name = "fix-config-tests-on-aarch64-darwin.patch"; - url = "https://gitlab.nic.cz/knot/knot-resolver/-/commit/adaac913c50a5db2f226a081ddc419b0d56d1757.diff"; - sha256 = "1LrL74luzPTyJ7VBi7fskDga4lYAh7cSUmDcd1BNO78="; - }) - ]; - # Path fixups for the NixOS service. postPatch = '' patch meson.build < Date: Wed, 21 Sep 2022 09:48:25 -0400 Subject: [PATCH 019/110] changie: fix version output, add figsoda to maintainers --- pkgs/development/tools/changie/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix index 53c4a22f59f3..e9de84c20ad7 100644 --- a/pkgs/development/tools/changie/default.nix +++ b/pkgs/development/tools/changie/default.nix @@ -13,12 +13,14 @@ buildGoModule rec { vendorSha256 = "sha256-9Cpyemq/f62rVMvGwOtgDGd9XllvICXL2dqNwUoFQmg="; + ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; + meta = with lib; { homepage = "https://changie.dev"; + changelog = "https://github.com/miniscruff/changie/blob/v${version}/CHANGELOG.md"; description = "Automated changelog tool for preparing releases with lots of customization options"; license = licenses.mit; platforms = platforms.unix; - maintainers = with maintainers; [ matthiasbeyer ]; + maintainers = with maintainers; [ figsoda matthiasbeyer ]; }; } - From 6fd770a1fead52798ebf87c454f53911bbcdb98b Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 21 Sep 2022 11:51:21 -0400 Subject: [PATCH 020/110] changie: skip flaky test --- pkgs/development/tools/changie/default.nix | 2 ++ pkgs/development/tools/changie/skip-flaky-test.patch | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 pkgs/development/tools/changie/skip-flaky-test.patch diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix index e9de84c20ad7..e2a9bed25099 100644 --- a/pkgs/development/tools/changie/default.nix +++ b/pkgs/development/tools/changie/default.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorSha256 = "sha256-9Cpyemq/f62rVMvGwOtgDGd9XllvICXL2dqNwUoFQmg="; + patches = [ ./skip-flaky-test.patch ]; + ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; meta = with lib; { diff --git a/pkgs/development/tools/changie/skip-flaky-test.patch b/pkgs/development/tools/changie/skip-flaky-test.patch new file mode 100644 index 000000000000..48c038ecf624 --- /dev/null +++ b/pkgs/development/tools/changie/skip-flaky-test.patch @@ -0,0 +1,10 @@ +--- a/core/change_test.go ++++ b/core/change_test.go +@@ -353,6 +353,7 @@ var _ = Describe("Change ask prompts", func() { + }) + + It("gets error for invalid body", func() { ++ Skip("") + var min int64 = 5 + submitFailed := false + config := Config{ From 69a8546f6b8114a44245a2f29cd12a9ad0d91069 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 19:46:08 +0000 Subject: [PATCH 021/110] gokart: 0.4.0 -> 0.5.0 --- pkgs/development/tools/gokart/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gokart/default.nix b/pkgs/development/tools/gokart/default.nix index f7d0857580ef..c2775f7826a1 100644 --- a/pkgs/development/tools/gokart/default.nix +++ b/pkgs/development/tools/gokart/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "gokart"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "praetorian-inc"; repo = pname; rev = "v${version}"; - sha256 = "sha256-HsjLNY5Z5UidsLDWSP+1bu3jrfn3oAERPrPV/AkTH8I="; + sha256 = "sha256-oxYlwc3FatYyaICQFZJtkH9/7zYfT2gI+R5BU7CQVkg="; }; - vendorSha256 = "sha256-S3RukCKAJnPH1KGVdnkgAJQKEDTZYpcMMdoQ4OnHZVg="; + vendorSha256 = "sha256-lgKYVgJlmUJ/msdIqG7EKAZuISie1lG7+VeCF/rcSlE="; # Would need files to scan which are not shipped by the project doCheck = false; From 24e576a7f5786cb710168ff34efd9a2baff3e1ac Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 20:48:12 +0000 Subject: [PATCH 022/110] python310Packages.deep-translator: 1.8.3 -> 1.9.0 --- pkgs/development/python-modules/deep-translator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/deep-translator/default.nix b/pkgs/development/python-modules/deep-translator/default.nix index df94f0709f41..22d8a79ab763 100644 --- a/pkgs/development/python-modules/deep-translator/default.nix +++ b/pkgs/development/python-modules/deep-translator/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "deep-translator"; - version = "1.8.3"; + version = "1.9.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-9YTDvrm5Q8k5G7qDF05651IxMV1BeTcgIAMSxU/bwM0="; + sha256 = "sha256-wPpVVopbvuw7wreZ4f0HLz9/NJgyYYIFttw4rhJC1xo="; }; propagatedBuildInputs = [ From 9da04518972fd061ecddd8616381f7727a12b0b9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 20:55:49 +0000 Subject: [PATCH 023/110] interactsh: 1.0.6 -> 1.0.7 --- pkgs/tools/misc/interactsh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/interactsh/default.nix b/pkgs/tools/misc/interactsh/default.nix index 06b2cb861101..7eba8fdfbdc5 100644 --- a/pkgs/tools/misc/interactsh/default.nix +++ b/pkgs/tools/misc/interactsh/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "interactsh"; - version = "1.0.6"; + version = "1.0.7"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "v${version}"; - sha256 = "sha256-pqmW2lzZ0jVvS77vPisSc8dtmDvFajuLeiUeGpUXDB8="; + sha256 = "sha256-egM3ZlY/xjUu/Bxg58d7YET2PT3prf6ooZY+s/9faWQ="; }; - vendorSha256 = "sha256-nS3j6334hHiXZMpHmVKTHlkDYGThE1q5b8LS4n26tB4="; + vendorSha256 = "sha256-Y6ErkDHnXJtdzEykD5EZYHRfHDPicE0sAzT2UXUNTGY="; modRoot = "."; subPackages = [ From ef6303dc92ab9c5acaec7705e4d96fe00677fc47 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 21:11:28 +0000 Subject: [PATCH 024/110] konf: 0.2.0 -> 0.3.0 --- pkgs/development/tools/konf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/konf/default.nix b/pkgs/development/tools/konf/default.nix index 9747dbe69616..dd7e4d2a97b0 100644 --- a/pkgs/development/tools/konf/default.nix +++ b/pkgs/development/tools/konf/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "konf"; - version = "0.2.0"; + version = "0.3.0"; src = fetchFromGitHub { owner = "SimonTheLeg"; repo = "konf-go"; rev = "v${version}"; - hash = "sha256-UeuR7lsNG2Y0hdpQA5NXBUlSvYeixyKS73N95z5TZ7k="; + hash = "sha256-n8WJyihpbtci8Q6zUapwrpTrVZVAS53OpnwAsv6w1FY="; }; vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8="; From d7c17f1721f3559a07b2b32012438ff0d9761367 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 21:12:40 +0000 Subject: [PATCH 025/110] krapslog: 0.4.0 -> 0.4.1 --- pkgs/tools/misc/krapslog/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/krapslog/default.nix b/pkgs/tools/misc/krapslog/default.nix index 1175739159dd..4d6b3e016b43 100644 --- a/pkgs/tools/misc/krapslog/default.nix +++ b/pkgs/tools/misc/krapslog/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "krapslog"; - version = "0.4.0"; + version = "0.4.1"; src = fetchFromGitHub { owner = "acj"; repo = "krapslog-rs"; rev = version; - sha256 = "sha256-ETP0BvtfMHznEbM0Vu/gMoRvXn4y2XcXw6CoU60A+Cg="; + sha256 = "sha256-MzO6fcBlrGeZoflyFXPVIdQ+y/GkQz3yEeEbXLoDZQY="; }; - cargoSha256 = "sha256-ioD0V1S/kPF5etey04Xz1Iz/jDpyunx9PtpWKdwk21g="; + cargoSha256 = "sha256-r5UGCEMAEVIdVeBPsgBf/CMYtBPS03Joje4sNQ8XfFA="; buildInputs = lib.optional stdenv.isDarwin libiconv; From d7962fe15ca9aa8f21f06c9bc6681c23deea6ab1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 21:16:36 +0000 Subject: [PATCH 026/110] kubernetes-controller-tools: 0.9.2 -> 0.10.0 --- .../tools/kubernetes-controller-tools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/kubernetes-controller-tools/default.nix b/pkgs/development/tools/kubernetes-controller-tools/default.nix index f0f98d29e25e..6c1f1b7cfbee 100644 --- a/pkgs/development/tools/kubernetes-controller-tools/default.nix +++ b/pkgs/development/tools/kubernetes-controller-tools/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "controller-tools"; - version = "0.9.2"; + version = "0.10.0"; src = fetchFromGitHub { owner = "kubernetes-sigs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-fMLydjdL9GCSX2rf7ORW1RhZJpjA0hyeK40AwKTkrxg="; + sha256 = "sha256-244o+QZ0BGVe8t8AWf1wU6VHgYyzkATpr5ZTbZezk10="; }; - vendorSha256 = "sha256-6luowQB/j8ipHSuWMHia8SdacienDzpV8g2JH3k0W80="; + vendorSha256 = "sha256-sVdSKu6TDGIDV2o+kuCvGCItbFe9MwlM2Qjiz8n2rZU="; doCheck = false; From 8badd47ce9935a4e2784a39147004c6500bdc036 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 21:27:14 +0000 Subject: [PATCH 027/110] libamqpcpp: 4.3.17 -> 4.3.18 --- pkgs/development/libraries/libamqpcpp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libamqpcpp/default.nix b/pkgs/development/libraries/libamqpcpp/default.nix index 4c42ea8e2128..c055a6bce193 100644 --- a/pkgs/development/libraries/libamqpcpp/default.nix +++ b/pkgs/development/libraries/libamqpcpp/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libamqpcpp"; - version = "4.3.17"; + version = "4.3.18"; src = fetchFromGitHub { owner = "CopernicaMarketingSoftware"; repo = "AMQP-CPP"; rev = "v${version}"; - sha256 = "sha256-DQzetwBpgXE1oG295DCc1m12LSbzRTD3khNbEe0O4Rg="; + sha256 = "sha256-cjxzBw2tjZROx5xzdhzZjGNJQe3tC9fHOhF/+uSM+CY="; }; buildInputs = [ openssl ]; From ce18748983e21a51de91a1648263fc2d30dd1d1c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 22:26:57 +0000 Subject: [PATCH 028/110] lightningcss: 1.15.1 -> 1.16.0 --- pkgs/development/tools/lightningcss/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/lightningcss/default.nix b/pkgs/development/tools/lightningcss/default.nix index b05f8c402ba0..d9cdfe21ad74 100644 --- a/pkgs/development/tools/lightningcss/default.nix +++ b/pkgs/development/tools/lightningcss/default.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "lightningcss"; - version = "1.15.1"; + version = "1.16.0"; src = fetchFromGitHub { owner = "parcel-bundler"; repo = "lightningcss"; rev = "v${version}"; - sha256 = "sha256-VRRSi4VF58E+d8cpX/shb4lBVBeTXHAaHJriTYYte/8="; + sha256 = "sha256-ze8+/34KeSQi2ftcpJYjF/EEFKYxkYijkpf+5eTo0Nk="; }; - cargoSha256 = "sha256-duGCc+tWJ2J4wJL2ErZ3bGslxBERH0Xrb2taVaEOdas="; + cargoSha256 = "sha256-4lJi1jCJoJdOz+NrlXS4O59rSq9Mz4e4O3zFNE/v+dE="; buildFeatures = [ "cli" ]; From 2a22e4526f27b7200713b7379ef4432fb805519b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 00:37:41 +0200 Subject: [PATCH 029/110] python310Packages.aliyun-python-sdk-cdn: 3.7.2 -> 3.7.5 --- .../python-modules/aliyun-python-sdk-cdn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix index 9303f985022a..270822b13b13 100644 --- a/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix +++ b/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "aliyun-python-sdk-cdn"; - version = "3.7.2"; + version = "3.7.5"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-wbVkoNu9ffMpuivUGg+PAya099xMbU0Ehvl0++ud+WE="; + hash = "sha256-XeS/ufl+cRW3aqm/1dJ0Crq/pT3Mp0eh02vTm2rCWuI="; }; propagatedBuildInputs = [ From 05360e421735c8cf411c350eb6d1d15f2b2a16c8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 00:38:58 +0200 Subject: [PATCH 030/110] python310Packages.aliyun-python-sdk-iot: 8.42.0 -> 8.44.0 --- .../python-modules/aliyun-python-sdk-iot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix index 6dde44e4ba5a..5bfd45cd7dbc 100644 --- a/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix +++ b/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "aliyun-python-sdk-iot"; - version = "8.42.0"; + version = "8.44.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-pp1objaT0Galxz91V1OoMfogYQyZ1lZC6XGFd4wSTq8="; + hash = "sha256-hozd22BeDcFSLQS20+zWZancIgdFevuBbXkt7pe3HfY="; }; propagatedBuildInputs = [ From 2c3ba347fe76d7df9f9de3c1e83915b88203e6af Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 00:44:07 +0200 Subject: [PATCH 031/110] python310Packages.adlfs: 2022.7.0 -> 2022.9.1 --- pkgs/development/python-modules/adlfs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/adlfs/default.nix b/pkgs/development/python-modules/adlfs/default.nix index c46ffb6f69fc..1058bc94ffbf 100644 --- a/pkgs/development/python-modules/adlfs/default.nix +++ b/pkgs/development/python-modules/adlfs/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "adlfs"; - version = "2022.7.0"; + version = "2022.9.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "fsspec"; repo = pname; rev = version; - hash = "sha256-79HPJip+nocYo/r8LCb9vdYKVuEh0BBrz/eTJF0eGTA="; + hash = "sha256-7gL0B4rOMsMYYqElY9hSZeAICWA+mO5N+Xe357DWgu8="; }; propagatedBuildInputs = [ From 6294155267077ac0bcd8e698640516f5dc3eadc6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 22:50:46 +0000 Subject: [PATCH 032/110] mod: 0.4.2 -> 0.4.3 --- pkgs/development/tools/mod/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/mod/default.nix b/pkgs/development/tools/mod/default.nix index 837b431a5f46..3ea0e1f05a22 100644 --- a/pkgs/development/tools/mod/default.nix +++ b/pkgs/development/tools/mod/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "mod"; - version = "0.4.2"; + version = "0.4.3"; src = fetchFromGitHub { owner = "marwan-at-work"; repo = "mod"; rev = "v${version}"; - sha256 = "sha256-ZmBh59za1OaFObmNzLtuLKkbR0mBeh6OeD+EHton0nE="; + sha256 = "sha256-7J9BEJ43mNbz6vjeN7Ygn/z+DOp8aGGZI9FhRALFOUk="; }; - vendorSha256 = "sha256-+87QR3l9XBJVsx4+8ixaidTHaKyLAxMA9CguOlTVoHM="; + vendorSha256 = "sha256-NvTbQcYGMyQ/bfNTJ3eC28n9TIU4HkcD3ij2o9EBX3Y="; doCheck = false; From e49d3e152f3368b953c4b7791914fe10c38072ef Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 22:58:01 +0000 Subject: [PATCH 033/110] modsecurity-crs: 3.3.2 -> 3.3.4 --- pkgs/tools/security/modsecurity-crs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/modsecurity-crs/default.nix b/pkgs/tools/security/modsecurity-crs/default.nix index 124eca09ca48..16e21577f78e 100644 --- a/pkgs/tools/security/modsecurity-crs/default.nix +++ b/pkgs/tools/security/modsecurity-crs/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { - version = "3.3.2"; + version = "3.3.4"; pname = "modsecurity-crs"; src = fetchFromGitHub { owner = "coreruleset"; repo = "coreruleset"; rev = "v${version}"; - sha256 = "sha256-m/iVLhk2y5BpYu8EwC2adrrDnbaVCQ0SE25ltvMokCw="; + sha256 = "sha256-WDJW4K85YdHrw9cys3LrnZUoTxc0WhiuCW6CiC1cAbk="; }; installPhase = '' From 57d7a93a14e9435279b9d046b761aed5a6d5d29a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 01:05:17 +0200 Subject: [PATCH 034/110] python310Packages.ormar: 0.11.2 -> 0.11.3 --- .../python-modules/ormar/default.nix | 46 +++++++++++++++++-- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ormar/default.nix b/pkgs/development/python-modules/ormar/default.nix index cc028df3233f..c08340e75646 100644 --- a/pkgs/development/python-modules/ormar/default.nix +++ b/pkgs/development/python-modules/ormar/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "ormar"; - version = "0.11.2"; + version = "0.11.3"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "collerek"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-L0Tc/MmXDeNbUaHgWaxaY8lu+wUhq1ereqpya150SBg="; + hash = "sha256-4tGwhgHLZmvsbaDjmmQ3tXBwUBIxb5EpQrT8VIu/XwY="; }; nativeBuildInputs = [ @@ -70,13 +70,51 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'SQLAlchemy = ">=1.3.18,<1.4.39"' 'SQLAlchemy = ">=1.3.18"' \ - --replace 'databases = ">=0.3.2,!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,<0.6.1"' 'databases = ">=0.5.5"' + --replace 'SQLAlchemy = ">=1.3.18,<1.4.42"' 'SQLAlchemy = ">=1.3.18"' \ + --replace 'databases = ">=0.3.2,!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,<0.6.2"' 'databases = ">=0.5.5"' ''; disabledTests = [ # TypeError: Object of type bytes is not JSON serializable "test_bulk_operations_with_json" + # Tests require a database + "test_model_multiple_instances_of_same_table_in_schema" + "test_load_all_multiple_instances_of_same_table_in_schema" + "test_filter_groups_with_instances_of_same_table_in_schema" + "test_model_multiple_instances_of_same_table_in_schema" + "test_right_tables_join" + "test_multiple_reverse_related_objects" + "test_related_with_defaults" + "test_model_creation" + "test_default_orders_is_applied_on_related_two_fields" + "test_default_orders_is_applied_from_relation" + "test_sum_method" + "test_count_method " + "test_queryset_methods" + "test_queryset_update" + "test_selecting_subset" + "test_selecting_subset_of_through_model" + "test_simple_queryset_values" + "test_queryset_values_nested_relation" + "test_queryset_simple_values_list" + "test_queryset_nested_relation_values_list" + "test_queryset_nested_relation_subset_of_fields_values_list" + "test_m2m_values" + "test_nested_m2m" + "test_nested_flatten_and_exception" + "test_queryset_values_multiple_select_related" + "test_querysetproxy_values" + "test_querysetproxy_values_list" + "test_reverse_many_to_many_cascade" + "test_not_saved_raises_error" + "test_not_existing_raises_error" + "test_assigning_related_objects" + "test_quering_of_the_m2m_models" + "test_removal_of_the_relations" + "test_selecting_related" + "test_adding_unsaved_related" + "test_removing_unsaved_related" + "test_quering_of_related_model_works_but_no_result" ]; pythonImportsCheck = [ From 2bd070cbacd3b488ca34eef7d1df3cbb968351ee Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 23:29:50 +0000 Subject: [PATCH 035/110] monero-gui: 0.18.1.0 -> 0.18.1.1 --- pkgs/applications/blockchains/monero-gui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/monero-gui/default.nix b/pkgs/applications/blockchains/monero-gui/default.nix index 6627c29d9951..945cb5e080c5 100644 --- a/pkgs/applications/blockchains/monero-gui/default.nix +++ b/pkgs/applications/blockchains/monero-gui/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "monero-gui"; - version = "0.18.1.0"; + version = "0.18.1.1"; src = fetchFromGitHub { owner = "monero-project"; repo = "monero-gui"; rev = "v${version}"; - sha256 = "sha256-XL7DV4YD/U6RiqgdYJf6zFfvJWlOx//4YVmnc51riiE="; + sha256 = "sha256-mxbr02Ba/BeUiAZujnBdXgJSaq6a/U4GM7rR7sZzTWc="; }; nativeBuildInputs = [ From 85e38189c25dad2ec9c7dd7c3ba6c0d81328cb13 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 23:30:02 +0000 Subject: [PATCH 036/110] monero-cli: 0.18.1.0 -> 0.18.1.1 --- pkgs/applications/blockchains/monero-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/monero-cli/default.nix b/pkgs/applications/blockchains/monero-cli/default.nix index 1709c8833cb8..659e54f9b464 100644 --- a/pkgs/applications/blockchains/monero-cli/default.nix +++ b/pkgs/applications/blockchains/monero-cli/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "monero-cli"; - version = "0.18.1.0"; + version = "0.18.1.1"; src = fetchFromGitHub { owner = "monero-project"; repo = "monero"; rev = "v${version}"; - sha256 = "sha256-xniGiGqZpL1b6alnCxa2MNzuDQxPgMdNjqifOC8h0qM="; + sha256 = "sha256-R3ajdsHVgvkUEwaShwMvhIrcbM4YjsXgBk2QGBhxGRQ="; fetchSubmodules = true; }; From 8ca030000ab44ada208dd41ae7ea04efdd7ed9c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 23:36:21 +0000 Subject: [PATCH 037/110] mpd-discord-rpc: 1.5.2 -> 1.5.3 --- pkgs/tools/audio/mpd-discord-rpc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/audio/mpd-discord-rpc/default.nix b/pkgs/tools/audio/mpd-discord-rpc/default.nix index 7f363d28dcfb..9318b22aaf8c 100644 --- a/pkgs/tools/audio/mpd-discord-rpc/default.nix +++ b/pkgs/tools/audio/mpd-discord-rpc/default.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage rec { pname = "mpd-discord-rpc"; - version = "1.5.2"; + version = "1.5.3"; src = fetchFromGitHub { owner = "JakeStanger"; repo = pname; rev = "v${version}"; - sha256 = "sha256-/QWIoP6KcrI8cYTh3x2lQz7nPSvzb1zRWg8TFoYY9vE="; + sha256 = "sha256-Iw4n3xcc+589/42SfnAklEWTkgwZKAk84dS8fXXLcvs="; }; - cargoSha256 = "sha256-46PS1+ud7GYuMOJMp93Hf7+nlngvgL67zedaF44TcYY="; + cargoSha256 = "sha256-Ss6UUznt9g3XWdeCuMG0y9NxWpGOmHbKsQqOMGOK2jo="; nativeBuildInputs = [ pkg-config ]; From ee95ea169bed642118ff48d526afdf7fcfa05205 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 23:41:24 +0000 Subject: [PATCH 038/110] mubeng: 0.10.0 -> 0.11.0 --- pkgs/tools/networking/mubeng/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/mubeng/default.nix b/pkgs/tools/networking/mubeng/default.nix index e4b9cedaff4d..a214d00b9812 100644 --- a/pkgs/tools/networking/mubeng/default.nix +++ b/pkgs/tools/networking/mubeng/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "mubeng"; - version = "0.10.0"; + version = "0.11.0"; src = fetchFromGitHub { owner = "kitabisa"; repo = pname; rev = "v${version}"; - sha256 = "sha256-z81/WbqhMJPliT5rrW4UY8gseV7R2UDQIUOjZuUgLTI="; + sha256 = "sha256-BY3X9N7XnBZ6mVX/o+EXruJmi3HYWMeY9enSuJY4jWI="; }; - vendorSha256 = "sha256-CjAFntwpHvUOaaLHDOT9Dctptv5EFW62X8XWT4SvT2A="; + vendorSha256 = "sha256-1JxyP6CrJ4/g7o3eGeN1kRXJU/jNLEB8fW1bjJytQqQ="; ldflags = [ "-s" "-w" "-X ktbs.dev/mubeng/common.Version=${version}" ]; From 2b6c72e17306cb57b97ab1e26bb4c7a42ba1e430 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Wed, 7 Sep 2022 10:07:53 -0700 Subject: [PATCH 039/110] python3Packages.shapely: 1.8.2 -> 1.8.4 Fixes https://github.com/NixOS/nixpkgs/issues/185996 (!!) where the tests were segfaulting on macOS/aarch64. Probably fixes the django and other builds for a lot of the ecosystem. --- .../python-modules/shapely/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix index a41381fe35bf..fda2645105f6 100644 --- a/pkgs/development/python-modules/shapely/default.nix +++ b/pkgs/development/python-modules/shapely/default.nix @@ -2,7 +2,6 @@ , stdenv , buildPythonPackage , fetchPypi -, fetchpatch , substituteAll , pythonOlder , geos @@ -13,12 +12,12 @@ buildPythonPackage rec { pname = "Shapely"; - version = "1.8.2"; + version = "1.8.4"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Vyr51QBv1eMhPjfuVIkSsDQfsmck1tyKTjlQwQGX67Y="; + sha256 = "sha256-oZXlHKr6IYKR8suqP+9p/TNTyT7EtlsqRyLEz0DDGYw="; }; nativeBuildInputs = [ @@ -44,20 +43,21 @@ buildPythonPackage rec { libgeos_c = GEOS_LIBRARY_PATH; libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6"; }) - (fetchpatch { - name = "fix-tests-geos-3.11.patch"; - url = "https://github.com/shapely/shapely/commit/21c8e8a7909e7fb3cce6daa5c5b8284ac927fcb0.patch"; - includes = [ "tests/test_parallel_offset.py" ]; - sha256 = "sha256-85c8NlmAzzfCgepe/411ug5Sq+665dFMb3ySaUt9Kew="; - }) ]; preCheck = '' rm -r shapely # prevent import of local shapely ''; - disabledTests = [ - "test_collection" + disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # FIXME(lf-): these logging tests are broken, which is definitely our + # fault. I've tried figuring out the cause and failed. + # + # It is apparently some sandbox or no-sandbox related thing on macOS only + # though. + "test_error_handler_exception" + "test_error_handler" + "test_info_handler" ]; pythonImportsCheck = [ "shapely" ]; From 9c8c7f4dd9b4efb0ae0c00df3c7770154bc47d7b Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Wed, 21 Sep 2022 20:59:45 -0300 Subject: [PATCH 040/110] .github/labeler.yml: add vscode label --- .github/labeler.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 47ec892e2266..412dff9c06f8 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -143,6 +143,9 @@ - nixos/modules/programs/neovim.nix - pkgs/applications/editors/neovim/**/* +"6.topic: vscode": + - pkgs/applications/editors/vscode/**/* + "6.topic: xfce": - nixos/doc/manual/configuration/xfce.xml - nixos/modules/services/x11/desktop-managers/xfce.nix From c8554deb5003c55a197effbad4b515420415e7b4 Mon Sep 17 00:00:00 2001 From: night <903bdd24-af4f-4d5a-8499-d5008a128f26@potato.io> Date: Wed, 21 Sep 2022 08:47:20 -0700 Subject: [PATCH 041/110] gvisor: 20220905.0 -> 20220919.0 --- .../applications/virtualization/gvisor/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/virtualization/gvisor/default.nix b/pkgs/applications/virtualization/gvisor/default.nix index 2609c3e7bc73..08e1b97355d3 100644 --- a/pkgs/applications/virtualization/gvisor/default.nix +++ b/pkgs/applications/virtualization/gvisor/default.nix @@ -9,19 +9,25 @@ buildGoModule rec { pname = "gvisor"; - version = "20220905.0"; + version = "20220919.0"; + + # gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go) + # that can be used to build gvisor without bazel. + # For updates, you should stick to the commits labeled "Merge release-** (automated)" src = fetchFromGitHub { owner = "google"; repo = "gvisor"; - rev = "442a3cd44a0858ac2a8e773b6fbba67cf3bd3767"; - sha256 = "sha256-LKY7AKAHX29eGuXRrkCVCFl/bdHAVOC0QNZfzlpXqwc="; + rev = "4e7fd140e8d0056f8f031950fcace8ff4d48a526"; + sha256 = "sha256-II0lnthabkyCgPum7EBdyOYwB0rWjA2Jd9DVGLJQy6Q="; }; - vendorSha256 = "sha256-Fn8A8iwTv0lNI9ZBJkq3SlRelnAGIQY0GInTxaCzSAU="; + vendorSha256 = "sha256-iGLWxx/Kn1QaJTNOZcc+mwoF3ecEDOkaqmA0DH4pdgU="; nativeBuildInputs = [ makeWrapper ]; + CGO_ENABLED = 0; + ldflags = [ "-s" "-w" ]; subPackages = [ "runsc" "shim" ]; From ee495c933a2995e801dbfd22ae5e6c99daf00740 Mon Sep 17 00:00:00 2001 From: Tom Fitzhenry Date: Wed, 14 Sep 2022 21:30:18 +1000 Subject: [PATCH 042/110] sgtpuzzles: 20220802 -> 20220913 --- pkgs/games/sgt-puzzles/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/sgt-puzzles/default.nix b/pkgs/games/sgt-puzzles/default.nix index 4c537d4dd372..752181581f38 100644 --- a/pkgs/games/sgt-puzzles/default.nix +++ b/pkgs/games/sgt-puzzles/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "sgt-puzzles"; - version = "20220802.8399cff"; + version = "20220913.27dd36e"; src = fetchurl { url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"; - hash = "sha256-f68Nj8P8oIJj1LWyq8Iamv32ex+boPH/lsV5t+YhM9o="; + hash = "sha256-fj1XWuXcW01uuC5dK2wDIrweyruSRdfEZBfmEj99zZE="; }; sgt-puzzles-menu = fetchurl { From 66841dac4284618e3a91050f0658b507a3dbbedb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 02:02:47 +0000 Subject: [PATCH 043/110] procs: 0.13.0 -> 0.13.1 --- pkgs/tools/admin/procs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/procs/default.nix b/pkgs/tools/admin/procs/default.nix index fd180d4e9910..f6b9b9698587 100644 --- a/pkgs/tools/admin/procs/default.nix +++ b/pkgs/tools/admin/procs/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "procs"; - version = "0.13.0"; + version = "0.13.1"; src = fetchFromGitHub { owner = "dalance"; repo = pname; rev = "v${version}"; - sha256 = "sha256-O5q+T6GO03Wf26CLyEgS45h7O38HsVZ+EJi8TgFcNaI="; + sha256 = "sha256-/xq1aLdr672v4iAXXLcu47QcsdbLErn3VN/w3sYo9y0="; }; - cargoSha256 = "sha256-JZsDKeiF/Mg4P6dLaN+8+TLHnCsB97d9TDn4cSdzZZE="; + cargoSha256 = "sha256-BykfUGKBiqr3DoYcqKpY3R84LAuJ19D94xnZcQGKwuI="; nativeBuildInputs = [ installShellFiles ]; From c79ebd3a9d8105191b3f063f6aad967ca1fbf2a5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 02:26:08 +0000 Subject: [PATCH 044/110] regbot: 0.4.4 -> 0.4.5 --- pkgs/development/tools/regclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/regclient/default.nix b/pkgs/development/tools/regclient/default.nix index ff43dbfebcc3..fc98bff40f98 100644 --- a/pkgs/development/tools/regclient/default.nix +++ b/pkgs/development/tools/regclient/default.nix @@ -4,14 +4,14 @@ let bins = [ "regbot" "regctl" "regsync" ]; in buildGoModule rec { pname = "regclient"; - version = "0.4.4"; + version = "0.4.5"; tag = "v${version}"; src = fetchFromGitHub { owner = "regclient"; repo = "regclient"; rev = tag; - sha256 = "sha256-jIdbSDUpSKlb6RES6hx+r+vZyny56aWyjAurCI3mywk="; + sha256 = "sha256-WyjVJp0JVwLitz46YjPGpR/+AjLhjgqTRqabCB9VhHw="; }; vendorSha256 = "sha256-QTeVgvjRw2wBd8QGoVpRVTTh+Wwu2NEZYR1Z9R52/p0="; From f806bb1aaf33fe65da55526d6e59d134fdba5fa2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 03:44:26 +0000 Subject: [PATCH 045/110] snappymail: 2.17.3 -> 2.18.1 --- pkgs/servers/snappymail/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/snappymail/default.nix b/pkgs/servers/snappymail/default.nix index e1420916382f..6670f6daabcf 100644 --- a/pkgs/servers/snappymail/default.nix +++ b/pkgs/servers/snappymail/default.nix @@ -2,11 +2,11 @@ , dataPath ? "/var/lib/snappymail" }: stdenv.mkDerivation rec { pname = "snappymail"; - version = "2.17.3"; + version = "2.18.1"; src = fetchurl { url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; - sha256 = "sha256-Ajbii8Amd5ziNNbYccL1nM0Yqbo3xF1XOByAebpEMuk="; + sha256 = "sha256-0NsDm1dDMg0HbAmuGIrNRkwtjvaZ9QYh7GUXkOJNoKw="; }; sourceRoot = "snappymail"; From 86fcecb236b8afa855b3155a45f8263dffdeae3e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 02:25:18 +0000 Subject: [PATCH 046/110] redpanda: 22.2.2 -> 22.2.3 --- pkgs/servers/redpanda/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/redpanda/default.nix b/pkgs/servers/redpanda/default.nix index 496e527b6b8f..308b30bee44c 100644 --- a/pkgs/servers/redpanda/default.nix +++ b/pkgs/servers/redpanda/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchzip }: let - version = "22.2.2"; + version = "22.2.3"; platform = if stdenv.isLinux then "linux" else "darwin"; arch = if stdenv.isAarch64 then "arm" else "amd"; sha256s = { darwin.amd = "sha256-AXk3aP1SGiHTfHTCBRTagX0DAVmdcVVIkxWaTnZxB8g="; darwin.arm = "sha256-pvOVvNc8lZ2d2fVZVYWvumVWYpnLORNY/3o1t4BN2N4="; - linux.amd = "sha256-j+apxUiGAPzQfv7qtXzuykN/FOtzZ0Yb82q2bIS2ZC4="; + linux.amd = "sha256-ir7ld7xB42SQzZS+ixMriL/eMEnp1wuBAL4gkvlCnLk="; linux.arm = "sha256-WHjYAbytiu747jFqN0KZ/CkIwAVI7fb32ywtRiQOBm8="; }; in stdenv.mkDerivation rec { From f586d35a11ec07ced41d9d62c125c6ca0006141f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 22:39:07 +0000 Subject: [PATCH 047/110] mimir: 2.2.0 -> 2.3.0 --- pkgs/servers/monitoring/mimir/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/mimir/default.nix b/pkgs/servers/monitoring/mimir/default.nix index 57f99a4388c8..6e161b44b730 100644 --- a/pkgs/servers/monitoring/mimir/default.nix +++ b/pkgs/servers/monitoring/mimir/default.nix @@ -1,13 +1,13 @@ { lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "mimir"; - version = "2.2.0"; + version = "2.3.0"; src = fetchFromGitHub { rev = "${pname}-${version}"; owner = "grafana"; repo = pname; - sha256 = "sha256-c2WOE7lm62uZ+oVSWd2Gyo0UZJaf9yFzEQZvcwpvshA="; + sha256 = "sha256-lLrDgt4WYxyMkwjS8TLTy1agPAo/Z0BtqY9hIYSDyGI="; }; vendorSha256 = null; From 2bf91a61574f2ea6353080b4abc824606af52e72 Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 22 Sep 2022 00:50:19 -0400 Subject: [PATCH 048/110] stylua: 0.14.3 -> 0.15.0 (#192279) --- .../from_md/release-notes/rl-2211.section.xml | 9 ++++++ .../manual/release-notes/rl-2211.section.md | 2 ++ pkgs/development/tools/stylua/default.nix | 29 ++++++++----------- 3 files changed, 23 insertions(+), 17 deletions(-) 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 7c088ae7b47e..0f1dffc798e7 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 @@ -563,6 +563,15 @@ option, and it is enabled by default, for servers. + + + stylua no longer accepts + lua52Support and + luauSupport overrides, use + features instead, which defaults to + [ "lua54" "luau" ]. + +
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 094f0cd80f26..7214937781d2 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -192,6 +192,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable). - `k3s` supports `clusterInit` option, and it is enabled by default, for servers. +- `stylua` no longer accepts `lua52Support` and `luauSupport` overrides, use `features` instead, which defaults to `[ "lua54" "luau" ]`. + ## Other Notable Changes {#sec-release-22.11-notable-changes} diff --git a/pkgs/development/tools/stylua/default.nix b/pkgs/development/tools/stylua/default.nix index 383a6534671b..ffa548ec377e 100644 --- a/pkgs/development/tools/stylua/default.nix +++ b/pkgs/development/tools/stylua/default.nix @@ -1,34 +1,29 @@ -{ fetchFromGitHub -, lib +{ lib , rustPlatform -, lua52Support ? true -, luauSupport ? false -, fetchpatch +, fetchFromGitHub + # lua54 implies lua52/lua53 +, features ? [ "lua54" "luau" ] }: rustPlatform.buildRustPackage rec { pname = "stylua"; - version = "0.14.3"; + version = "0.15.0"; src = fetchFromGitHub { owner = "johnnymorganz"; repo = pname; rev = "v${version}"; - sha256 = "sha256-l4q6Qlgdxgm4K5+NkWMZI3Hhtx6m/0DG9PE4gvo/ylo="; + sha256 = "sha256-x4/DmFi/6bIQVn8sfSFEOJIv4Zd/3oHKXbrd6yIsSYU="; }; - cargoSha256 = "sha256-zlk9KdiSKWknyuJTTqpzCeSJUXJGDK2A0g1ss8AHoYs="; + cargoSha256 = "sha256-lY18so+uG3yri18zd29B479nl0l1C0F1mw+sPrccRQs="; - cargoPatches = [ - # fixes broken 0.14.3 lockfile - (fetchpatch { - url = "https://github.com/JohnnyMorganz/StyLua/commit/834f632f67af6425e7773eaade8d23a880946843.patch"; - sha256 = "sha256-oM2gaILwiNMqTGFRQBw6/fxbjljNWxeIb0lcXcAJR3w="; - }) - ]; + # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu + postPatch = '' + rm .cargo/config.toml + ''; - buildFeatures = lib.optional lua52Support "lua52" - ++ lib.optional luauSupport "luau"; + buildFeatures = features; meta = with lib; { description = "An opinionated Lua code formatter"; From 161cd6572bb3a8da8dcd3e3ee61fc1655d0de25b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 05:37:39 +0000 Subject: [PATCH 049/110] ventoy-bin: 1.0.79 -> 1.0.80 --- pkgs/tools/cd-dvd/ventoy-bin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/cd-dvd/ventoy-bin/default.nix b/pkgs/tools/cd-dvd/ventoy-bin/default.nix index 978eae33bc94..4cbfbed312a1 100644 --- a/pkgs/tools/cd-dvd/ventoy-bin/default.nix +++ b/pkgs/tools/cd-dvd/ventoy-bin/default.nix @@ -51,11 +51,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "ventoy-bin"; - version = "1.0.79"; + version = "1.0.80"; src = fetchurl { url = "https://github.com/ventoy/Ventoy/releases/download/v${finalAttrs.version}/ventoy-${finalAttrs.version}-linux.tar.gz"; - hash = "sha256-azkoDquN/i01QHsd1wJG79kdhHhBvXzPXIRnjKHAHNE="; + hash = "sha256-FmMpMUy8VqwbOiRWZdoY76ToSoWWbBGM5h/9VS8rYRY="; }; patches = [ From e21f62e0998e12fb6dc9c3d18b95b3a3b2bed46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 22 Sep 2022 07:38:36 +0200 Subject: [PATCH 050/110] nearcore: 1.28.1 -> 1.29.0 --- pkgs/applications/blockchains/nearcore/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/blockchains/nearcore/default.nix b/pkgs/applications/blockchains/nearcore/default.nix index 579627d97486..a5c475308b32 100644 --- a/pkgs/applications/blockchains/nearcore/default.nix +++ b/pkgs/applications/blockchains/nearcore/default.nix @@ -4,7 +4,7 @@ }: rustPlatform.buildRustPackage rec { pname = "nearcore"; - version = "1.28.1"; + version = "1.29.0"; # https://github.com/near/nearcore/tags src = fetchFromGitHub { @@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec { # there is also a branch for this version number, so we need to be explicit rev = "refs/tags/${version}"; - sha256 = "sha256-lAbVcmr8StAZAII++21xiBd4tRcdprefvcGzPLIjl74="; + sha256 = "sha256-TOZ6j4CaiOXmNn8kgVGP27SjvLDlGvabAA+PAEyFXIk="; }; - cargoSha256 = "sha256-1aoL5fbKZ4XZ1ELVDWNDFHDL2FyNuoX/DVb0h8RWBxI="; + cargoSha256 = "sha256-LjBgsQynHIfrQP4Z7j1J8+PLqRZWGAOQ5dJaGOqabVk="; cargoPatches = [ ./0001-make-near-test-contracts-optional.patch ]; postPatch = '' From 3f8909378416550a5623d0380cd8be0273f2ff7a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 21 Sep 2022 21:41:53 +0200 Subject: [PATCH 051/110] mdbook-open-on-gh: init at 2.2.0 Signed-off-by: Matthias Beyer --- pkgs/tools/text/mdbook-open-on-gh/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/text/mdbook-open-on-gh/default.nix diff --git a/pkgs/tools/text/mdbook-open-on-gh/default.nix b/pkgs/tools/text/mdbook-open-on-gh/default.nix new file mode 100644 index 000000000000..09b0db3866be --- /dev/null +++ b/pkgs/tools/text/mdbook-open-on-gh/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "mdbook-open-on-gh"; + version = "2.2.0"; + + src = fetchFromGitHub { + owner = "badboy"; + repo = pname; + rev = "2.2.0"; + sha256 = "sha256-x7ESuXoF5dYnJZpgDyYliVixCG4w/VX/Vhm3VqxsiEI="; + }; + + cargoSha256 = "sha256-FVcCzL0jJ827HHS/9G597QjNFY3HLNYHCPWcepEulD0="; + + meta = with lib; { + description = "mdbook preprocessor to add a open-on-github link on every page"; + homepage = "https://github.com/badboy/mdbook-open-on-gh"; + license = [ licenses.mpl20 ]; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1cd3ea826e86..bca0bb1725d4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8320,6 +8320,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + mdbook-open-on-gh = callPackage ../tools/text/mdbook-open-on-gh { }; + mdbook-mermaid = callPackage ../tools/text/mdbook-mermaid { inherit (darwin.apple_sdk.frameworks) CoreServices; }; From 9e1ae4de0d4cc36940b7ed1df80fa9d46937c81a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 05:59:02 +0000 Subject: [PATCH 052/110] zef: 0.13.8 -> 0.14.2 --- pkgs/development/interpreters/rakudo/zef.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/rakudo/zef.nix b/pkgs/development/interpreters/rakudo/zef.nix index 56452c70b99c..3af1b408b3d6 100644 --- a/pkgs/development/interpreters/rakudo/zef.nix +++ b/pkgs/development/interpreters/rakudo/zef.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "zef"; - version = "0.13.8"; + version = "0.14.2"; src = fetchFromGitHub { owner = "ugexe"; repo = "zef"; rev = "v${version}"; - sha256 = "sha256-lWlom1LZuYzsV6BzOl232usvJJFlTz1DQOWkuNUTvX4="; + sha256 = "sha256-+U9K6PRcWbs5JzlJudcpCCk3zHkqE8L1Sq/wkf68jyY="; }; nativeBuildInputs = [ makeWrapper ]; From 6b7659232eb5cff01ec97c201318445336205039 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 09:25:58 +0200 Subject: [PATCH 053/110] python310Packages.dulwich: 0.20.45 -> 0.20.46 --- pkgs/development/python-modules/dulwich/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index d95fef43fad0..4b0fb7d224a0 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -17,7 +17,7 @@ }: buildPythonPackage rec { - version = "0.20.45"; + version = "0.20.46"; pname = "dulwich"; format = "setuptools"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-cHEN2coqRCGQx+UGiS2wdMMYrHYuIh91KbjONIAgQbc="; + hash = "sha256-Tw6I//9dsVI9k9kvFSX+X6FhMY/7qtUCwbmzvnoGcXI="; }; LC_ALL = "en_US.UTF-8"; From 9b63f833c7fe8d8d2f3f39ce08119b3c3ba88de0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 09:37:04 +0200 Subject: [PATCH 054/110] python310Packages.pygit2: 1.9.2 -> 1.10.1 --- pkgs/development/python-modules/pygit2/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index 9e293e65a09b..565cd6d67ec9 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -4,7 +4,6 @@ , cacert , cached-property , cffi -, fetchpatch , fetchPypi , isPyPy , libgit2 @@ -15,25 +14,16 @@ buildPythonPackage rec { pname = "pygit2"; - version = "1.9.2"; + version = "1.10.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-IIlEM98RRkgarK434rDzu7/eoCbbL1UGEXC9mCPkCxk="; + hash = "sha256-NUZRvwYsAtHwgEHW+/GptL96k6/OZZeb3Ai9xlZTqi4="; }; - patches = [ - # libgit 2 fix - (fetchpatch { - url = "https://github.com/libgit2/pygit2/commit/14b1df84060ea4ab085202382e80672ec1a104e3.patch"; - includes = [ "src/types.h" ]; - sha256 = "sha256-2krkyAT30l/olSEl2ugWCsylvGuT7VvkuSFVshIXktA="; - }) - ]; - preConfigure = lib.optionalString stdenv.isDarwin '' export DYLD_LIBRARY_PATH="${libgit2}/lib" ''; From 9d60b4debc23766ba713dd970d8a296f1310d48e Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Thu, 22 Sep 2022 09:02:59 +0200 Subject: [PATCH 055/110] gitlab-runner: 15.2.1 -> 15.4.0 --- .../tools/continuous-integration/gitlab-runner/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix index bd1e4c5db299..0c2d18393390 100644 --- a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, fetchFromGitLab, fetchurl }: let - version = "15.2.1"; + version = "15.4.0"; in buildGoModule rec { inherit version; @@ -14,13 +14,13 @@ buildGoModule rec { "-X ${commonPackagePath}.REVISION=v${version}" ]; - vendorSha256 = "sha256-weT4Ed/VNTLovxUu2xCdHDqxY7v/5Wi3WsWlNDWYLLc="; + vendorSha256 = "sha256-S0x1b2ITtqMoqdssoTgnolDC6Tyq3IdkJqxwZ29qCyU="; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-runner"; rev = "v${version}"; - sha256 = "sha256-HaFxMNREHTtnbIuQUXCinhd4lhcnkLkacLczeySsfWQ="; + sha256 = "sha256-zItzg5r0V+m68c5aIJLMKsTKgmkgWrQD9t0cx5Lcaho="; }; patches = [ From 4f0aca42cfc96084d045a41a8673b8e8eb8e1598 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 09:37:24 +0200 Subject: [PATCH 056/110] python310Packages.scmrepo: 0.0.25 -> 0.1.1 --- pkgs/development/python-modules/scmrepo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scmrepo/default.nix b/pkgs/development/python-modules/scmrepo/default.nix index e61ac1e5b9b5..f7443094f4aa 100644 --- a/pkgs/development/python-modules/scmrepo/default.nix +++ b/pkgs/development/python-modules/scmrepo/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "scmrepo"; - version = "0.0.25"; + version = "0.1.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "iterative"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-269vJNclTBWEqM9AJbF96R1I6Ru3q8YBd5A8Rmw7Jjo="; + hash = "sha256-lFeYo7OVT0az+mYgERcVuuT9rX29+E2+WwfdDlMRm+I="; }; propagatedBuildInputs = [ From 5a4a5acfbf61275d44082fb84753516f19629b1c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 09:44:41 +0200 Subject: [PATCH 057/110] python310Packages.phonenumbers: 8.12.51 -> 8.12.55 --- pkgs/development/python-modules/phonenumbers/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix index f0538c25d376..dd7583d7462d 100644 --- a/pkgs/development/python-modules/phonenumbers/default.nix +++ b/pkgs/development/python-modules/phonenumbers/default.nix @@ -2,16 +2,19 @@ , buildPythonPackage , fetchPypi , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "phonenumbers"; - version = "8.12.51"; + version = "8.12.55"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - hash = "sha256-nUqUYBJ//SiK4HHdH3lC4jKdpbXF1X2Kq+cQNCfKfL8="; + hash = "sha256-G+PHNT6TJd3qqQmrF5NkI8YpWNVwDWjl2lvpUDxG0Ic="; }; checkInputs = [ From 0ea6aaa12d58ffdf1dafa63642be8b2192f5f8f8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 09:49:49 +0200 Subject: [PATCH 058/110] python310Packages.pyfritzhome: 0.6.5 -> 0.6.7 --- pkgs/development/python-modules/pyfritzhome/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyfritzhome/default.nix b/pkgs/development/python-modules/pyfritzhome/default.nix index 98aaea66f2e2..a9f8f20a76b1 100644 --- a/pkgs/development/python-modules/pyfritzhome/default.nix +++ b/pkgs/development/python-modules/pyfritzhome/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyfritzhome"; - version = "0.6.5"; + version = "0.6.7"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "hthiery"; repo = "python-fritzhome"; rev = version; - hash = "sha256-0wfC4lQeTghN2uDUO8Rn2+G8BYOh2UfCZBDJmTw6Lb0="; + hash = "sha256-cRG+Dm3KG6no3/OQCZkvISW1yE5azdDVTa5oTV1sRpk="; }; propagatedBuildInputs = [ From 29a549ed5eeef0d893f63c5aa9709b3b0efccb3e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 07:53:37 +0000 Subject: [PATCH 059/110] python310Packages.mwdblib: 4.3.0 -> 4.3.1 --- pkgs/development/python-modules/mwdblib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mwdblib/default.nix b/pkgs/development/python-modules/mwdblib/default.nix index 74ec8b4d7505..faccc18a07b3 100644 --- a/pkgs/development/python-modules/mwdblib/default.nix +++ b/pkgs/development/python-modules/mwdblib/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "mwdblib"; - version = "4.3.0"; + version = "4.3.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "CERT-Polska"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ovF5DljtJynIXxmq9kkqjwzAjP/Yc60CTVPXQg4Rnq8="; + hash = "sha256-HQzfa5UmPo+Ccs2eRDwQA9EMzDg7+Nd4jIjBt+7qwzE="; }; propagatedBuildInputs = [ From 0b2b2d8379ec0cb5b9de43c74282792a9fb000ce Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 08:39:55 +0000 Subject: [PATCH 060/110] audible-cli: 0.2.3 -> 0.2.4 --- pkgs/tools/misc/audible-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/audible-cli/default.nix b/pkgs/tools/misc/audible-cli/default.nix index 81b071ce0aad..f83a87a75b25 100644 --- a/pkgs/tools/misc/audible-cli/default.nix +++ b/pkgs/tools/misc/audible-cli/default.nix @@ -2,13 +2,13 @@ python3Packages.buildPythonApplication rec { pname = "audible-cli"; - version = "0.2.3"; + version = "0.2.4"; src = fetchFromGitHub { owner = "mkb79"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-z7oLY+xu+rTHgIWLFQU/TTSQtxChwhfu8nXoI05QqLw="; + sha256 = "sha256-umIPHKPfWKlzEVyRKbBqmul/8n13EnpfYXmSQbQtLq8="; }; propagatedBuildInputs = with python3Packages; [ aiofiles audible click httpx pillow tabulate toml tqdm packaging setuptools questionary ]; From 584a111fe1e81b44b56df6ab2cbc2fc46d39555c Mon Sep 17 00:00:00 2001 From: linsui Date: Thu, 22 Sep 2022 17:16:24 +0800 Subject: [PATCH 061/110] quickemu: 4.0 -> 4.3 --- pkgs/development/quickemu/default.nix | 31 ++++++++++------ .../quickemu/input_overrides.patch | 37 ------------------- 2 files changed, 20 insertions(+), 48 deletions(-) delete mode 100644 pkgs/development/quickemu/input_overrides.patch diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix index c2f360fc0cf5..956ccabffb19 100644 --- a/pkgs/development/quickemu/default.nix +++ b/pkgs/development/quickemu/default.nix @@ -4,6 +4,7 @@ , makeWrapper , qemu , gnugrep +, gnused , lsb-release , jq , procps @@ -11,13 +12,16 @@ , cdrtools , usbutils , util-linux +, socat , spice-gtk , swtpm +, unzip , wget , xdg-user-dirs , xrandr , zsync , OVMF +, OVMFFull , quickemu , testers }: @@ -25,6 +29,7 @@ let runtimePaths = [ qemu gnugrep + gnused jq lsb-release procps @@ -32,6 +37,8 @@ let cdrtools usbutils util-linux + unzip + socat spice-gtk swtpm wget @@ -43,31 +50,33 @@ in stdenv.mkDerivation rec { pname = "quickemu"; - version = "4.0"; + version = "4.3"; src = fetchFromGitHub { owner = "quickemu-project"; repo = "quickemu"; rev = version; - sha256 = "sha256-CiCQg1UsSAwlEnZEmzU2ynn2RZ+wXPv9FV1b9GVkc00="; + hash = "sha256-+ksv1DBNby3bJx2ylnDkqlQfsFIDRS/hZvsJn2+bcz8="; }; - patches = [ - ./input_overrides.patch - ]; + postPatch = '' + sed -i \ + -e '/OVMF_CODE_4M.secboot.fd/s|ovmfs=(|ovmfs=("${OVMFFull.fd}/FV/OVMF_CODE.fd","${OVMFFull.fd}/FV/OVMF_VARS.fd" |' \ + -e '/OVMF_CODE_4M.fd/s|ovmfs=(|ovmfs=("${OVMF.fd}/FV/OVMF_CODE.fd","${OVMF.fd}/FV/OVMF_VARS.fd" |' \ + -e '/cp "''${VARS_IN}" "''${VARS_OUT}"/a chmod +w "''${VARS_OUT}"' \ + -e 's/Icon=.*qemu.svg/Icon=qemu/' \ + quickemu + ''; nativeBuildInputs = [ makeWrapper ]; installPhase = '' runHook preInstall - install -Dm755 -t "$out/bin" quickemu quickget macrecovery + install -Dm755 -t "$out/bin" macrecovery quickemu quickget windowskey - for f in quickget macrecovery quickemu; do - wrapProgram $out/bin/$f \ - --prefix PATH : "${lib.makeBinPath runtimePaths}" \ - --set ENV_EFI_CODE "${OVMF.fd}/FV/OVMF_CODE.fd" \ - --set ENV_EFI_VARS "${OVMF.fd}/FV/OVMF_VARS.fd" + for f in macrecovery quickget quickemu windowskey; do + wrapProgram $out/bin/$f --prefix PATH : "${lib.makeBinPath runtimePaths}" done runHook postInstall diff --git a/pkgs/development/quickemu/input_overrides.patch b/pkgs/development/quickemu/input_overrides.patch deleted file mode 100644 index 42e4d2e18294..000000000000 --- a/pkgs/development/quickemu/input_overrides.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/quickemu b/quickemu -index 24e1007..39cd5e4 100755 ---- a/quickemu -+++ b/quickemu -@@ -196,7 +196,7 @@ function efi_vars() { - - if [ ! -e "${VARS_OUT}" ]; then - if [ -e "${VARS_IN}" ]; then -- cp "${VARS_IN}" "${VARS_OUT}" -+ cp "${VARS_IN}" "${VARS_OUT}" && chmod +w "${VARS_OUT}" - else - echo "ERROR! ${VARS_IN} was not found. Please install edk2." - exit 1 -@@ -383,7 +383,10 @@ function vm_boot() { - # https://bugzilla.redhat.com/show_bug.cgi?id=1929357#c5 - case ${secureboot} in - on) -- if [ -e "/usr/share/OVMF/OVMF_CODE_4M.secboot.fd" ]; then -+ if [[ ${ENV_EFI_CODE_SECURE} && ${ENV_EFI_CODE_SECURE-x} ]] && [[ ${ENV_EFI_VARS_SECURE} && ${ENV_EFI_VARS_SECURE-x} ]]; then -+ EFI_CODE="${ENV_EFI_CODE_SECURE}" -+ efi_vars "${ENV_EFI_VARS_SECURE}" "${EFI_VARS}" -+ elif [ -e "/usr/share/OVMF/OVMF_CODE_4M.secboot.fd" ]; then - EFI_CODE="/usr/share/OVMF/OVMF_CODE_4M.secboot.fd" - efi_vars "/usr/share/OVMF/OVMF_VARS_4M.fd" "${EFI_VARS}" - elif [ -e "/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd" ]; then -@@ -408,7 +411,10 @@ function vm_boot() { - fi - ;; - *) -- if [ -e "/usr/share/OVMF/OVMF_CODE_4M.fd" ]; then -+ if [[ ${ENV_EFI_CODE} && ${ENV_EFI_CODE-x} ]] && [[ ${ENV_EFI_VARS} && ${ENV_EFI_VARS-x} ]]; then -+ EFI_CODE="${ENV_EFI_CODE}" -+ efi_vars "${ENV_EFI_VARS}" "${EFI_VARS}" -+ elif [ -e "/usr/share/OVMF/OVMF_CODE_4M.fd" ]; then - EFI_CODE="/usr/share/OVMF/OVMF_CODE_4M.fd" - efi_vars "/usr/share/OVMF/OVMF_VARS_4M.fd" "${EFI_VARS}" - elif [ -e "/usr/share/edk2/ovmf/OVMF_CODE.fd" ]; then From 16bb7a838f85e21516acca9da7f2b0b3221fe0c6 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Thu, 22 Sep 2022 11:24:53 +0200 Subject: [PATCH 062/110] gradle: cleanup (#169566) --- .../tools/build-managers/gradle/default.nix | 60 +++++++++++++------ 1 file changed, 41 insertions(+), 19 deletions(-) diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix index a19b072157f2..0ad6d5a2acfe 100644 --- a/pkgs/development/tools/build-managers/gradle/default.nix +++ b/pkgs/development/tools/build-managers/gradle/default.nix @@ -3,10 +3,38 @@ rec { gen = - { version, nativeVersion, sha256, defaultJava ? jdk8, supportedPlatforms ? null }: + { version, nativeVersion, sha256, - { lib, stdenv, fetchurl, makeWrapper, unzip, java ? defaultJava - , javaToolchains ? [ ], ncurses5, ncurses6 }: + # The default JDK/JRE that will be used for derived Gradle packages. + # A current LTS version of a JDK is a good choice. + defaultJava ? jdk8, + + # The platforms supported by this Gradle package. + # Gradle Native-Platform ships some binaries that + # are compatible only with specific platforms. + # As of 2022-04 this affects platform compatibility + # of multiple Gradle releases, so this is used as default. + # See https://github.com/gradle/native-platform#supported-platforms + platforms ? [ + "aarch64-darwin" + "aarch64-linux" + "i686-windows" + "x86_64-cygwin" + "x86_64-darwin" + "x86_64-linux" + "x86_64-windows" + ] + }: + + { lib, stdenv, fetchurl, makeWrapper, unzip, ncurses5, ncurses6, + + # The JDK/JRE used for running Gradle. + java ? defaultJava, + + # Additional JDK/JREs to be registered as toolchains. + # See https://docs.gradle.org/current/userguide/toolchains.html + javaToolchains ? [ ] + }: stdenv.mkDerivation rec { pname = "gradle"; @@ -23,20 +51,18 @@ rec { nativeBuildInputs = [ makeWrapper unzip ]; buildInputs = [ java ]; - # NOTE: For more information on toolchains, - # see https://docs.gradle.org/current/userguide/toolchains.html installPhase = with builtins; let toolchain = rec { - var = x: "JAVA_TOOLCHAIN_NIX_${toString x}"; - vars = (lib.imap0 (i: x: ("${var i} ${x}")) javaToolchains); - varNames = lib.imap0 (i: x: var i) javaToolchains; + prefix = x: "JAVA_TOOLCHAIN_NIX_${toString x}"; + varDefs = (lib.imap0 (i: x: "${prefix i} ${x}") javaToolchains); + varNames = lib.imap0 (i: x: prefix i) javaToolchains; property = " -Porg.gradle.java.installations.fromEnv='${ concatStringsSep "," varNames }'"; }; - vars = concatStringsSep "\n" (map (x: " --set ${x} \\") - ([ "JAVA_HOME ${java}" ] ++ toolchain.vars)); + varDefs = concatStringsSep "\n" (map (x: " --set ${x} \\") + ([ "JAVA_HOME ${java}" ] ++ toolchain.varDefs)); in '' mkdir -pv $out/lib/gradle/ cp -rv lib/ $out/lib/gradle/ @@ -44,7 +70,7 @@ rec { gradle_launcher_jar=$(echo $out/lib/gradle/lib/gradle-launcher-*.jar) test -f $gradle_launcher_jar makeWrapper ${java}/bin/java $out/bin/gradle \ - ${vars} + ${varDefs} --add-flags "-classpath $gradle_launcher_jar org.gradle.launcher.GradleMain${toolchain.property}" ''; @@ -74,6 +100,7 @@ rec { ''; meta = with lib; { + inherit platforms; description = "Enterprise-grade build system"; longDescription = '' Gradle is a build system which offers you ease, power and freedom. @@ -91,12 +118,12 @@ rec { binaryNativeCode ]; license = licenses.asl20; - platforms = if (supportedPlatforms != null) then supportedPlatforms else platforms.unix; maintainers = with maintainers; [ lorenzleutgeb liff ]; }; }; - # NOTE: Default JDKs are LTS versions and according to + # NOTE: Default JDKs that are hardcoded below must be LTS versions + # and respect the compatibility matrix at # https://docs.gradle.org/current/userguide/compatibility.html gradle_7 = gen { @@ -104,9 +131,6 @@ rec { nativeVersion = "0.22-milestone-23"; sha256 = "1hjifd98dif0qy6vkqp56v9z7id5cf2bfkdd71ld8nsqqlig51yb"; defaultJava = jdk17; - # Gradle 7 ships some binaries that are only available for some platforms - # See https://github.com/gradle/native-platform#supported-platforms - supportedPlatforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" "x86_64-cygwin" "x86_64-windows" "i686-windows" ]; }; gradle_6 = gen { @@ -114,12 +138,10 @@ rec { nativeVersion = "0.22-milestone-20"; sha256 = "13qyk3f6namw27ynh6nxljxpk9r3l12vxl3f0qpglprdf3c6ydcb"; defaultJava = jdk11; - # Gradle 6 ships some binaries that are only available for some platforms - # See https://github.com/gradle/native-platform#supported-platforms - supportedPlatforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" "x86_64-cygwin" "x86_64-windows" "i686-windows" ]; }; # NOTE: No GitHub Release for the following versions. `update.sh` will not work. + gradle_5 = gen { version = "5.6.4"; nativeVersion = "0.18"; From 0b8f8145afb89212b526255217f8b17693bcf23f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 09:37:23 +0000 Subject: [PATCH 063/110] python310Packages.pontos: 22.8.1 -> 22.9.0 --- pkgs/development/python-modules/pontos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index e189e1ee7078..2a81d2d4b8b1 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pontos"; - version = "22.8.1"; + version = "22.9.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "greenbone"; repo = pname; - rev = "v${version}"; - hash = "sha256-oWk6t7PocF7go7EE7nQjHA78G0Q1tAOXBff2zKXDvgU="; + rev = "refs/tags/v${version}"; + hash = "sha256-7VVFWG/KRWD8Ez3yeCJJHRBwvgpSMDXI9IS8ZMr2u5M="; }; nativeBuildInputs = [ From ee08af170b21e21015f3adba7430e09134ba773a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 22 Sep 2022 11:23:20 +0200 Subject: [PATCH 064/110] grafana: 9.1.5 -> 9.1.6, fix CVE-2022-35957 & CVE-2022-36062 ChangeLog: https://github.com/grafana/grafana/releases/tag/v9.1.6 --- pkgs/servers/monitoring/grafana/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix index 8b927aaab707..db5465285867 100644 --- a/pkgs/servers/monitoring/grafana/default.nix +++ b/pkgs/servers/monitoring/grafana/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "grafana"; - version = "9.1.5"; + version = "9.1.6"; excludedPackages = [ "alert_webhook_listener" "clean-swagger" "release_publisher" "slow_proxy" "slow_proxy_mac" "macaron" "devenv" ]; @@ -10,12 +10,12 @@ buildGoModule rec { rev = "v${version}"; owner = "grafana"; repo = "grafana"; - sha256 = "sha256-R5gHd9lLXPV6Ck9mhPfdL41/O9ZN76wjBRDUBLtL2eA="; + sha256 = "sha256-DIcKz5M1KdyCBQByt/Z8Z+LBAtjdg5VkoFYRo0x6vP8="; }; srcStatic = fetchurl { url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; - sha256 = "sha256-P+QkpyGRSuZX/OJo/CgMP9z1Rq7tJbWAZCMOwAuEFhc="; + sha256 = "sha256-ftLEnrHE36uQ/Lj6hNPlAN4KyNm4P5m3c7H8erJnkVs="; }; vendorSha256 = "sha256-frY84+Tp9qVj9Xs9l0c0u1YyYywMbXO4KS0AF5mpnhQ="; From 9166bbce4e3a5f681c31961baf654bf6435e6015 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 09:50:45 +0000 Subject: [PATCH 065/110] circleci-cli: 0.1.21194 -> 0.1.21289 --- pkgs/development/tools/misc/circleci-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/circleci-cli/default.nix b/pkgs/development/tools/misc/circleci-cli/default.nix index 012cf9301d21..77b93075a87f 100644 --- a/pkgs/development/tools/misc/circleci-cli/default.nix +++ b/pkgs/development/tools/misc/circleci-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "circleci-cli"; - version = "0.1.21194"; + version = "0.1.21289"; src = fetchFromGitHub { owner = "CircleCI-Public"; repo = pname; rev = "v${version}"; - sha256 = "sha256-YBo0Td4UEr27AU1yqwXNKWjfWYMuKdgmRNmNUfgL3F0="; + sha256 = "sha256-ETxN/oUs0WMziBqUP9Zr9Vvo+sA1jSMxYJVKOC/Jby0="; }; vendorSha256 = "sha256-vydx3ZaVSpIn5nncuQhRVQqZ7920n1NAoZIHFvzrQgo="; From d48e7fe59c70ba91981c140dc41171afc07435bb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 09:50:59 +0000 Subject: [PATCH 066/110] cilium-cli: 0.12.3 -> 0.12.4 --- pkgs/applications/networking/cluster/cilium/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/cilium/default.nix b/pkgs/applications/networking/cluster/cilium/default.nix index 7b68d68beece..af0375be90a9 100644 --- a/pkgs/applications/networking/cluster/cilium/default.nix +++ b/pkgs/applications/networking/cluster/cilium/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "cilium-cli"; - version = "0.12.3"; + version = "0.12.4"; src = fetchFromGitHub { owner = "cilium"; repo = pname; rev = "v${version}"; - sha256 = "sha256-mgyzdu7xzN6rDSHBcC8Uz8m5+5VEfA0RPe8cPZYfEgM="; + sha256 = "sha256-AmJHc9+d053tzz1nj5yyJYDxV3/Bko3plkfR2RjbjH8="; }; vendorSha256 = null; From 825646db8f65b005cbde941b49ed9a93dcc0c170 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 22 Sep 2022 11:57:33 +0200 Subject: [PATCH 067/110] evcxr: 0.13.0 -> 0.14.0 ChangeLog: https://github.com/google/evcxr/releases/tag/v0.14.0 --- pkgs/development/interpreters/evcxr/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/evcxr/default.nix b/pkgs/development/interpreters/evcxr/default.nix index 1b76ecb68543..18b32e5ccdb7 100644 --- a/pkgs/development/interpreters/evcxr/default.nix +++ b/pkgs/development/interpreters/evcxr/default.nix @@ -3,16 +3,16 @@ rustPlatform.buildRustPackage rec { pname = "evcxr"; - version = "0.13.0"; + version = "0.14.0"; src = fetchFromGitHub { owner = "google"; repo = "evcxr"; rev = "v${version}"; - sha256 = "sha256-n9wDO4HIWLINbqGVxaZyAEFVDLLnSpQLKlFf20jLq6o="; + sha256 = "sha256-gB56fGjL/YtzQI+vr83URPhQ6qXrCn5IRPnIYBt8iHk="; }; - cargoSha256 = "sha256-zdIJb9fXRByyAJ32RL9lQh6oS1K78IlZfWdJyj+MMZM="; + cargoSha256 = "sha256-DAbg5G1oGnfBR1kIUt7ebYEx06b6sbexqLyFJ7zKhlk="; RUST_SRC_PATH = "${rustPlatform.rustLibSrc}"; From 224eef4911fe7961e7bb1703a462a14aed9be4e4 Mon Sep 17 00:00:00 2001 From: Yureka Date: Thu, 22 Sep 2022 12:31:28 +0200 Subject: [PATCH 068/110] gotify-server.ui: fix build --- pkgs/servers/gotify/ui.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/gotify/ui.nix b/pkgs/servers/gotify/ui.nix index e7350c7d35be..282c865c1541 100644 --- a/pkgs/servers/gotify/ui.nix +++ b/pkgs/servers/gotify/ui.nix @@ -29,6 +29,7 @@ yarn2nix-moretea.mkYarnPackage rec { buildPhase = '' export HOME=$(mktemp -d) export WRITABLE_NODE_MODULES="$(pwd)/tmp" + export NODE_OPTIONS=--openssl-legacy-provider mkdir -p "$WRITABLE_NODE_MODULES" # react-scripts requires a writable node_modules/.cache, so we have to copy the symlink's contents back From a14d81d4df78b40558a5d3d0754690dbc0821a54 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 22 Sep 2022 13:10:49 +0200 Subject: [PATCH 069/110] esphome: 2022.8.3 -> 2022.9.1 https://github.com/esphome/esphome/releases/tag/2022.9.0 https://github.com/esphome/esphome/releases/tag/2022.9.1 --- pkgs/tools/misc/esphome/dashboard.nix | 4 ++-- pkgs/tools/misc/esphome/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index 52ec2688103d..a6a85808f352 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20220508.0"; + version = "20220920.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-nBVVNe6Qwo72ws6G8WAO99f2ftbxoixOB0eiLuILyeg="; + sha256 = "sha256-qmutcnsz3utVUmVZZEYYiemOGdQ4Ima2ueD4LyYaOdU="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index b2064b43ac85..afefc18e18b3 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -15,14 +15,14 @@ let in with python.pkgs; buildPythonApplication rec { pname = "esphome"; - version = "2022.8.3"; + version = "2022.9.1"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-ep3o8VfY5jAsdheLpZF0TdWA/F9YO/owWEuPR7+0LeA="; + hash = "sha256-j6qzCzPiChvO1WR+ZaVILgONcdOzwlE4TBDnI9R6FjM="; }; postPatch = '' From 9e02095f4ebf30eaf3291bca1e495e475e0a0784 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 22 Sep 2022 13:28:11 +0200 Subject: [PATCH 070/110] Python docs: document attribute to use for non-PyPI projects --- doc/languages-frameworks/python.section.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index bde4183a65b1..fa7aa3ec924e 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1780,6 +1780,10 @@ The following rules are desired to be respected: that characters should be converted to lowercase and `.` and `_` should be replaced by a single `-` (foo-bar-baz instead of Foo__Bar.baz). If necessary, `pname` has to be given a different value within `fetchPypi`. +* Packages from sources such as GitHub and GitLab that do not exist on PyPI + should not use a name that is already used on PyPI. When possible, they should + use the package repository name prefixed with the owner (e.g. organization) name + and using a `-` as delimiter. * Attribute names in `python-packages.nix` should be sorted alphanumerically to avoid merge conflicts and ease locating attributes. From 7ab32908ccd7c62db86f919f4cb0f08577a68985 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Wed, 21 Sep 2022 18:41:23 -0300 Subject: [PATCH 071/110] faas-cli: add shell completion and version test --- pkgs/development/tools/faas-cli/default.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/faas-cli/default.nix b/pkgs/development/tools/faas-cli/default.nix index 0791bff17675..e5b1c05ea6dc 100644 --- a/pkgs/development/tools/faas-cli/default.nix +++ b/pkgs/development/tools/faas-cli/default.nix @@ -4,6 +4,9 @@ , fetchFromGitHub , makeWrapper , git +, installShellFiles +, testers +, faas-cli }: let faasPlatform = platform: @@ -24,12 +27,10 @@ buildGoModule rec { sha256 = "sha256-iUS8bhTZc7oy7qy0ydmbVW3BNa/lZ2Q+kYefBKrNRyc="; }; - nativeBuildInputs = [ makeWrapper ]; + vendorSha256 = null; CGO_ENABLED = 0; - vendorSha256 = null; - subPackages = [ "." ]; ldflags = [ @@ -39,14 +40,25 @@ buildGoModule rec { "-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}" ]; + nativeBuildInputs = [ makeWrapper installShellFiles ]; + postInstall = '' wrapProgram "$out/bin/faas-cli" \ --prefix PATH : ${lib.makeBinPath [ git ]} + + installShellCompletion --cmd metal \ + --bash <($out/bin/faas-cli completion --shell bash) \ + --zsh <($out/bin/faas-cli completion --shell zsh) ''; + passthru.tests.version = testers.testVersion { + command = "${faas-cli}/bin/faas-cli version --short-version --warn-update=false"; + package = faas-cli; + }; + meta = with lib; { - homepage = "https://github.com/openfaas/faas-cli"; description = "Official CLI for OpenFaaS "; + homepage = "https://github.com/openfaas/faas-cli"; license = licenses.mit; maintainers = with maintainers; [ welteki techknowlogick ]; }; From 646d3c0a7ca75b8bdc749b4c8f3072bd41c86f86 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 12:07:53 +0000 Subject: [PATCH 072/110] gitleaks: 8.12.0 -> 8.13.0 --- pkgs/tools/security/gitleaks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index a9cdeb326100..1c68b87147ae 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "gitleaks"; - version = "8.12.0"; + version = "8.13.0"; src = fetchFromGitHub { owner = "zricethezav"; repo = pname; rev = "v${version}"; - sha256 = "sha256-g15ySGRX9f3zlmoatfzUomokdXyr33geNZnEQLle9rw="; + sha256 = "sha256-Pdl26PoTcI0LiC3O8EN/vW9LjVfI54TsspRnmhpFaVo="; }; vendorSha256 = "sha256-Ev0/CSpwJDmc+Dvu/bFDzsgsq80rWImJWXNAUqYHgoE="; From 3604bfdf5bfad5bcef4956fb21ee83f1c0caf409 Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Thu, 22 Sep 2022 14:14:06 +0200 Subject: [PATCH 073/110] Support dev version of equations --- pkgs/development/coq-modules/equations/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/coq-modules/equations/default.nix b/pkgs/development/coq-modules/equations/default.nix index 9e7032ca86ba..ffe72ad330bc 100644 --- a/pkgs/development/coq-modules/equations/default.nix +++ b/pkgs/development/coq-modules/equations/default.nix @@ -63,5 +63,5 @@ with lib; (mkCoqDerivation { maintainers = with maintainers; [ jwiegley ]; }; }).overrideAttrs (o: { - preBuild = "coq_makefile -f _CoqProject -o Makefile${optionalString (versionAtLeast o.version "1.2.1") ".coq"}"; + preBuild = "coq_makefile -f _CoqProject -o Makefile${optionalString (versionAtLeast o.version "1.2.1" || o.version == "dev") ".coq"}"; }) From a8d60f3c678e3c30953d478035768be2a6d701aa Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 21 Sep 2022 09:56:47 -0400 Subject: [PATCH 074/110] drone: 2.12.1 -> 2.13.0 --- .../continuous-integration/drone/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/drone/default.nix b/pkgs/development/tools/continuous-integration/drone/default.nix index 313099d45e07..4beef373eeab 100644 --- a/pkgs/development/tools/continuous-integration/drone/default.nix +++ b/pkgs/development/tools/continuous-integration/drone/default.nix @@ -1,23 +1,26 @@ -{ lib, fetchFromGitHub, buildGoModule -, enableUnfree ? true }: +{ lib +, fetchFromGitHub +, buildGoModule +, enableUnfree ? true +}: buildGoModule rec { pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}"; - version = "2.12.1"; - - vendorSha256 = "sha256-hKJFYjIJVuGBiSIeTitI7kZdGjSRUTCPMhH72O0wm3I="; - - doCheck = false; + version = "2.13.0"; src = fetchFromGitHub { owner = "harness"; repo = "drone"; rev = "v${version}"; - sha256 = "sha256-ZngZzpFjQLkiBDNrmgPXPCfDoeZbX/ynBXkuNrrGz3E="; + sha256 = "sha256-2NezH7+hsOz+r+gong2CxXVjtxRyIKkA0G6OGoJcGFk="; }; + vendorSha256 = "sha256-6/wbxQ+Cv0lOlBqi8NUQQ8Z21w27betfeX/NiNDpOjA="; + tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ]; + doCheck = false; + meta = with lib; { maintainers = with maintainers; [ elohmeier vdemeester techknowlogick ]; license = with licenses; if enableUnfree then unfreeRedistributable else asl20; From a19860d9f3ee623344d273cf8f095b6fc35f95c3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 14:07:50 +0000 Subject: [PATCH 075/110] python310Packages.pytomorrowio: 0.3.4 -> 0.3.5 --- pkgs/development/python-modules/pytomorrowio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytomorrowio/default.nix b/pkgs/development/python-modules/pytomorrowio/default.nix index 8a6e374df0f6..14daed084032 100644 --- a/pkgs/development/python-modules/pytomorrowio/default.nix +++ b/pkgs/development/python-modules/pytomorrowio/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "pytomorrowio"; - version = "0.3.4"; + version = "0.3.5"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-d4twa9bHaQ9XTHSb8pwJnnJ7tDH6vGpck3/8Y39tRaY="; + sha256 = "sha256-LFIQJJPqKlqLzEoX9ShfoASigPC5R+OWiW81VmjONe8="; }; propagatedBuildInputs = [ From 3fc8acda29a6b7a64f91aeeaace8a8a05eefa54a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 10:34:46 +0000 Subject: [PATCH 076/110] doh-proxy-rust: 0.9.2 -> 0.9.4 --- pkgs/servers/dns/doh-proxy-rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/dns/doh-proxy-rust/default.nix b/pkgs/servers/dns/doh-proxy-rust/default.nix index 221ae7ce7243..4ecef50d894f 100644 --- a/pkgs/servers/dns/doh-proxy-rust/default.nix +++ b/pkgs/servers/dns/doh-proxy-rust/default.nix @@ -2,15 +2,15 @@ rustPlatform.buildRustPackage rec { pname = "doh-proxy-rust"; - version = "0.9.2"; + version = "0.9.4"; src = fetchCrate { inherit version; crateName = "doh-proxy"; - sha256 = "sha256-/637lR6OycVOOUVe29uFR1LtYIoFJ6gslDV9uAGkU1A="; + sha256 = "sha256-IuLNgyPiAPYu440jMtpXxEuQDIn9TUMjnD7y8WB+Ujs="; }; - cargoSha256 = "sha256-tadTyWSuknAjosv7AvZF0/8FlHL/zcFT5LDW1KcMeHI="; + cargoSha256 = "sha256-qrLhRNaGG7n9UPtkqNkJvnf+w9P0iLQ7MkIxnWYqYLM="; buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; From 286d53a46a434fb9709a3a8918de55c678ba5170 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 14:30:34 +0000 Subject: [PATCH 077/110] mmdoc: 0.9.1 -> 0.10.0 --- pkgs/tools/text/mmdoc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/mmdoc/default.nix b/pkgs/tools/text/mmdoc/default.nix index becb90b0f1de..bc92bb2d45f7 100644 --- a/pkgs/tools/text/mmdoc/default.nix +++ b/pkgs/tools/text/mmdoc/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "mmdoc"; - version = "0.9.1"; + version = "0.10.0"; src = fetchFromGitHub { owner = "ryantm"; repo = "mmdoc"; rev = version; - hash = "sha256-Lz2+vsXjz9BVOCI1vIrNTvZgh19OuvXEhnMw2QBZr1w="; + hash = "sha256-c2YwlvJQfVRjldzfOjTSztIUg64GWq+5ijkFxp4qA8I="; }; nativeBuildInputs = [ ninja meson pkg-config xxd ]; From 7f5aa3f41a8c44b42efd9aec9cfe3ed511906521 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 03:29:32 +0000 Subject: [PATCH 078/110] sfz: 0.7.0 -> 0.7.1 --- pkgs/tools/misc/sfz/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/sfz/default.nix b/pkgs/tools/misc/sfz/default.nix index 11b209a7cdab..0114858c99d9 100644 --- a/pkgs/tools/misc/sfz/default.nix +++ b/pkgs/tools/misc/sfz/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "sfz"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "weihanglo"; repo = pname; rev = "v${version}"; - hash = "sha256-XY1xsQgXzmX8jmDDLIivXeW9MsNA/pVtYapcBkBhldE="; + hash = "sha256-mKH1vgk+3tZEnjJRkfa0dDR383VN1VLNd3HEzC7f8YI="; }; - cargoSha256 = "sha256-w3HKnCAPSVgx4mqNB7Q0sMCDC4U+4fdIUUwJFz19XdI="; + cargoSha256 = "sha256-MgbK39xAr8g9F+1MXZiw5rE/PsgQPcLZ2ZV6LiQbA24="; # error: Found argument '--test-threads' which wasn't expected, or isn't valid in this context doCheck = false; From 60043ef7c32bf778948d86ae33d02c3eaae2f67e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 12:06:27 +0000 Subject: [PATCH 079/110] carapace: 0.15.0 -> 0.15.1 --- pkgs/shells/carapace/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/carapace/default.nix b/pkgs/shells/carapace/default.nix index 928b1c5bb2df..0704701e89d7 100644 --- a/pkgs/shells/carapace/default.nix +++ b/pkgs/shells/carapace/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "carapace"; - version = "0.15.0"; + version = "0.15.1"; src = fetchFromGitHub { owner = "rsteube"; repo = "${pname}-bin"; rev = "v${version}"; - sha256 = "sha256-3ZWYEfssGq6fBoHrDsp6yvkB9TLF+heELEIbZ1TN2lI="; + sha256 = "sha256-zfW2YbMybE2ZOYVNdmxAE0HwDTDeaVa0SrSUahyuTTk="; }; - vendorSha256 = "sha256-OrbVqCgsVX5b5knN6IdlJBWeGfg2fh09a2xe5+2EGEs="; + vendorSha256 = "sha256-MIgV8of3d9STMYtK+9gGkKBZ5Y4l5NhofK5F1Yfi/kE="; subPackages = [ "./cmd/carapace" ]; From dd0a82b08cc71ede3f7711e7465c2e59c8cdac52 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 03:44:40 +0000 Subject: [PATCH 080/110] snapmaker-luban: 4.3.2 -> 4.4.0 --- pkgs/applications/misc/snapmaker-luban/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/snapmaker-luban/default.nix b/pkgs/applications/misc/snapmaker-luban/default.nix index 2e777f2de625..9b8ea390af79 100644 --- a/pkgs/applications/misc/snapmaker-luban/default.nix +++ b/pkgs/applications/misc/snapmaker-luban/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation rec { pname = "snapmaker-luban"; - version = "4.3.2"; + version = "4.4.0"; src = fetchurl { url = "https://github.com/Snapmaker/Luban/releases/download/v${version}/snapmaker-luban-${version}-linux-x64.tar.gz"; - sha256 = "sha256-t8TgtzK3jK8bfXBMbOSeBjLlrmPh61E6Itlo7MfY4Pg="; + sha256 = "sha256-cXFnFWa6IDGuC6M46Ybnr9/LM8hG0KTUlkzcyuje5SI="; }; nativeBuildInputs = [ From be65f59f5f969fc9159e488c46c57ead75093750 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Wed, 21 Sep 2022 15:07:46 -0600 Subject: [PATCH 081/110] signal-desktop: 5.59.0 -> 5.60.0 --- .../networking/instant-messengers/signal-desktop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix index 8601abe5936d..d340bfba92ca 100644 --- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { pname = "signal-desktop"; - version = "5.59.0"; # Please backport all updates to the stable channel. + version = "5.60.0"; # Please backport all updates to the stable channel. # All releases have a limited lifetime and "expire" 90 days after the release. # When releases "expire" the application becomes unusable until an update is # applied. The expiration date for the current release can be extracted with: @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb"; - sha256 = "sha256-6im8OH1J+YlWCZ5eeJJbXokQPs6QbIzYIonGy9vbWvE="; + sha256 = "sha256-fKbBrAohb/X7pehWfP3FVwfq0Grand2HlfOa6RE2Z6w="; }; nativeBuildInputs = [ From 3c3824c102debb89820dd78fb3a087a8c0f0abea Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Sep 2022 22:57:22 +0000 Subject: [PATCH 082/110] mlkit: 4.7.1 -> 4.7.2 --- pkgs/development/compilers/mlkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/mlkit/default.nix b/pkgs/development/compilers/mlkit/default.nix index 9e462fac0924..b9a196b5dada 100644 --- a/pkgs/development/compilers/mlkit/default.nix +++ b/pkgs/development/compilers/mlkit/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "mlkit"; - version = "4.7.1"; + version = "4.7.2"; src = fetchFromGitHub { owner = "melsman"; repo = "mlkit"; rev = "v${version}"; - sha256 = "sha256-7fxyXibq17ikrqhqMj4pnLerBOvkY/7ses4Kjw2GdOY="; + sha256 = "sha256-KENOWWyDduIoK7sym9vHKAojRZAR5lYVOtz8I4Z65R0="; }; nativeBuildInputs = [ autoreconfHook mlton ]; From 000095e1efc3de1e146e289f9a5e4438e947f4bc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 14:51:10 +0000 Subject: [PATCH 083/110] netbird: 0.9.3 -> 0.9.4 --- pkgs/tools/networking/netbird/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/netbird/default.nix b/pkgs/tools/networking/netbird/default.nix index 60f9a19bd534..902b33e70e9e 100644 --- a/pkgs/tools/networking/netbird/default.nix +++ b/pkgs/tools/networking/netbird/default.nix @@ -14,16 +14,16 @@ let in buildGoModule rec { pname = "netbird"; - version = "0.9.3"; + version = "0.9.4"; src = fetchFromGitHub { owner = "netbirdio"; repo = pname; rev = "v${version}"; - sha256 = "sha256-lW5Xaf1d0udm8yLzGhmCmd13SYHdbIBi/bjuiRAdjRg="; + sha256 = "sha256-x5TJChvpeiAPye9YkIMJYumvCUHULUVjC371ZoaHkUM="; }; - vendorSha256 = "sha256-qBglJ9PYUApyOrZhZRvyK3WMcZQglDHmsy3Qv5K1PqA="; + vendorSha256 = "sha256-VyYw8Hp2qWoRBeOFsgtxmvFN2cYzuDeYmWAwC/+vjI0="; nativeBuildInputs = [ installShellFiles ] ++ lib.optional ui pkg-config; From edcea81983a824c2973eed110340d2e51e0375c9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 01:10:45 +0000 Subject: [PATCH 084/110] openfpgaloader: 0.9.0 -> 0.9.1 --- pkgs/development/embedded/fpga/openfpgaloader/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/embedded/fpga/openfpgaloader/default.nix b/pkgs/development/embedded/fpga/openfpgaloader/default.nix index 5653774eed00..db97476dd692 100644 --- a/pkgs/development/embedded/fpga/openfpgaloader/default.nix +++ b/pkgs/development/embedded/fpga/openfpgaloader/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "openfpgaloader"; - version = "0.9.0"; + version = "0.9.1"; src = fetchFromGitHub { owner = "trabucayre"; repo = "openFPGALoader"; rev = "v${version}"; - sha256 = "sha256-GPPycZTijEMXWgxxtPEhiDJk7FelQcwIGFbbrOHna+w="; + sha256 = "sha256-CnJBmbvJ4FfKqdyoD8K94Eeoqly2Q6UV5wQ6EWv2isI="; }; nativeBuildInputs = [ cmake pkg-config ]; From 33e48b13d9133626950156ee00e673490e9280b5 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 21 Sep 2022 11:31:06 +0200 Subject: [PATCH 085/110] tor-browser-bundle-bin: build on hydra again --- .../networking/browsers/tor-browser-bundle-bin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix index 58456a53d3b1..416ea09be69d 100644 --- a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix +++ b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix @@ -429,7 +429,6 @@ stdenv.mkDerivation rec { platforms = attrNames srcs; maintainers = with maintainers; [ offline matejc thoughtpolice joachifm hax404 KarlJoad ]; mainProgram = "tor-browser"; - hydraPlatforms = []; # MPL2.0+, GPL+, &c. While it's not entirely clear whether # the compound is "libre" in a strict sense (some components place certain # restrictions on redistribution), it's free enough for our purposes. From fb85ef4c146d3b37783ffd4060fd29e5ab3a15db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 16:04:00 +0000 Subject: [PATCH 086/110] python310Packages.sabyenc3: 5.4.3 -> 5.4.4 --- pkgs/development/python-modules/sabyenc3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sabyenc3/default.nix b/pkgs/development/python-modules/sabyenc3/default.nix index 4ae2b044ab87..19bd3d36fc46 100644 --- a/pkgs/development/python-modules/sabyenc3/default.nix +++ b/pkgs/development/python-modules/sabyenc3/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "sabyenc3"; - version = "5.4.3"; + version = "5.4.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ei/SnVg4Oy6cBBPxg14lMMQBgbNR4Fg0aa+8sVBTY0Y="; + hash = "sha256-89ZfKnC8sT7xvq4P9rs7aa2uGElwNfjNT/5OWvGqL0E="; }; # Tests are not included in pypi distribution From 0d26f9369699716903e39b3b026581035ca6be9f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 16:05:01 +0000 Subject: [PATCH 087/110] python310Packages.safety: 2.1.1 -> 2.2.0 --- pkgs/development/python-modules/safety/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix index 5394a2af99a7..1f777501bee1 100644 --- a/pkgs/development/python-modules/safety/default.nix +++ b/pkgs/development/python-modules/safety/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "safety"; - version = "2.1.1"; + version = "2.2.0"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-28Xf+i5H2nbMQ9/oy7v8qZ0pEY0MbFTfz6EcK9NJ3/Y="; + hash = "sha256-Z0XeEqy9YKWAAf5my1QDVRh9e5kbMBBNnvFP9OSCYHM="; }; postPatch = '' From 3027aa17015ed8f8564b97f9f3c95901e541457c Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 22 Sep 2022 12:07:36 -0400 Subject: [PATCH 088/110] stylua: 0.15.0 -> 0.15.1 --- pkgs/development/tools/stylua/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/stylua/default.nix b/pkgs/development/tools/stylua/default.nix index ffa548ec377e..b4465d9fa080 100644 --- a/pkgs/development/tools/stylua/default.nix +++ b/pkgs/development/tools/stylua/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "stylua"; - version = "0.15.0"; + version = "0.15.1"; src = fetchFromGitHub { owner = "johnnymorganz"; repo = pname; rev = "v${version}"; - sha256 = "sha256-x4/DmFi/6bIQVn8sfSFEOJIv4Zd/3oHKXbrd6yIsSYU="; + sha256 = "sha256-uxJsgTEvrwFfGrGv1VFoYGX9RnlqHBgUU75OlqSOEnc="; }; - cargoSha256 = "sha256-lY18so+uG3yri18zd29B479nl0l1C0F1mw+sPrccRQs="; + cargoSha256 = "sha256-FQgb9EcKEp29hl4n+A4hTdzmoEy8MfwUyt32jy1BxiY="; # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu postPatch = '' From ab17e4ed4a4a35a0e430cf085d567ae0c2128e9e Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 22 Sep 2022 12:11:41 -0400 Subject: [PATCH 089/110] cargo-edit: 0.11.1 -> 0.11.2 --- pkgs/development/tools/rust/cargo-edit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-edit/default.nix b/pkgs/development/tools/rust/cargo-edit/default.nix index 16083cc0686b..618fbee79b55 100644 --- a/pkgs/development/tools/rust/cargo-edit/default.nix +++ b/pkgs/development/tools/rust/cargo-edit/default.nix @@ -10,16 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-edit"; - version = "0.11.1"; + version = "0.11.2"; src = fetchFromGitHub { owner = "killercup"; repo = pname; rev = "v${version}"; - hash = "sha256-TqRz1Og5wsKsiIESmplnTsGLRboEQ20cViWgXfwEHGQ="; + hash = "sha256-pFQJ2ktn3sMO6DOWlBBe1pJOPytqgqX/EvjGZLnypdY="; }; - cargoSha256 = "sha256-4DVek/R7VABzSJ8vEb6f3Tgf1vVLIKAWj80Il5gWu2g="; + cargoSha256 = "sha256-uTbMiMlCq7qImM5yz1ij0dokJgIMECzdBWst8fwdaoM="; nativeBuildInputs = [ pkg-config ]; From 5e162efaf18c9b7f31c07dfaa786bd2e56f14c7f Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 22 Sep 2022 12:16:14 -0400 Subject: [PATCH 090/110] cargo-hack: 0.5.18 -> 0.5.19 --- pkgs/development/tools/rust/cargo-hack/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-hack/default.nix b/pkgs/development/tools/rust/cargo-hack/default.nix index 08cc12967d1e..55554512e62c 100644 --- a/pkgs/development/tools/rust/cargo-hack/default.nix +++ b/pkgs/development/tools/rust/cargo-hack/default.nix @@ -2,14 +2,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-hack"; - version = "0.5.18"; + version = "0.5.19"; src = fetchCrate { inherit pname version; - sha256 = "sha256-EtM5nGbsvwWiQGKrakMiToz7Hy6xoE3C6JsD2+JBpaA="; + sha256 = "sha256-uBiqmJueSNDB1wWmWvSGR9qPV5NA8yVnl+GyAea30J4="; }; - cargoSha256 = "sha256-3O9j9I6iMsgQl1nhXfdI5sNnnt71FBidQh+bqjpuPhc="; + cargoSha256 = "sha256-X7p+tBcFvDL9PEeLkl0Ab/BqpJan0wJX9WCRjHek6u0="; # some necessary files are absent in the crate version doCheck = false; From dcd7afb8728bcde5c4df7106f6f09a85f1d49d12 Mon Sep 17 00:00:00 2001 From: Benoit Louy Date: Thu, 22 Sep 2022 12:06:46 -0400 Subject: [PATCH 091/110] tree-sitter-grammars.tree-sitter-smithy: init --- .../tools/parsing/tree-sitter/grammars/default.nix | 1 + .../tree-sitter/grammars/tree-sitter-smithy.json | 11 +++++++++++ pkgs/development/tools/parsing/tree-sitter/update.nix | 4 ++++ 3 files changed, 16 insertions(+) create mode 100644 pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-smithy.json diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index 18c7ebd1c3cc..9786412e9192 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -78,6 +78,7 @@ tree-sitter-scala = lib.importJSON ./tree-sitter-scala.json; tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json; tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json; + tree-sitter-smithy = lib.importJSON ./tree-sitter-smithy.json; tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json; tree-sitter-sql = lib.importJSON ./tree-sitter-sql.json; tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json; diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-smithy.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-smithy.json new file mode 100644 index 000000000000..dbf91927edda --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-smithy.json @@ -0,0 +1,11 @@ +{ + "url": "https://github.com/indoorvivants/tree-sitter-smithy", + "rev": "1cdb3578dfec76f19e566ea4c1e305632e88026a", + "date": "2022-05-21T16:39:36+01:00", + "path": "/nix/store/smvp9nkdg6amfzspfj0inmfvcsjgrsjz-tree-sitter-smithy", + "sha256": "14xaflvz43m1c892jh0bg2yzsj1mrambkvsj6xkx84j141nnf4vm", + "fetchLFS": false, + "fetchSubmodules": false, + "deepClone": false, + "leaveDotGit": false +} diff --git a/pkgs/development/tools/parsing/tree-sitter/update.nix b/pkgs/development/tools/parsing/tree-sitter/update.nix index b92eb6cca066..81c9debe84b5 100644 --- a/pkgs/development/tools/parsing/tree-sitter/update.nix +++ b/pkgs/development/tools/parsing/tree-sitter/update.nix @@ -343,6 +343,10 @@ let orga = "nickel-lang"; repo = "tree-sitter-nickel"; }; + "tree-sitter-smithy" = { + orga = "indoorvivants"; + repo = "tree-sitter-smithy"; + }; }; allGrammars = From 7198c8e1b570aa9c5594e0afa1fb8cef88b609a7 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 22 Sep 2022 09:58:23 -0700 Subject: [PATCH 092/110] cf-terraforming: 0.8.5 -> 0.8.6 (#192411) --- pkgs/tools/misc/cf-terraforming/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/cf-terraforming/default.nix b/pkgs/tools/misc/cf-terraforming/default.nix index fa03326ba0a0..77400f40e190 100644 --- a/pkgs/tools/misc/cf-terraforming/default.nix +++ b/pkgs/tools/misc/cf-terraforming/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "cf-terraforming"; - version = "0.8.5"; + version = "0.8.6"; src = fetchFromGitHub { owner = "cloudflare"; repo = "cf-terraforming"; rev = "v${version}"; - sha256 = "1h0apmcddz1c32rlnjs81fjwpxpkz9n2zalwmk05frrgd8zdbixs"; + sha256 = "sha256-mKpNKD5+vJ2rf/TjyZ09Hn/F+xTSFL6wsmOx554oA2c="; }; - vendorSha256 = "sha256-a/gUxW4/Kv1BuhXpwibb6u7gO8lBo250ark1kwMLToo="; + vendorSha256 = "sha256-g8Om1LZEDSpe4L94AjHAuawx9jtWm//rO27jXhvhrQY="; ldflags = [ "-X github.com/cloudflare/cf-terraforming/internal/app/cf-terraforming/cmd.versionString=${version}" ]; # The test suite insists on downloading a binary release of Terraform from From 82a923a2ce3eb986cb858b208fc17023cc7afeaa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 19:02:37 +0200 Subject: [PATCH 093/110] python310Packages.adafruit-platformdetect: 3.29.0 -> 3.30.0 --- .../python-modules/adafruit-platformdetect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index 2ba734e05621..7e8bae06a5bd 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "adafruit-platformdetect"; - version = "3.29.0"; + version = "3.30.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Adafruit-PlatformDetect"; inherit version; - hash = "sha256-D3uME31aWBTwjDIcdt3ueOBqlkCeTvpl4ReHLNSHaCw="; + hash = "sha256-jf7tVwv+XvaZcOKNKODRyu4JzLidBRXFd68HD5yi7b0="; }; nativeBuildInputs = [ From a22f7345336c7bbb785d3525c6760c5391c3171f Mon Sep 17 00:00:00 2001 From: k4leg Date: Thu, 22 Sep 2022 20:29:31 +0300 Subject: [PATCH 094/110] maintainers: remove k4leg --- maintainers/maintainer-list.nix | 6 ------ pkgs/tools/cd-dvd/ventoy-bin/default.nix | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 272d236578cd..33e9787a2ab5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6847,12 +6847,6 @@ github = "k3a"; githubId = 966992; }; - k4leg = { - name = "k4leg"; - email = "python.bogdan@gmail.com"; - github = "k4leg"; - githubId = 39882583; - }; k900 = { name = "Ilya K."; email = "me@0upti.me"; diff --git a/pkgs/tools/cd-dvd/ventoy-bin/default.nix b/pkgs/tools/cd-dvd/ventoy-bin/default.nix index 4cbfbed312a1..08fd6dd0666c 100644 --- a/pkgs/tools/cd-dvd/ventoy-bin/default.nix +++ b/pkgs/tools/cd-dvd/ventoy-bin/default.nix @@ -203,7 +203,7 @@ stdenv.mkDerivation (finalAttrs: { ''; changelog = "https://www.ventoy.net/doc_news.html"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ k4leg AndersonTorres ]; + maintainers = with maintainers; [ AndersonTorres ]; platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "mipsel-linux" ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; mainProgram = "ventoy"; From e96412db82e1666ddb629d6b44262fb3a46263cf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Sep 2022 19:59:42 +0200 Subject: [PATCH 095/110] python310Packages.pytomorrowio: update disabled --- pkgs/development/python-modules/pytomorrowio/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytomorrowio/default.nix b/pkgs/development/python-modules/pytomorrowio/default.nix index 14daed084032..0b92b97fa5cf 100644 --- a/pkgs/development/python-modules/pytomorrowio/default.nix +++ b/pkgs/development/python-modules/pytomorrowio/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "pytomorrowio"; version = "0.3.5"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - sha256 = "sha256-LFIQJJPqKlqLzEoX9ShfoASigPC5R+OWiW81VmjONe8="; + hash = "sha256-LFIQJJPqKlqLzEoX9ShfoASigPC5R+OWiW81VmjONe8="; }; propagatedBuildInputs = [ @@ -29,7 +29,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "pytomorrowio" ]; + pythonImportsCheck = [ + "pytomorrowio" + ]; meta = { description = "Async Python package to access the Tomorrow.io API"; From b0517e5db9faf44bcebd406cad79b4210f703216 Mon Sep 17 00:00:00 2001 From: squalus Date: Thu, 22 Sep 2022 10:59:49 -0700 Subject: [PATCH 096/110] librewolf: 104.0-1 -> 105.0-1 --- .../networking/browsers/librewolf/src.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/librewolf/src.json b/pkgs/applications/networking/browsers/librewolf/src.json index 82af5098c64a..f88da4fb48a5 100644 --- a/pkgs/applications/networking/browsers/librewolf/src.json +++ b/pkgs/applications/networking/browsers/librewolf/src.json @@ -1,11 +1,11 @@ { - "packageVersion": "104.0-1", + "packageVersion": "105.0-1", "source": { - "rev": "104.0-1", - "sha256": "0fvbpiaabcr1j39zc3xz1czah537s8abidwch5a75phxn676np2k" + "rev": "105.0-1", + "sha256": "0p3bcyyap8yjxha064klpjkhca6hdis3qgx15c4dh8wc3gr581f6" }, "firefox": { - "version": "104.0", - "sha512": "8778650ffa3c2d18802c348e27789f00cff143c7ca0ae01b1bcd050b6942c149db25696b48f3c702fbde901c15fcae976ac731a456f641637cae3eb56d0077d3" + "version": "105.0", + "sha512": "a48f323f874b538402630a9094daa83189b3ca319feddc80fd66d087eca13f21c8b2d85be9c29e948c18cb7c524adac44e135adcde4d4592738e104ae9c1a734" } } From b16af369a79e860f093beab798de217fe3a4b615 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 19:13:42 +0000 Subject: [PATCH 097/110] scaleway-cli: 2.5.6 -> 2.6.0 --- pkgs/tools/admin/scaleway-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/scaleway-cli/default.nix b/pkgs/tools/admin/scaleway-cli/default.nix index d420528fe788..9ddde03d9c85 100644 --- a/pkgs/tools/admin/scaleway-cli/default.nix +++ b/pkgs/tools/admin/scaleway-cli/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "scaleway-cli"; - version = "2.5.6"; + version = "2.6.0"; src = fetchFromGitHub { owner = "scaleway"; repo = "scaleway-cli"; rev = "v${version}"; - sha256 = "sha256-C7hCTDs6XLLQPUojqCJEkdSeANrW3XwfFJscSefe0OQ="; + sha256 = "sha256-wWyykSNSv6Fp+/f54LhYeArXXzRreHdqso28cM1/fl0="; }; - vendorSha256 = "sha256-NUifjoMP3AmT7RjhkilGmQTMtl5wcuPJL5I32/M27a8="; + vendorSha256 = "sha256-awq4rObflJbKjZ2tJrZZMJklXBDwTjuRE8sS3iZBefk="; ldflags = [ "-w" From 2a7d96751c5fb3732cbdf6b2155b45f594e30425 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 19:33:52 +0000 Subject: [PATCH 098/110] sdrangel: 7.6.3 -> 7.7.0 --- pkgs/applications/radio/sdrangel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix index 7bf472cc7e36..fece0869a0bd 100644 --- a/pkgs/applications/radio/sdrangel/default.nix +++ b/pkgs/applications/radio/sdrangel/default.nix @@ -42,13 +42,13 @@ mkDerivation rec { pname = "sdrangel"; - version = "7.6.3"; + version = "7.7.0"; src = fetchFromGitHub { owner = "f4exb"; repo = "sdrangel"; rev = "v${version}"; - sha256 = "sha256-4o91vZnW5+wAKw4o3RrsS4gGVG0TyQCBcKg4GuE3n5s="; + sha256 = "sha256-du5mNGMrXt6iFjb/QXQsW1DpGfIlVjqrbmsQZb4mMZQ="; fetchSubmodules = false; }; From 87810a6c2f8ec43b1170e9abb311b3bcf3fb4bb2 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 21 Sep 2022 22:12:25 -0400 Subject: [PATCH 099/110] caddy: 2.6.0 -> 2.6.1 --- pkgs/servers/caddy/default.nix | 40 ++++++++++++++++++++++---- pkgs/servers/caddy/inject_version.diff | 15 ++++++++++ 2 files changed, 49 insertions(+), 6 deletions(-) create mode 100644 pkgs/servers/caddy/inject_version.diff diff --git a/pkgs/servers/caddy/default.nix b/pkgs/servers/caddy/default.nix index f30515766a74..51088486809a 100644 --- a/pkgs/servers/caddy/default.nix +++ b/pkgs/servers/caddy/default.nix @@ -1,6 +1,13 @@ -{ lib, buildGoModule, fetchFromGitHub, nixosTests }: +{ lib +, buildGoModule +, fetchFromGitHub +, nixosTests +, caddy +, testers +, installShellFiles +}: let - version = "2.6.0"; + version = "2.6.1"; dist = fetchFromGitHub { owner = "caddyserver"; repo = "dist"; @@ -12,25 +19,46 @@ buildGoModule { pname = "caddy"; inherit version; - subPackages = [ "cmd/caddy" ]; - src = fetchFromGitHub { owner = "caddyserver"; repo = "caddy"; rev = "v${version}"; - sha256 = "sha256-BZGfYpQM5e+/LrGqs1oms/vOp9q4UY/ZyDODEsi/wl8="; + sha256 = "sha256-Z8MiMhXH1er+uYvmDQiamF/jSxHbTMwjo61qbH0ioEo="; }; vendorSha256 = "sha256-6UTErIPB/z4RfndPSLKFJDFweLB3ax8WxEDA+3G5asI="; + patches = [ + ./inject_version.diff + ]; + + subPackages = [ "cmd/caddy" ]; + + ldflags = [ + "-s" "-w" + "-X github.com/caddyserver/caddy/v2.ShortVersion=${version}" + ]; + + nativeBuildInputs = [ installShellFiles ]; + postInstall = '' install -Dm644 ${dist}/init/caddy.service ${dist}/init/caddy-api.service -t $out/lib/systemd/system substituteInPlace $out/lib/systemd/system/caddy.service --replace "/usr/bin/caddy" "$out/bin/caddy" substituteInPlace $out/lib/systemd/system/caddy-api.service --replace "/usr/bin/caddy" "$out/bin/caddy" + + installShellCompletion --cmd metal \ + --bash <($out/bin/caddy completion bash) \ + --zsh <($out/bin/caddy completion zsh) ''; - passthru.tests = { inherit (nixosTests) caddy; }; + passthru.tests = { + inherit (nixosTests) caddy; + version = testers.testVersion { + command = "${caddy}/bin/caddy version"; + package = caddy; + }; + }; meta = with lib; { homepage = "https://caddyserver.com"; diff --git a/pkgs/servers/caddy/inject_version.diff b/pkgs/servers/caddy/inject_version.diff new file mode 100644 index 000000000000..3636f026a77a --- /dev/null +++ b/pkgs/servers/caddy/inject_version.diff @@ -0,0 +1,15 @@ +diff --git a/caddy.go b/caddy.go +index 584865bd..082b9b6c 100644 +--- a/caddy.go ++++ b/caddy.go +@@ -840,7 +840,10 @@ func InstanceID() (uuid.UUID, error) { + // and https://github.com/golang/go/issues/50603. + // + // This function is experimental and subject to change or removal. ++var ShortVersion = "(devel)" ++ + func Version() (simple, full string) { ++ return ShortVersion, ShortVersion + // the currently-recommended way to build Caddy involves + // building it as a dependency so we can extract version + // information from go.mod tooling; once the upstream \ No newline at end of file From b5c0e6810058af86cd898ae92a5b50160889765d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 19:58:55 +0000 Subject: [PATCH 100/110] python310Packages.twilio: 7.14.0 -> 7.14.1 --- pkgs/development/python-modules/twilio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/twilio/default.nix b/pkgs/development/python-modules/twilio/default.nix index 4b932b09e59b..b5ce76c79888 100644 --- a/pkgs/development/python-modules/twilio/default.nix +++ b/pkgs/development/python-modules/twilio/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "twilio"; - version = "7.14.0"; + version = "7.14.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "twilio"; repo = "twilio-python"; rev = "refs/tags/${version}"; - hash = "sha256-+D2zhWm2//eWJyEpMQIZM/lL4u7o3JQjGwUebbJKjQk="; + hash = "sha256-VKAeM1a1TMXrewJ+j+Outyp7vxh9xovqjJ+GneYa6eg="; }; propagatedBuildInputs = [ From dbbe91cfd528ed67030b9d8f54b2783803fb85ba Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 20:04:32 +0000 Subject: [PATCH 101/110] python310Packages.types-requests: 2.28.10 -> 2.28.11 --- pkgs/development/python-modules/types-requests/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-requests/default.nix b/pkgs/development/python-modules/types-requests/default.nix index 6cd1168e347c..51210e5abb2e 100644 --- a/pkgs/development/python-modules/types-requests/default.nix +++ b/pkgs/development/python-modules/types-requests/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "types-requests"; - version = "2.28.10"; + version = "2.28.11"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-l9j0CqH/4eWMNybHfWPBgtrqmnLZ8fosr96nVrKhnyw="; + sha256 = "sha256-fugn64zmEbArURfP7F2mRVNltqV19eP/GfZVumA+a04="; }; propagatedBuildInputs = [ From 06562a86166c08442dc664f401e06ff8d879174f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 Sep 2022 20:11:53 +0000 Subject: [PATCH 102/110] python310Packages.unifi-discovery: 1.1.6 -> 1.1.7 --- pkgs/development/python-modules/unifi-discovery/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/unifi-discovery/default.nix b/pkgs/development/python-modules/unifi-discovery/default.nix index 266ae1d8769d..3b3bfe4ca979 100644 --- a/pkgs/development/python-modules/unifi-discovery/default.nix +++ b/pkgs/development/python-modules/unifi-discovery/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "unifi-discovery"; - version = "1.1.6"; + version = "1.1.7"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-C7kCliNLqzkrOoT1oy3scLl3VNdDXwWEqaO0DlGZWmk="; + hash = "sha256-EQFk3kRY/JL1ZTDdHKzl0KbMUuhZSFc4tYqAYvsNSj0="; }; nativeBuildInputs = [ From 08c129fdf343787fbee7dc3dd250b414fa382681 Mon Sep 17 00:00:00 2001 From: Amanda Cameron Date: Thu, 22 Sep 2022 17:16:28 -0400 Subject: [PATCH 103/110] pleroma: Add stripDebug=false (#192472) With https://github.com/NixOS/nixpkgs/pull/191237 the debug information is getting stripped by mixRelease. This seems to break pleroma for some reason I don't understand. This commit triggers the escape hatch added by the PR, to pleroma to work again. I confirmed this with the NixOS pleroma test. --- pkgs/servers/pleroma/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/pleroma/default.nix b/pkgs/servers/pleroma/default.nix index 3bea304ebc9d..e4204f28f1d5 100644 --- a/pkgs/servers/pleroma/default.nix +++ b/pkgs/servers/pleroma/default.nix @@ -16,6 +16,7 @@ beamPackages.mixRelease rec { rev = "v${version}"; sha256 = "sha256-x8j/2Eot/EEHsedgZntB5MPxlYMNDlFyZtmiMdhcS7U="; }; + stripDebug = false; mixNixDeps = import ./mix.nix { inherit beamPackages lib; From 86c91dc1a407c03c67091afbc1643cb834aab788 Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 22 Sep 2022 17:33:45 -0400 Subject: [PATCH 104/110] keyscope: 1.2.2 -> 1.2.3 --- pkgs/tools/security/keyscope/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/keyscope/default.nix b/pkgs/tools/security/keyscope/default.nix index d73b1b499eca..08c2ded80ad8 100644 --- a/pkgs/tools/security/keyscope/default.nix +++ b/pkgs/tools/security/keyscope/default.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "keyscope"; - version = "1.2.2"; + version = "1.2.3"; src = fetchFromGitHub { owner = "spectralops"; repo = pname; rev = "v${version}"; - sha256 = "sha256-SLVNzxwZhdK2Fk2Vu5P/j0d8IoUPzlb9e5hnJrZ8Qsk="; + sha256 = "sha256-RKeEumj9HuifEXE8g5G7EsIalGD1vLRawh59s/ykUmg="; }; - cargoSha256 = "sha256-PBSQeLQ7UkWhGlRID+bv2HwzgvoiJ120t/TNKJFUY+M="; + cargoSha256 = "sha256-8lTwczuOgPhzwGcQ2KoqK5Zf3HS3uwsok036l+12Xb0="; nativeBuildInputs = [ pkg-config ]; From bb79bfc2f6113364aabbebdb1c0b1a8624111826 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Sep 2022 00:12:28 +0200 Subject: [PATCH 105/110] python310Packages.motionblinds: 0.6.12 -> 0.6.13 --- pkgs/development/python-modules/motionblinds/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/motionblinds/default.nix b/pkgs/development/python-modules/motionblinds/default.nix index 2742df71aa63..8ee1e026684e 100644 --- a/pkgs/development/python-modules/motionblinds/default.nix +++ b/pkgs/development/python-modules/motionblinds/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "motionblinds"; - version = "0.6.12"; + version = "0.6.13"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "motion-blinds"; rev = "refs/tags/${version}"; - sha256 = "sha256-QVGOVb/YbpCcPIfJbhjBXOi1c72yMwghFpFeWCy3S48="; + sha256 = "sha256-vms9GcB2GQ7fZDk9f9xvFJ5Df7ArEcKn6frIuL1GwPo="; }; propagatedBuildInputs = [ From 3dca2a876c141dfe06dbb835e0c54a991948464a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Sep 2022 00:15:47 +0200 Subject: [PATCH 106/110] python310Packages.pylutron-caseta: 0.14.0 -> 0.15.2 --- pkgs/development/python-modules/pylutron-caseta/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylutron-caseta/default.nix b/pkgs/development/python-modules/pylutron-caseta/default.nix index 1bbbcf308900..d7e18191aa3f 100644 --- a/pkgs/development/python-modules/pylutron-caseta/default.nix +++ b/pkgs/development/python-modules/pylutron-caseta/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pylutron-caseta"; - version = "0.14.0"; + version = "0.15.2"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "gurumitts"; repo = pname; rev = "v${version}"; - hash = "sha256-D1P4roUZ+byU031RtdwIOR/ncxY9wl9UqCKVb/XPGVk="; + hash = "sha256-dw/uCEY4+kpgNjbjgvw+kSfluziIK6NvIKo5QIjt+GQ="; }; propagatedBuildInputs = [ From 1b822ee9e04c294d99f166927cf088844d23a66c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Sep 2022 00:20:25 +0200 Subject: [PATCH 107/110] python310Packages.pylitterbot: 2022.9.5 -> 2022.9.6 --- pkgs/development/python-modules/pylitterbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix index f08235d9abdd..c0c919321c0d 100644 --- a/pkgs/development/python-modules/pylitterbot/default.nix +++ b/pkgs/development/python-modules/pylitterbot/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pylitterbot"; - version = "2022.9.5"; + version = "2022.9.6"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "natekspencer"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-sTHMu2HNO0VA86bym0lt810aJ9yYN9PYHcw18Qu7e7c="; + hash = "sha256-+8vsnSEEZ7uypASsJZ2MIK+riIF01Lxa1E3t0pC+e/I="; }; nativeBuildInputs = [ From c03b4fb965f3ae76886ea64a9bf7c609e5c6695c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Sep 2022 00:25:51 +0200 Subject: [PATCH 108/110] python310Packages.pyatome: 0.1.1 -> 0.1.2 --- pkgs/development/python-modules/pyatome/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyatome/default.nix b/pkgs/development/python-modules/pyatome/default.nix index 7db5b4fb15eb..6d6b949a1c0e 100644 --- a/pkgs/development/python-modules/pyatome/default.nix +++ b/pkgs/development/python-modules/pyatome/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "pyatome"; - version = "0.1.1"; + version = "0.1.2"; src = fetchPypi { pname = "pyAtome"; inherit version; - sha256 = "7282e7ec258c69d4ddf2a5754ff07680a1ac92f9bfb478d601fd9e944fccd834"; + sha256 = "sha256-DGkgW6emh/esZa/alUjBbpLXlU4EVIPkysn9a0LgcJ4="; }; propagatedBuildInputs = [ requests simplejson fake-useragent ]; From cea111161b02f1a823698038bfd01bc93607e391 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Sep 2022 00:28:54 +0200 Subject: [PATCH 109/110] python310Packages.pyatome: disable on older Python releases --- .../development/python-modules/pyatome/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyatome/default.nix b/pkgs/development/python-modules/pyatome/default.nix index 6d6b949a1c0e..efc0a8ba554b 100644 --- a/pkgs/development/python-modules/pyatome/default.nix +++ b/pkgs/development/python-modules/pyatome/default.nix @@ -4,21 +4,29 @@ , requests , simplejson , fake-useragent +, pythonOlder }: buildPythonPackage rec { pname = "pyatome"; version = "0.1.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { pname = "pyAtome"; inherit version; - sha256 = "sha256-DGkgW6emh/esZa/alUjBbpLXlU4EVIPkysn9a0LgcJ4="; + hash = "sha256-DGkgW6emh/esZa/alUjBbpLXlU4EVIPkysn9a0LgcJ4="; }; - propagatedBuildInputs = [ requests simplejson fake-useragent ]; + propagatedBuildInputs = [ + requests + simplejson + fake-useragent + ]; - # no tests in PyPI tarballs + # No tests in PyPI tarballs doCheck = false; pythonImportsCheck = [ From cc2a2481253e689947fe1d049d38f0bf2620a6e4 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Thu, 22 Sep 2022 08:18:11 +1000 Subject: [PATCH 110/110] kubernetes: 1.23.11 -> 1.23.12 https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#changelog-since-v12311 --- pkgs/applications/networking/cluster/kubernetes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubernetes/default.nix b/pkgs/applications/networking/cluster/kubernetes/default.nix index d50f004a84e5..66a11329d410 100644 --- a/pkgs/applications/networking/cluster/kubernetes/default.nix +++ b/pkgs/applications/networking/cluster/kubernetes/default.nix @@ -21,13 +21,13 @@ buildGoModule rec { pname = "kubernetes"; - version = "1.23.11"; + version = "1.23.12"; src = fetchFromGitHub { owner = "kubernetes"; repo = "kubernetes"; rev = "v${version}"; - sha256 = "sha256-fjB5O3kuU09megWGgU7f3otmWD/a31xVV1Dap2+xFkw="; + sha256 = "sha256-PuSjMyve7YxxuVr3ztM6nM86gl3GpcIa+LHajzfXODU="; }; vendorSha256 = null;