Merge master into staging-next

authored by github-actions[bot] and committed by GitHub aacf6c8f a8b75d6f

+106 -60
+3 -3
pkgs/applications/networking/cluster/argo/default.nix
··· 19 19 in 20 20 buildGoModule rec { 21 21 pname = "argo"; 22 - version = "3.2.4"; 22 + version = "3.2.6"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "argoproj"; 26 26 repo = "argo"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-uymE+Eq4jsqWIhDsbALzV+xAKF22DddPFzKtn3tV2EA="; 28 + sha256 = "sha256-QyjG+/zXbZ7AS/+yXNV0PocXJaSKeJNN+1F7EMv1LOI="; 29 29 }; 30 30 31 - vendorSha256 = "sha256-2b+PvD5IKgobBzFrubjRl2NvFxw91dXYpnWO8dqDG+U="; 31 + vendorSha256 = "sha256-hxSr0sNlz93JxOxnE2SnR6/OgCGK8DrJZxqQtSxfbj8="; 32 32 33 33 doCheck = false; 34 34
+3 -3
pkgs/applications/office/trilium/default.nix
··· 19 19 maintainers = with maintainers; [ fliegendewurst ]; 20 20 }; 21 21 22 - version = "0.48.8"; 22 + version = "0.49.4"; 23 23 24 24 desktopSource = { 25 25 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; 26 - sha256 = "1dz4wdx3d1pmm3yrvipqa929f6gqilhfc3sp6xcgbn9faypp6qra"; 26 + sha256 = "078w7jjkn8af3i0y0s236ky54h08b2wgzcaiakqiqx4gxdpf6jrq"; 27 27 }; 28 28 29 29 serverSource = { 30 30 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; 31 - sha256 = "0jp1hj51x5wz27f7739nwwli119pzpskg269cxk4i04xxbhr145j"; 31 + sha256 = "0hygdxb97373z5cn3s4wr66wc41w7a55kxjyb8alck1fl9l6agn1"; 32 32 }; 33 33 34 34 in {
+2 -2
pkgs/applications/radio/wsjtx/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "wsjtx"; 7 - version = "2.5.3"; 7 + version = "2.5.4"; 8 8 9 9 # This is a "superbuild" tarball containing both wsjtx and a hamlib fork 10 10 src = fetchurl { 11 11 url = "http://physics.princeton.edu/pulsar/k1jt/wsjtx-${version}.tgz"; 12 - sha256 = "sha256-Dd99JBPn1TgPF8Yvqk+AZX8ZUuQjYS0Tx3y5A3VZsHw="; 12 + sha256 = "sha256-Gz84Rq0sCl9BAXi2YSdl1Z7mPbJJ62z8MyrOF/CjCJg="; 13 13 }; 14 14 15 15 # Hamlib builds with autotools, wsjtx builds with cmake
+8 -5
pkgs/applications/video/mpv/scripts/sponsorblock.nix
··· 3 3 # Usage: `pkgs.mpv.override { scripts = [ pkgs.mpvScripts.sponsorblock ]; }` 4 4 stdenvNoCC.mkDerivation { 5 5 pname = "mpv_sponsorblock"; 6 - version = "unstable-2020-07-05"; 6 + version = "unstable-2021-12-23"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "po5"; 10 10 repo = "mpv_sponsorblock"; 11 - rev = "f71e49e0531350339134502e095721fdc66eac20"; 12 - sha256 = "1fr4cagzs26ygxyk8dxqvjw4n85fzv6is6cb1jhr2qnsjg6pa0p8"; 11 + rev = "6743bd47d4cfce3ae3d5dd4f587f3193bd4fb9b2"; 12 + sha256 = "06c37f33cdpz1w1jacjf1wnbh4f9b1xpipxzkg5ixf46cbwssmsj"; 13 13 }; 14 14 15 15 dontBuild = true; ··· 39 39 cp -r sponsorblock.lua sponsorblock_shared $out/share/mpv/scripts/ 40 40 ''; 41 41 42 - passthru.scriptName = "sponsorblock.lua"; 42 + passthru = { 43 + scriptName = "sponsorblock.lua"; 44 + updateScript = ./update-sponsorblock.sh; 45 + }; 43 46 44 47 meta = with lib; { 45 - description = "mpv script to skip sponsored segments of YouTube videos"; 48 + description = "Script for mpv to skip sponsored segments of YouTube videos"; 46 49 homepage = "https://github.com/po5/mpv_sponsorblock"; 47 50 license = licenses.gpl3; 48 51 platforms = platforms.all;
+49
pkgs/applications/video/mpv/scripts/update-sponsorblock.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p common-updater-scripts git jq nix nix-prefetch-git 3 + git_url='https://github.com/po5/mpv_sponsorblock.git' 4 + git_branch='master' 5 + git_dir='/var/tmp/mpv_sponsorblock.git' 6 + nix_file="$(dirname "${BASH_SOURCE[0]}")/sponsorblock.nix" 7 + pkg='mpvScripts.sponsorblock' 8 + 9 + set -euo pipefail 10 + 11 + info() { 12 + if [ -t 2 ]; then 13 + set -- '\033[32m%s\033[39m\n' "$@" 14 + else 15 + set -- '%s\n' "$@" 16 + fi 17 + printf "$@" >&2 18 + } 19 + 20 + old_rev=$(nix-instantiate --eval --strict --json -A "$pkg.src.rev" | jq -r) 21 + old_version=$(nix-instantiate --eval --strict --json -A "$pkg.version" | jq -r) 22 + today=$(LANG=C date -u +'%Y-%m-%d') 23 + 24 + info "fetching $git_url..." 25 + if [ ! -d "$git_dir" ]; then 26 + git init --initial-branch="$git_branch" "$git_dir" 27 + git -C "$git_dir" remote add origin "$git_url" 28 + fi 29 + git -C "$git_dir" fetch --depth=1 origin "$git_branch" 30 + 31 + # use latest commit before today, we should not call the version *today* 32 + # because there might still be commits coming 33 + # use the day of the latest commit we picked as version 34 + new_rev=$(git -C "$git_dir" log -n 1 --format='format:%H' --before="${today}T00:00:00Z" "origin/$git_branch") 35 + new_version="unstable-$(git -C "$git_dir" log -n 1 --format='format:%cs' "$new_rev")" 36 + info "latest commit before $today: $new_rev" 37 + 38 + if [ "$new_rev" = "$old_rev" ]; then 39 + info "$pkg is up-to-date." 40 + exit 41 + fi 42 + 43 + new_sha256=$(nix-prefetch-git --rev "$new_rev" "$git_dir" | jq -r .sha256) 44 + update-source-version "$pkg" \ 45 + "$new_version" \ 46 + "$new_sha256" \ 47 + --rev="$new_rev" 48 + git add "$nix_file" 49 + git commit --verbose --message "$pkg: $old_version -> $new_version"
+2 -2
pkgs/development/beam-modules/erlang-ls/default.nix
··· 1 1 { fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper 2 2 , stdenv, writeScript, lib }: 3 3 let 4 - version = "0.20.0"; 4 + version = "0.21.2"; 5 5 owner = "erlang-ls"; 6 6 repo = "erlang_ls"; 7 7 deps = import ./rebar-deps.nix { ··· 19 19 inherit version; 20 20 src = fetchFromGitHub { 21 21 inherit owner repo; 22 - sha256 = "sha256-XBCauvPalIPjVOYlMfWC+5mKku28b/qqKhp9NgSkoyA="; 22 + sha256 = "sha256-CiA71mvmq3HrJvgrEDMwp3CQ4Dl05BpTO5HusAL5FAQ="; 23 23 rev = version; 24 24 }; 25 25 releaseType = "escript";
+16 -16
pkgs/development/beam-modules/erlang-ls/rebar-deps.nix
··· 114 114 }; 115 115 beamDeps = [ katana_code ]; 116 116 }; 117 - ranch = builder { 118 - name = "ranch"; 119 - version = "2.0.0"; 120 - src = fetchHex { 121 - pkg = "ranch"; 122 - version = "2.0.0"; 123 - sha256 = "sha256-wgpIQMfWYjwZgS06fIKLLxvRU+8PEky2nFT+UdikKuA="; 124 - }; 125 - beamDeps = [ ]; 126 - }; 127 117 jsx = builder { 128 118 name = "jsx"; 129 119 version = "3.0.0"; ··· 134 124 }; 135 125 beamDeps = [ ]; 136 126 }; 137 - erlfmt = builder { 138 - name = "erlfmt"; 127 + gradualizer = builder { 128 + name = "gradualizer"; 139 129 version = "git"; 140 130 src = fetchFromGitHub { 141 - owner = "whatsapp"; 142 - repo = "erlfmt"; 143 - rev = "2e93fc4a646111357642b0179a2a63151868d890"; 144 - sha256 = "0n7kygycn05aqdp5dyj192mja89l4nxv2wg16qg2c0bmw9s7j2mr"; 131 + owner = "josefs"; 132 + repo = "gradualizer"; 133 + rev = "e93db1c6725760def005c69d72f53b1a889b4c2f"; 134 + sha256 = "0i1mh0dw2qknrjwpbxhgpwspqv12bznylv17sznid3kbb31pslay"; 135 + }; 136 + beamDeps = [ ]; 137 + }; 138 + erlfmt = builder { 139 + name = "erlfmt"; 140 + version = "1.0.0"; 141 + src = fetchHex { 142 + pkg = "erlfmt"; 143 + version = "1.0.0"; 144 + sha256 = "sha256-RL4L4DzmmQLcbc2PZeezre1qr10L5wlkGIyr1K0k8E4="; 145 145 }; 146 146 beamDeps = [ ]; 147 147 };
+2 -2
pkgs/development/python-modules/flux-led/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "flux-led"; 11 - version = "0.28.0"; 11 + version = "0.28.1"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; ··· 17 17 owner = "Danielhiversen"; 18 18 repo = "flux_led"; 19 19 rev = version; 20 - sha256 = "sha256-6IJxOQIRUfmf+tE5CxIlu7EZBp6j8BeVO2mKKW0VWBY="; 20 + sha256 = "sha256-4Er9n3dx2j4/dAmNiQVGh7vwbjtKk8+KOFClyDrLOsk="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pontos/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pontos"; 15 - version = "22.1.0"; 15 + version = "22.1.1"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 21 21 owner = "greenbone"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-/C7BiKWdMcUuKXxPTdttT79YjBDmwj9CG5W38YZHw2c="; 24 + sha256 = "sha256-p7E86McHeijsXpaByD5qLHYQLnSImLwHn15INyxWiZc="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -8
pkgs/development/python-modules/python-http-client/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "python_http_client"; 11 - version = "3.3.4"; 11 + version = "3.3.5"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "sendgrid"; 18 18 repo = "python-http-client"; 19 19 rev = version; 20 - sha256 = "sha256-wTXHq+tC+rfvmDZIWvcGhQZqm6DxOmx50BsX0c6asec="; 20 + sha256 = "sha256-VSrh6t9p7Xb8HqAwcuDSUD2Pj3NcXeg7ygKLG2MHFxk="; 21 21 }; 22 22 23 23 checkInputs = [ 24 24 mock 25 25 pytestCheckHook 26 - ]; 27 - 28 - disabledTests = [ 29 - # Test is failing as the test is dynamic 30 - # https://github.com/sendgrid/python-http-client/issues/153 31 - "test__daterange" 32 26 ]; 33 27 34 28 pythonImportsCheck = [
+3 -12
pkgs/misc/wiki-tui/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "wiki-tui"; 5 - version = "0.4.3"; 5 + version = "0.4.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Builditluc"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-maN/0lJx6/lj3Zn+IZcPJFPPFVLbnpwxeMSTyzKYX6s="; 11 + sha256 = "sha256-IkPv6oPdwfuIQrqQGqZAJ0b9OPRiA3GWDQuPXM/+fY4="; 12 12 }; 13 13 14 - # latest update forgot to include cargo.lock update 15 - cargoPatches = [ 16 - (fetchpatch { 17 - url = "https://github.com/Builditluc/wiki-tui/commit/87993eaca35a14afc1fb557482b099a6dd2da911.patch"; 18 - sha256 = "sha256-n04FCZwQ9pPanz9QQY/7Apyoy6lG0t/23S40p4c/TXw="; 19 - }) 20 - ]; 21 - 22 14 buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security; 23 15 24 16 nativeBuildInputs = [ pkg-config ]; 25 17 26 - cargoSha256 = "sha256-x4oS9IBF2GMcilv9Oi/IeFaCM3sxWn7PpkKcaeSqIog="; 18 + cargoSha256 = "sha256-/56KsEg6deeROERWLd9lX+7v6n5Dx1VCzdr/GtPFuGo="; 27 19 28 20 meta = with lib; { 29 21 description = "A simple and easy to use Wikipedia Text User Interface"; 30 22 homepage = "https://github.com/builditluc/wiki-tui"; 31 23 license = licenses.mit; 32 24 maintainers = with maintainers; [ lom ]; 33 - mainProgram = "wiki-tui"; 34 25 }; 35 26 }
+1
pkgs/tools/security/wprecon/default.nix
··· 23 23 # https://github.com/blackbinn/wprecon/blob/master/LICENSE 24 24 license = with licenses; [ unfree ]; 25 25 maintainers = with maintainers; [ fab ]; 26 + broken = true; # build fails, missing tag 26 27 }; 27 28 }
+13 -5
pkgs/top-level/all-packages.nix
··· 2077 2077 2078 2078 avro-c = callPackage ../development/libraries/avro-c { }; 2079 2079 2080 - avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; }; 2080 + avro-cpp = callPackage ../development/libraries/avro-c++ { }; 2081 2081 2082 2082 aws = callPackage ../tools/virtualization/aws { }; 2083 2083 ··· 6611 6611 6612 6612 ipfs = callPackage ../applications/networking/ipfs { }; 6613 6613 ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { }; 6614 - ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { }; 6614 + ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { 6615 + buildGoModule = buildGo116Module; 6616 + }; 6615 6617 6616 6618 ipget = callPackage ../applications/networking/ipget { }; 6617 6619 ··· 10106 10108 pythonPackages = python3Packages; 10107 10109 }; 10108 10110 10109 - telepresence2 = callPackage ../tools/networking/telepresence2 { }; 10111 + telepresence2 = callPackage ../tools/networking/telepresence2 { 10112 + buildGoModule = buildGo116Module; 10113 + }; 10110 10114 10111 10115 teler = callPackage ../tools/security/teler { }; 10112 10116 ··· 21249 21253 21250 21254 unit = callPackage ../servers/http/unit { }; 21251 21255 21252 - ncdns = callPackage ../servers/dns/ncdns { }; 21256 + ncdns = callPackage ../servers/dns/ncdns { 21257 + buildGoModule = buildGo116Module; 21258 + }; 21253 21259 21254 21260 nginx = nginxStable; 21255 21261 ··· 28891 28897 28892 28898 tenacity = callPackage ../applications/audio/tenacity { wxGTK = wxGTK31-gtk3; }; 28893 28899 28894 - tendermint = callPackage ../tools/networking/tendermint { }; 28900 + tendermint = callPackage ../tools/networking/tendermint { 28901 + buildGoModule = buildGo116Module; 28902 + }; 28895 28903 28896 28904 termdbms = callPackage ../development/tools/database/termdbms { }; 28897 28905