Merge master into staging-next

authored by github-actions[bot] and committed by GitHub e090cb1f 8064cff7

+66 -96
+11 -1
pkgs/applications/editors/android-studio/common.nix
··· 35 35 , libXrender 36 36 , libXtst 37 37 , makeWrapper 38 + , ncurses5 38 39 , nspr 39 40 , nss 40 41 , pciutils ··· 141 142 ]}" \ 142 143 --set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \ 143 144 --set FONTCONFIG_FILE ${fontsConf} 145 + 146 + # AS launches LLDBFrontend with a custom LD_LIBRARY_PATH 147 + wrapProgram $out/bin/lldb/bin/LLDBFrontend --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ 148 + ncurses5 149 + zlib 150 + ]}" 144 151 ''; 145 152 }; 153 + 154 + # Causes the shebangs in interpreter scripts deployed to mobile devices to be patched, which Android does not understand 155 + dontPatchShebangs = true; 146 156 147 157 desktopItem = makeDesktopItem { 148 158 name = drvName; ··· 161 171 fhsEnv = buildFHSUserEnv { 162 172 name = "${drvName}-fhs-env"; 163 173 multiPkgs = pkgs: [ 164 - pkgs.ncurses5 174 + ncurses5 165 175 166 176 # Flutter can only search for certs Fedora-way. 167 177 (runCommand "fedoracert" {}
+3 -1
pkgs/applications/misc/1password/default.nix
··· 8 8 url = { 9 9 "i686-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; 10 10 "x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; 11 + "aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm_v${version}.zip"; 11 12 }.${stdenv.hostPlatform.system}; 12 13 sha256 = { 13 14 "i686-linux" = "teoxscan+EZ76Q0sfKT6nt1w/LSsmDoiN2oh+NGO/4A="; 14 15 "x86_64-linux" = "nRK2GSwhQe5OgcAdR1fg0vUp3fzEkhwU/teIwsEEemw="; 16 + "aarch64-linux" = "0932bspm1likky1n0rg15d01gspkm1fns2ma82qyb91yr6d18ddk"; 15 17 }.${stdenv.hostPlatform.system}; 16 18 stripRoot = false; 17 19 } else fetchurl { ··· 46 48 downloadPage = "https://app-updates.agilebits.com/product_history/CLI"; 47 49 maintainers = with maintainers; [ joelburget marsam ]; 48 50 license = licenses.unfree; 49 - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 51 + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]; 50 52 }; 51 53 }
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 31 31 } 32 32 }, 33 33 "dev": { 34 - "version": "90.0.4408.0", 35 - "sha256": "0bg16nz65j13a8sdzrzkmbidlglh7bz7y8s4bi68il9ppbffw3k4", 36 - "sha256bin64": "0ad2xif8ng71ian07vb8h3jsd5wh95xndja43vwswc3072zk5h05", 34 + "version": "90.0.4412.3", 35 + "sha256": "1yjpfircdl38nrjh3an469g7q8178jyvawkfpnzc5aqsgkpkl442", 36 + "sha256bin64": "1asdjicb4l4l2ak3fkxcwdx1avpc1m8wvyhxmj1k3bqa4qmvz3hz", 37 37 "deps": { 38 38 "gn": { 39 39 "version": "2021-01-25",
+2 -2
pkgs/applications/networking/cluster/kube3d/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kube3d"; 5 - version = "4.1.1"; 5 + version = "4.2.0"; 6 6 7 7 excludedPackages = "tools"; 8 8 ··· 10 10 owner = "rancher"; 11 11 repo = "k3d"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-ZdPBlGlrgSJQlp6sWUeXm34+O30WtXHy5hvye40qew0="; 13 + sha256 = "sha256-R2RbQlceOD/uY3IdLLiM23gESh/oWnsiTWxHeH/Si18="; 14 14 }; 15 15 16 16 vendorSha256 = null;
-11
pkgs/applications/networking/cluster/nomad/0.11.nix
··· 1 - { callPackage 2 - , buildGoPackage 3 - , nvidia_x11 4 - , nvidiaGpuSupport 5 - }: 6 - 7 - callPackage ./generic.nix { 8 - inherit buildGoPackage nvidia_x11 nvidiaGpuSupport; 9 - version = "0.11.8"; 10 - sha256 = "1dhh07bifr02jh2lls8fv1d9ra67ymgh8qxqvpvm0cd0qdd469z1"; 11 - }
+2 -2
pkgs/applications/networking/cluster/nomad/0.12.nix
··· 6 6 7 7 callPackage ./generic.nix { 8 8 inherit buildGoPackage nvidia_x11 nvidiaGpuSupport; 9 - version = "0.12.9"; 10 - sha256 = "1a0ig6pb0z3qp7zk4jgz3h241bifmjlyqsfikyy3sxdnzj7yha27"; 9 + version = "0.12.10"; 10 + sha256 = "12hlzjkay7y1502nmfvq2qkhp9pq7vp4zxypawnh98qvxbzv149l"; 11 11 }
+2 -2
pkgs/applications/networking/cluster/nomad/1.0.nix
··· 6 6 7 7 callPackage ./generic.nix { 8 8 inherit buildGoPackage nvidia_x11 nvidiaGpuSupport; 9 - version = "1.0.2"; 10 - sha256 = "1l9j6k5dzh9ym9j75mam10vd9b5qh4xqfj6d63bjp7gkk4hd1jxx"; 9 + version = "1.0.3"; 10 + sha256 = "142rwpli8mbyg4vhhybnym34rk9w1ns4ddfhqjr1ygmxb1rlsngi"; 11 11 }
+3 -3
pkgs/applications/networking/seaweedfs/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "seaweedfs"; 5 - version = "2.23"; 5 + version = "2.24"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "chrislusf"; 9 9 repo = "seaweedfs"; 10 10 rev = version; 11 - sha256 = "sha256-MMFVJoiVrA0zy4RM2nyhlu/JfnzIRpxrA3N1jm2R0jI="; 11 + sha256 = "sha256-nz45vCRhWhgVG2pMA6TZVUIS4d9qBWW7NtTHuEsn4pg="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-UucbEBjIKRbZFd99BsnG6AAEIQ13+vzKe61k6ZPvE0A="; 14 + vendorSha256 = "sha256-v0wFlwODZt3LC+yTuNS1hAAkoedVPfTeEIvs6rUGUa4="; 15 15 16 16 subPackages = [ "weed" ]; 17 17
+12 -26
pkgs/development/libraries/libextractor/default.nix
··· 1 1 { fetchurl, lib, stdenv, substituteAll 2 2 , libtool, gettext, zlib, bzip2, flac, libvorbis 3 - , exiv2, libgsf, rpm, pkg-config, fetchpatch 3 + , exiv2, libgsf, rpm, pkg-config 4 4 , gstreamerSupport ? true, gst_all_1 ? null 5 5 # ^ Needed e.g. for proper id3 and FLAC support. 6 6 # Set to `false` to decrease package closure size by about 87 MB (53%). ··· 20 20 assert videoSupport -> ffmpeg_3 != null && libmpeg2 != null; 21 21 22 22 stdenv.mkDerivation rec { 23 - name = "libextractor-1.9"; 23 + pname = "libextractor"; 24 + version = "1.11"; 24 25 25 26 src = fetchurl { 26 - url = "mirror://gnu/libextractor/${name}.tar.gz"; 27 - sha256 = "1zz2zvikvfibxnk1va3kgzs7djsmiqy7bmk8y01vbsf54ryjb3zh"; 27 + url = "mirror://gnu/libextractor/${pname}-${version}.tar.gz"; 28 + sha256 = "sha256-FvYzq4dGo4VHxKHaP0WRGSsIJa2DxDNvBXW4WEPYvY8="; 28 29 }; 29 30 30 - patches = [ 31 - ./fix-gcc8-build.patch 32 - # Fixes build with exiv2 0.27 33 - (fetchpatch { 34 - name = "libextractor-exiv2-0.27.patch"; 35 - url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/libextractor-exiv2-0.27.patch?h=packages/libextractor&id=4dc53f7fc69210ae571285dface108ed65d8ee53"; 36 - sha256 = "0w4gc1q1m1yxsd4hv105nblmif465nw3g5nxzldy0x2rl9mdncg6"; 37 - }) 38 - (fetchpatch { 39 - name = "CVE-2019-15531.patch"; 40 - url = "https://git.gnunet.org/libextractor.git/patch/?id=d2b032452241708bee68d02aa02092cfbfba951a"; 41 - sha256 = "01xhcjbzv6p53wz7y2ii76kb8m9iwvnm4ip9w4a0bpgaxqz4b9fw"; 42 - excludes = [ "ChangeLog" ]; 43 - }) 44 - ] ++ lib.optionals gstreamerSupport [ 31 + patches = lib.optionals gstreamerSupport [ 45 32 46 33 # Libraries cannot be wrapped so we need to hardcode the plug-in paths. 47 34 (substituteAll { ··· 76 63 77 64 # Checks need to be run after "make install", otherwise plug-ins are not in 78 65 # the search path, etc. 79 - # FIXME: Tests currently fail and the test framework appears to be deeply 80 - # broken anyway. 81 66 doCheck = false; 82 - #postInstall = "make check"; 67 + doInstallCheck = true; 68 + installCheckPhase = "make check"; 83 69 84 - meta = { 70 + meta = with lib; { 85 71 description = "Simple library for keyword extraction"; 86 72 87 73 longDescription = ··· 105 91 additional MIME types are detected. 106 92 ''; 107 93 108 - license = lib.licenses.gpl2Plus; 94 + license = licenses.gpl3Plus; 109 95 110 - maintainers = [ ]; 111 - platforms = lib.platforms.linux; 96 + maintainers = [ maintainers.jorsn ]; 97 + platforms = platforms.linux; 112 98 }; 113 99 }
-16
pkgs/development/libraries/libextractor/fix-gcc8-build.patch
··· 1 - diff --git a/src/plugins/ole2_extractor.c b/src/plugins/ole2_extractor.c 2 - index 072ffc5..a105840 100644 3 - --- a/src/plugins/ole2_extractor.c 4 - +++ b/src/plugins/ole2_extractor.c 5 - @@ -345,9 +345,8 @@ process_star_office (GsfInput *src, 6 - gsf_input_read (src, size, (unsigned char*) buf); 7 - if ( (buf[0] != 0x0F) || 8 - (buf[1] != 0x0) || 9 - - (0 != strncmp (&buf[2], 10 - - "SfxDocumentInfo", 11 - - strlen ("SfxDocumentInfo"))) || 12 - + (0 != strcmp (&buf[2], 13 - + "SfxDocumentInfo")) || 14 - (buf[0x11] != 0x0B) || 15 - (buf[0x13] != 0x00) || /* pw protected! */ 16 - (buf[0x12] != 0x00) )
+2 -2
pkgs/development/tools/ytt/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub }: 2 2 buildGoModule rec { 3 3 pname = "ytt"; 4 - version = "0.30.0"; 4 + version = "0.31.0"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "vmware-tanzu"; 8 8 repo = "carvel-ytt"; 9 9 rev = "v${version}"; 10 - sha256 = "0v9wp15aj4r7wif8i897zwj3c6bg41b95kk7vi3a3bzin814qn6l"; 10 + sha256 = "sha256-GXnhI8nd4ciFd22989ypqGy5pozKJm+dzg8MaDDvuZg="; 11 11 }; 12 12 13 13 vendorSha256 = null;
+2 -2
pkgs/servers/http/apt-cacher-ng/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "apt-cacher-ng"; 18 - version = "3.5"; 18 + version = "3.6"; 19 19 20 20 src = fetchurl { 21 21 url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz"; 22 - sha256 = "0h76n02nnpg7ir9247qrxb8p4d4p282nh13zrv5bb9sfm12pril2"; 22 + sha256 = "sha256-/4jA5acNpHpdQ9kb/1A9thtoUCqsYFxSCr4JLmFYdt4="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ cmake doxygen pkg-config ];
+3 -3
pkgs/servers/roon-server/default.nix
··· 11 11 , zlib 12 12 }: stdenv.mkDerivation rec { 13 13 name = "roon-server"; 14 - version = "100700710"; 14 + version = "100800753"; 15 15 16 16 # N.B. The URL is unstable. I've asked for them to provide a stable URL but 17 17 # they have ignored me. If this package fails to build for you, you may need 18 18 # to update the version and sha256. 19 19 # c.f. https://community.roonlabs.com/t/latest-roon-server-is-not-available-for-download-on-nixos/118129 20 20 src = fetchurl { 21 - url = "https://web.archive.org/web/20210202130624/https://download.roonlabs.com/builds/RoonServer_linuxx64.tar.bz2"; 22 - sha256 = "sha256-S1c3RvN/HE8zwpGZARYRy/Gu4OTG0CjWbxJhZ3cKoVE="; 21 + url = "https://web.archive.org/web/20210209195555/https://download.roonlabs.com/builds/RoonServer_linuxx64.tar.bz2"; 22 + sha256 = "sha256-uas1vqIDWlYr7jgsrlBeJSPjMxwzVnrkCD9jJljkFZs="; 23 23 }; 24 24 25 25 buildInputs = [
+2 -2
pkgs/tools/admin/stripe-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "stripe-cli"; 5 - version = "1.5.8"; 5 + version = "1.5.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "stripe"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-TE6+X2UEvHyUiPB61JA9JHCJTDOvHhyt5A44cgd2Meo="; 11 + sha256 = "sha256-fR4MFEytYZA4zt4WFGnEp9YDCtX6peQoI+NynqyReT8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-GQACtHTid1Aq5iSQqks10hmGS+VUlwNoM1LG+liynhU=";
+2 -2
pkgs/tools/backup/bacula/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "bacula"; 7 - version = "11.0.0"; 7 + version = "11.0.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://sourceforge/bacula/${pname}-${version}.tar.gz"; 11 - sha256 = "JmBTwI/wUEytkhu0SYbTX6/dDQG6xvN2odEYTVpztok="; 11 + sha256 = "sha256-Lr2c24hZU8A/Cd8xGA7rfqga67ghz0XJ/cs/z/hSlPU="; 12 12 }; 13 13 14 14 buildInputs = [ postgresql sqlite zlib ncurses openssl readline ]
+2 -2
pkgs/tools/misc/z-lua/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "z-lua"; 5 - version = "1.8.10"; 5 + version = "1.8.11"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "skywind3000"; 9 9 repo = "z.lua"; 10 10 rev = version; 11 - sha256 = "0q0qs07kmkpjv68j2bjgsrv6shl76mssnchfv82vjf8abkf8343b"; 11 + sha256 = "sha256-k3Q4Fc2T7ElZb98+DVodC7zMHv5yfdwOIkSk0k04WCo="; 12 12 }; 13 13 14 14 dontBuild = true;
+2 -2
pkgs/tools/networking/connman/connman.nix
··· 55 55 56 56 stdenv.mkDerivation rec { 57 57 pname = "connman"; 58 - version = "1.38"; 58 + version = "1.39"; 59 59 src = fetchurl { 60 60 url = "mirror://kernel/linux/network/connman/${pname}-${version}.tar.xz"; 61 - sha256 = "0awkqigvhwwxiapw0x6yd4whl465ka8a4al0v2pcqy9ggjlsqc6b"; 61 + sha256 = "sha256-n2KnFpt0kcZwof8uM1sNlmMI+y9i4oXHgRBeuQ8YGvM="; 62 62 }; 63 63 64 64 buildInputs = [
+2 -2
pkgs/tools/security/1password-gui/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "1password"; 11 - version = "0.9.11-3"; 11 + version = "0.9.12-3"; 12 12 13 13 src = fetchurl { 14 14 url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage"; 15 - hash = "sha256-vkW0LphgJsIVsdI7CjA2hOvxnjO77GA5eEKElIR4PkU="; 15 + hash = "sha256-IK4BuZKM2U8vz7m8waJhoh3tQ539wGLcIDNiYGUou24="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ makeWrapper ];
+3 -1
pkgs/tools/security/aws-iam-authenticator/default.nix
··· 13 13 14 14 vendorSha256 = null; 15 15 16 - buildFlagsArray = [ "-ldflags=-s -w -X pkg.Version=v${version}" ]; 16 + buildFlagsArray = [ "-ldflags=-s -w -X main.version=v${version}" ]; 17 + 18 + subPackages = [ "cmd/aws-iam-authenticator" ]; 17 19 18 20 meta = with lib; { 19 21 homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
+2 -2
pkgs/tools/system/inxi/default.nix
··· 22 22 ++ recommendedDisplayInformationPrograms; 23 23 in stdenv.mkDerivation rec { 24 24 pname = "inxi"; 25 - version = "3.3.00-1"; 25 + version = "3.3.01-1"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "smxi"; 29 29 repo = "inxi"; 30 30 rev = version; 31 - sha256 = "sha256-P1AYo4Ao9lDxJXyZd64wBxNgQIvEcT00ThjtcB2v52I="; 31 + sha256 = "sha256-wY9wsxBByxqy9qk/7UoKiUSpFGS1rFpdyTs3ig6OJRs="; 32 32 }; 33 33 34 34 buildInputs = [ perl makeWrapper ];
+3 -3
pkgs/tools/text/mark/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "mark"; 5 - version = "5.0"; 5 + version = "5.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kovetskiy"; 9 9 repo = "mark"; 10 10 rev = version; 11 - sha256 = "sha256-PN7YSpTl7RoW5zgoYjXHDFB6sTroSA3TNpTCsOsdB34="; 11 + sha256 = "sha256-bjDQwtIsY+Dvv270DACvyU+MNPyI7EZcob6F/aebVac="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-1YQD+QwCOAPOsj946DNF92LYKfRgXZXcfhIADP8s2CY="; 14 + vendorSha256 = "sha256-l6zHsis2fais5HQJQdfsSC0sPdcF4BeWoUznpl3Fh1g="; 15 15 16 16 buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; 17 17
+3 -6
pkgs/top-level/all-packages.nix
··· 6511 6511 6512 6512 noip = callPackage ../tools/networking/noip { }; 6513 6513 6514 - nomad = nomad_0_12; 6514 + nomad = nomad_1_0; 6515 6515 6516 6516 # Nomad never updates major go versions within a release series and is unsupported 6517 6517 # on Go versions that it did not ship with. Due to historic bugs when compiled 6518 6518 # with different versions we pin Go for all versions. 6519 - nomad_0_11 = callPackage ../applications/networking/cluster/nomad/0.11.nix { 6520 - buildGoPackage = buildGo114Package; 6521 - inherit (linuxPackages) nvidia_x11; 6522 - nvidiaGpuSupport = config.cudaSupport or false; 6523 - }; 6519 + # Upstream partially documents used Go versions here 6520 + # https://github.com/hashicorp/nomad/blob/master/contributing/golang.md 6524 6521 nomad_0_12 = callPackage ../applications/networking/cluster/nomad/0.12.nix { 6525 6522 buildGoPackage = buildGo114Package; 6526 6523 inherit (linuxPackages) nvidia_x11;