lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
f3ce7c3e 8cd1711b

+45 -90
+6 -13
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 12 12 with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 - version = "0.32.1"; 15 + version = "0.32.2"; 16 16 pname = "notmuch"; 17 17 18 18 passthru = { ··· 20 20 inherit version; 21 21 }; 22 22 23 - src = fetchgit { 24 - url = "https://git.notmuchmail.org/git/notmuch"; 25 - sha256 = "sha256:06r0hdz8mxnzag74md62a9m6c2zm0fxn45n4n1c26j5cmrys7j16"; 26 - rev = version; 23 + src = fetchurl { 24 + url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; 25 + sha256 = "1myylb19hj5nb1vriqng252vfjwwkgbi3gxj93pi2q1fzyw7w2lf"; 27 26 }; 28 27 29 28 nativeBuildInputs = [ ··· 31 30 doxygen # (optional) api docs 32 31 pythonPackages.sphinx # (optional) documentation -> doc/INSTALL 33 32 texinfo # (optional) documentation -> doc/INSTALL 34 - ] ++ optional withEmacs [ emacs ]; 33 + ] ++ optional withEmacs emacs; 35 34 36 35 buildInputs = [ 37 36 gnupg # undefined dependencies ··· 86 85 gdb man emacs 87 86 ]; 88 87 89 - # Expects there to always be a thread with ID 90 - # thread:0000000000000009, but notmuch new is non-deterministic so 91 - # this isn't always the case. Upstream bug report: 92 - # https://nmbug.notmuchmail.org/nmweb/show/871reno6g7.fsf%40alyssa.is 93 - NOTMUCH_SKIP_TESTS = "lib-thread"; 94 - 95 88 installTargets = [ "install" "install-man" "install-info" ]; 96 89 97 90 postInstall = lib.optionalString withEmacs '' ··· 103 96 meta = { 104 97 description = "Mail indexer"; 105 98 homepage = "https://notmuchmail.org/"; 106 - license = licenses.gpl3; 99 + license = licenses.gpl3Plus; 107 100 maintainers = with maintainers; [ flokli puckipedia ]; 108 101 platforms = platforms.unix; 109 102 };
+3 -2
pkgs/development/beam-modules/erlang-ls/default.nix
··· 1 - { fetchFromGitHub, fetchHex, rebar3Relx, buildRebar3, rebar3-proper, lib }: 1 + { fetchFromGitHub, fetchHex, rebar3Relx, buildRebar3, rebar3-proper, stdenv, lib }: 2 2 let 3 3 version = "0.17.0"; 4 4 owner = "erlang-ls"; ··· 32 32 HOME=. rebar3 ct 33 33 HOME=. rebar3 proper --constraint_tries 100 34 34 ''; 35 - doCheck = true; 35 + # tests seem to be a bit flaky on darwin, skip them for now 36 + doCheck = !stdenv.isDarwin; 36 37 installPhase = '' 37 38 mkdir -p $out/bin 38 39 cp _build/default/bin/erlang_ls $out/bin/
+3 -3
pkgs/development/tools/gotestsum/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gotestsum"; 5 - version = "1.6.4"; 5 + version = "1.7.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gotestyourself"; 9 9 repo = "gotestsum"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5iSUk/J73enbc/N3bn7M4oj2A0yoF1jTWpnXD380hFI="; 11 + sha256 = "sha256-nZaVi39dOytJTM69xpl+d9XoUt+yHdndPgY2ggfNeMQ="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-sHi8iW+ZV/coeAwDUYnSH039UNtUO9HK0Bhz9Gmtv8k="; 14 + vendorSha256 = "sha256-wP5y8Ec6eSe+rdMEQQdX0fFTQ0HWuiyBRHxGlraZd+o="; 15 15 16 16 doCheck = false; 17 17
+1 -4
pkgs/tools/misc/findutils/default.nix
··· 20 20 substituteInPlace xargs/xargs.c --replace 'char default_cmd[] = "echo";' 'char default_cmd[] = "${coreutils}/bin/echo";' 21 21 ''; 22 22 23 - patches = [ ./no-install-statedir.patch ] 24 - # fix gnulib tests on 32-bit ARM. Included on findutils master. 25 - # https://lists.gnu.org/r/bug-gnulib/2020-08/msg00225.html 26 - ++ lib.optional stdenv.hostPlatform.isAarch32 ./fix-gnulib-tests-arm.patch; 23 + patches = [ ./no-install-statedir.patch ]; 27 24 28 25 buildInputs = [ coreutils ]; # bin/updatedb script needs to call sort 29 26
-45
pkgs/tools/misc/findutils/fix-gnulib-tests-arm.patch
··· 1 - >From 175e0bc72808d564074c4adcc72aeadb74adfcc6 Mon Sep 17 00:00:00 2001 2 - From: Paul Eggert <eggert@cs.ucla.edu> 3 - Date: Thu, 27 Aug 2020 17:52:58 -0700 4 - Subject: [PATCH] perror, strerror_r: remove unportable tests 5 - 6 - Problem reported by Florian Weimer in: 7 - https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html 8 - * tests/test-perror2.c (main): 9 - * tests/test-strerror_r.c (main): Omit unportable tests. 10 - --- 11 - tests/test-perror2.c | 3 --- 12 - tests/test-strerror_r.c | 3 --- 13 - 2 files changed, 6 deletions(-) 14 - 15 - diff --git a/gnulib-tests/test-perror2.c b/gnulib-tests/test-perror2.c 16 - index 1d14eda7b..c6214dd25 100644 17 - --- a/gnulib-tests/test-perror2.c 18 - +++ b/gnulib-tests/test-perror2.c 19 - @@ -79,9 +79,6 @@ main (void) 20 - errno = -5; 21 - perror (""); 22 - ASSERT (!ferror (stderr)); 23 - - ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1)); 24 - - ASSERT (msg2 == msg4 || STREQ (msg2, str2)); 25 - - ASSERT (msg3 == msg4 || STREQ (msg3, str3)); 26 - ASSERT (STREQ (msg4, str4)); 27 - 28 - free (str1); 29 - diff --git a/gnulib-tests/test-strerror_r.c b/gnulib-tests/test-strerror_r.c 30 - index b11d6fd9f..c1dbcf837 100644 31 - --- a/gnulib-tests/test-strerror_r.c 32 - +++ b/gnulib-tests/test-strerror_r.c 33 - @@ -165,9 +165,6 @@ main (void) 34 - 35 - strerror_r (EACCES, buf, sizeof buf); 36 - strerror_r (-5, buf, sizeof buf); 37 - - ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1)); 38 - - ASSERT (msg2 == msg4 || STREQ (msg2, str2)); 39 - - ASSERT (msg3 == msg4 || STREQ (msg3, str3)); 40 - ASSERT (STREQ (msg4, str4)); 41 - 42 - free (str1); 43 - -- 44 - 2.17.1 45 -
+2 -2
pkgs/tools/networking/dnsproxy/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dnsproxy"; 5 - version = "0.38.3"; 5 + version = "0.39.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "AdguardTeam"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-VfEfxcewKo8D8kNsMuCvrLOZNl632ZIFyD+RG8qzjQ4="; 11 + sha256 = "sha256-rHU07rh8wZPaaxZmXVBu4tpt02Jq7Yu//dwWeVDUpw4="; 12 12 }; 13 13 14 14 vendorSha256 = null;
+2
pkgs/tools/package-management/nix/default.nix
··· 42 42 [ "out" "dev" ] 43 43 ++ lib.optionals enableDocumentation [ "man" "doc" ]; 44 44 45 + hardeningEnable = [ "pie" ]; 46 + 45 47 nativeBuildInputs = 46 48 [ pkg-config ] 47 49 ++ lib.optionals stdenv.isLinux [ util-linuxMinimal ]
+27 -20
pkgs/tools/virtualization/udocker/default.nix
··· 1 - { lib, fetchFromGitHub, proot, patchelf, fakechroot, runc, simplejson, pycurl, coreutils, nose, mock, buildPythonApplication }: 2 - 3 - buildPythonApplication rec { 1 + { lib 2 + , fetchFromGitHub 3 + , singularity 4 + , python3Packages 5 + }: 4 6 5 - version = "1.1.3"; 7 + python3Packages.buildPythonApplication rec { 6 8 pname = "udocker"; 9 + version = "1.3.1"; 7 10 8 11 src = fetchFromGitHub { 9 12 owner = "indigo-dc"; 10 - repo = "udocker" ; 13 + repo = "udocker"; 11 14 rev = "v${version}"; 12 - sha256 = "1c8y1p3brj987drikwrby8m1hdr40ja4anx0p4xsij3ll2h62w6z"; 15 + sha256 = "0dfsjgidsnah8nrclrq10yz3ja859123z81kq4zdifbrhnrn5a2x"; 13 16 }; 14 17 15 - buildInputs = [ proot patchelf fakechroot runc simplejson pycurl coreutils ]; 18 + # crun patchelf proot runc fakechroot 19 + # are download statistically linked during runtime 20 + buildInputs = [ 21 + singularity 22 + ] ++ (with python3Packages; [ 23 + pytest-runner 24 + pycurl 25 + ]); 16 26 17 - postPatch = '' 18 - substituteInPlace udocker.py --replace /usr/sbin:/sbin:/usr/bin:/bin $PATH 19 - substituteInPlace udocker.py --replace /bin/chmod ${coreutils}/bin/chmod 20 - substituteInPlace udocker.py --replace /bin/rm ${coreutils}/bin/rm 21 - substituteInPlace tests/unit_tests.py --replace /bin/rm ${coreutils}/bin/rm 22 - substituteInPlace udocker.py --replace "autoinstall = True" "autoinstall = False" 23 - ''; 27 + checkInputs = with python3Packages; [ 28 + pytestCheckHook 29 + ]; 24 30 25 - checkInputs = [ 26 - nose 27 - mock 31 + disabledTests = [ 32 + "test_05__get_volume_bindings" 28 33 ]; 29 34 30 - checkPhase = '' 31 - NOSE_EXCLUDE=test_03_create_repo,test_04_is_repo,test_02__get_group_from_host nosetests -v tests/unit_tests.py 32 - ''; 35 + disabledTestPaths = [ 36 + # Network 37 + "tests/unit/test_curl.py" 38 + "tests/unit/test_dockerioapi.py" 39 + ]; 33 40 34 41 meta = with lib; { 35 42 description = "basic user tool to execute simple docker containers in user space without root privileges";
+1 -1
pkgs/top-level/all-packages.nix
··· 27652 27652 27653 27653 umurmur = callPackage ../applications/networking/umurmur { }; 27654 27654 27655 - udocker = pythonPackages.callPackage ../tools/virtualization/udocker { }; 27655 + udocker = callPackage ../tools/virtualization/udocker { }; 27656 27656 27657 27657 uefitoolPackages = recurseIntoAttrs (callPackage ../tools/system/uefitool/variants.nix {}); 27658 27658 uefitool = uefitoolPackages.new-engine;