Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
b1947832 29aeda33

+137 -50
+2 -2
lib/strings.nix
··· 95 95 result with the specified separator interspersed between 96 96 elements. 97 97 98 - Type: concatMapStringsSep :: string -> (string -> string) -> [string] -> string 98 + Type: concatMapStringsSep :: string -> (a -> string) -> [a] -> string 99 99 100 100 Example: 101 101 concatMapStringsSep "-" (x: toUpper x) ["foo" "bar" "baz"] ··· 112 112 /* Same as `concatMapStringsSep`, but the mapping function 113 113 additionally receives the position of its argument. 114 114 115 - Type: concatIMapStringsSep :: string -> (int -> string -> string) -> [string] -> string 115 + Type: concatIMapStringsSep :: string -> (int -> a -> string) -> [a] -> string 116 116 117 117 Example: 118 118 concatImapStringsSep "-" (pos: x: toString (x / pos)) [ 6 6 6 ]
+2 -2
nixos/doc/manual/installation/installing.xml
··· 446 446 password for the <literal>root</literal> user, e.g. 447 447 <screen> 448 448 setting root password... 449 - Enter new UNIX password: *** 450 - Retype new UNIX password: ***</screen> 449 + New password: *** 450 + Retype new password: ***</screen> 451 451 <note> 452 452 <para> 453 453 For unattended installations, it is possible to use
+17 -13
pkgs/applications/audio/praat/default.nix
··· 1 - { lib, stdenv, fetchurl, alsa-lib, gtk2, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, wrapGAppsHook, alsa-lib, gtk3, libpulseaudio }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "praat"; 5 - version = "6.0.43"; 5 + version = "6.1.50"; 6 6 7 - src = fetchurl { 8 - url = "https://github.com/praat/praat/archive/v${version}.tar.gz"; 9 - sha256 = "1l13bvnl7sv8v6s5z63201bhzavnj6bnqcj446akippsam13z4sf"; 7 + src = fetchFromGitHub { 8 + owner = "praat"; 9 + repo = "praat"; 10 + rev = "v${version}"; 11 + sha256 = "11cw4292pml71hdnfy8y91blwyh45dyam1ywr09355zk44c5njpq"; 10 12 }; 11 13 12 14 configurePhase = '' 13 - cp makefiles/makefile.defs.linux.alsa makefile.defs 15 + cp makefiles/makefile.defs.linux.pulse makefile.defs 14 16 ''; 15 17 16 18 installPhase = '' 17 - mkdir -p $out/bin 18 - cp praat $out/bin 19 + install -Dt $out/bin praat 19 20 ''; 20 21 21 - nativeBuildInputs = [ pkg-config ]; 22 - buildInputs = [ alsa-lib gtk2 ]; 22 + nativeBuildInputs = [ pkg-config wrapGAppsHook ]; 23 + buildInputs = [ alsa-lib gtk3 libpulseaudio ]; 24 + 25 + enableParallelBuilding = true; 23 26 24 - meta = { 27 + meta = with lib; { 25 28 description = "Doing phonetics by computer"; 26 29 homepage = "https://www.fon.hum.uva.nl/praat/"; 27 - license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though 28 - platforms = lib.platforms.linux; 30 + license = licenses.gpl2Plus; # Has some 3rd-party code in it though 31 + maintainers = with maintainers; [ orivej ]; 32 + platforms = platforms.linux; 29 33 }; 30 34 }
+44
pkgs/applications/system/qjournalctl/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , qtbase 5 + , qmake 6 + , pkg-config 7 + , libssh 8 + , wrapQtAppsHook 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "qjournalctl"; 13 + version = "0.6.3"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "pentix"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "0j27cmfq29mwrbjfrrwi6m1grcamhbfhk47xzlfsx5wr2q9m6qkz"; 20 + }; 21 + 22 + postPatch = '' 23 + substituteInPlace qjournalctl.pro --replace /usr/ $out/ 24 + ''; 25 + 26 + nativeBuildInputs = [ 27 + qmake 28 + pkg-config 29 + wrapQtAppsHook 30 + ]; 31 + 32 + buildInputs = [ 33 + libssh 34 + qtbase 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Qt-based graphical user interface for systemd's journalctl command"; 39 + homepage = "https://github.com/pentix/qjournalctl"; 40 + license = licenses.gpl3Only; 41 + platforms = platforms.all; 42 + maintainers = with maintainers; [ dtzWill srgom romildo ]; 43 + }; 44 + }
+2 -2
pkgs/development/compilers/koka/default.nix
··· 4 4 , parsec, process, regex-compat, text, time }: 5 5 6 6 let 7 - version = "2.1.4"; 7 + version = "2.1.9"; 8 8 src = fetchFromGitHub { 9 9 owner = "koka-lang"; 10 10 repo = "koka"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-MPMA8ZErEKv1SrkliLsy35k88GrdsPqIK6yokQreIjE="; 12 + sha256 = "0xny4x1a2lzwgmng60bni7rxfjx5ns70qbfp703qwms54clvj5wy"; 13 13 fetchSubmodules = true; 14 14 }; 15 15 kklib = stdenv.mkDerivation {
+11 -3
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
··· 38 38 39 39 # Various tests try to access credential files which are not included with the source distribution 40 40 disabledTests = [ 41 - "test_iam" "test_cwd" "test_configure_service" "test_get_authenticator" 42 - "test_read_external_sources_2" "test_files_duplicate_parts" "test_files_list" 43 - "test_files_dict" "test_retry_config_external" "test_gzip_compression_external" 41 + "test_configure_service" 42 + "test_cp4d_authenticator" 43 + "test_cwd" 44 + "test_files_dict" 45 + "test_files_duplicate_parts" 46 + "test_files_list" 47 + "test_get_authenticator" 48 + "test_gzip_compression_external" 49 + "test_iam" 50 + "test_read_external_sources_2" 51 + "test_retry_config_external" 44 52 ]; 45 53 46 54 meta = with lib; {
+3 -4
pkgs/development/python-modules/ibm-watson/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ibm-watson"; 17 - version = "5.2.0"; 17 + version = "5.2.1"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "watson-developer-cloud"; 21 21 repo = "python-sdk"; 22 22 rev = "v${version}"; 23 - sha256 = "1abink5mv9nw506nwm9hlvnr1lq6dkxxj2j12iwphcyd7xs63n2s"; 23 + sha256 = "sha256-0F4BZf0D0dqGm0OkJaSgmH5RxEA8KCzOlbnhIQVsgzQ="; 24 24 }; 25 25 26 26 checkInputs = [ ··· 40 40 41 41 postPatch = '' 42 42 substituteInPlace setup.py \ 43 - --replace websocket-client==0.48.0 websocket-client>=0.48.0 \ 44 - --replace ibm_cloud_sdk_core==3.3.6 ibm_cloud_sdk_core>=3.3.6 43 + --replace websocket-client==1.1.0 websocket-client>=1.1.0 45 44 ''; 46 45 47 46 meta = with lib; {
+2 -2
pkgs/development/python-modules/pyatv/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "pyatv"; 22 - version = "0.8.0"; 22 + version = "0.8.1"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "postlund"; 26 26 repo = pname; 27 27 rev = "v${version}"; 28 - sha256 = "1slr6l0gw0mf1zhp40bjf5bib45arw1cy4fqkg0gvdk1hx79828m"; 28 + sha256 = "sha256-/ccmYNOYE+RkJiJbGkQgdYE8/X4xzyRT4dkMa/qSZEc="; 29 29 }; 30 30 31 31 postPatch = ''
+2 -2
pkgs/development/python-modules/python-gitlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "python-gitlab"; 13 - version = "2.8.0"; 13 + version = "2.9.0"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "f3364a8d1e813a0b3e68485db1e1881d8653b0e03b9a41f2c59544fce4930101"; 18 + sha256 = "sha256-LFGxTN2aaAKDFaKw6IUl03YJZziPmfqlfeiQK0VGW+Y="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+5 -3
pkgs/development/python-modules/scp/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "scp"; 10 - version = "0.13.4"; 10 + version = "0.13.5"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "e60948dd3e1aa13da21aa1bf8a025fabbbc2816ed04f1a1272410247d1a86f15"; 14 + sha256 = "sha256-CrLukXi4vlPcXJ/i8zdh4BokNQh/XJ+1tUUZhzxlDWA="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ ··· 25 25 #The Pypi package doesn't include the test 26 26 doCheck = false; 27 27 28 + pythonImportsCheck = [ "scp" ]; 29 + 28 30 meta = with lib; { 29 31 homepage = "https://github.com/jbardin/scp.py"; 30 32 description = "SCP module for paramiko"; 31 - license = licenses.lgpl3; 33 + license = licenses.lgpl21Only; 32 34 maintainers = with maintainers; [ xnaveira ]; 33 35 }; 34 36 }
+19 -5
pkgs/development/tools/build-managers/bmake/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch 2 - , getopt, tzdata 2 + , getopt, tzdata, ksh 3 + , pkgsMusl # for passthru.tests 3 4 }: 4 5 5 6 stdenv.mkDerivation rec { 6 7 pname = "bmake"; 7 - version = "20210420"; 8 + version = "20210621"; 8 9 9 10 src = fetchurl { 10 11 url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz"; 11 - sha256 = "1ajq8v5rq3pl5y9h1hlscs83007fsyk3lhcp87z09ma370lm3ra7"; 12 + sha256 = "0gpzv75ibzqz1j1h0hdjgx1v7hkl3i5cb5yf6q9sfcgx0bvb55xa"; 12 13 }; 13 14 14 15 # Make tests work with musl 15 16 # * Disable deptgt-delete_on_error test (alpine does this too) 17 + # * Disable shell-ksh test (ksh doesn't compile with musl) 16 18 # * Fix test failing due to different strerror(3) output for musl and glibc 17 19 postPatch = lib.optionalString (stdenv.hostPlatform.libc == "musl") '' 18 - sed -i unit-tests/Makefile -e '/deptgt-delete_on_error/d' 20 + sed -i unit-tests/Makefile \ 21 + -e '/deptgt-delete_on_error/d' \ 22 + -e '/shell-ksh/d' 19 23 substituteInPlace unit-tests/opt-chdir.exp --replace "File name" "Filename" 20 24 ''; 21 25 ··· 28 32 ./fix-unexport-env-test.patch 29 33 # Fix localtime tests without global /etc/zoneinfo directory 30 34 ./fix-localtime-test.patch 35 + # Always enable ksh test since it checks in a impure location /bin/ksh 36 + ./unconditional-ksh-test.patch 31 37 # decouple tests from build phase 32 38 (fetchpatch { 33 39 name = "separate-tests.patch"; ··· 68 74 ''; 69 75 70 76 doCheck = true; 71 - checkInputs = [ tzdata ]; 77 + checkInputs = [ 78 + tzdata 79 + ] ++ lib.optionals (stdenv.hostPlatform.libc != "musl") [ 80 + ksh 81 + ]; 72 82 checkPhase = '' 73 83 runHook preCheck 74 84 ··· 78 88 ''; 79 89 80 90 setupHook = ./setup-hook.sh; 91 + 92 + passthru.tests = { 93 + bmakeMusl = pkgsMusl.bmake; 94 + }; 81 95 82 96 meta = with lib; { 83 97 description = "Portable version of NetBSD 'make'";
+12
pkgs/development/tools/build-managers/bmake/unconditional-ksh-test.patch
··· 1 + --- bmake/unit-tests/Makefile.orig 2021-07-04 19:13:09.068094922 +0200 2 + +++ bmake/unit-tests/Makefile 2021-07-04 19:13:14.630080696 +0200 3 + @@ -295,9 +295,7 @@ 4 + TESTS+= sh-single-line 5 + TESTS+= shell-csh 6 + TESTS+= shell-custom 7 + -.if exists(/bin/ksh) 8 + TESTS+= shell-ksh 9 + -.endif 10 + TESTS+= shell-sh 11 + TESTS+= suff-add-later 12 + TESTS+= suff-clear-regular
+1 -1
pkgs/development/tools/build-managers/redo-c/Makefile
··· 1 - CFLAGS=-Os 1 + CFLAGS ?= -Os 2 2 3 3 all: redo links 4 4
+2 -2
pkgs/development/tools/build-managers/redo-c/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "redo-c"; 4 - version = "0.2"; 4 + version = "0.3"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "leahneukirchen"; 8 8 repo = pname; 9 9 rev = "v${version}"; 10 - sha256 = "11wc2sgw1ssdm83cjdc6ndnp1bv5mzhbw7njw47mk7ri1ic1x51b"; 10 + sha256 = "sha256-oZcaBgESIaD7/SUBE7luh7axucKTEzXPVkQAQs2NCXE="; 11 11 }; 12 12 13 13 postPatch = ''
+3 -3
pkgs/development/tools/rust/cargo-bloat/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-bloat"; 5 - version = "0.10.0"; 5 + version = "0.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RazrFalcon"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0bqzzh8vfqm7dpnb0fv4calnhsg9p3c5j06ycvg621p4zp4fydh2"; 11 + sha256 = "sha256-VcdZ/dKqFFQs8ItNEj407z1pWJqpHwwIsuNnsQ8KU/8="; 12 12 }; 13 13 14 - cargoSha256 = "0f7hmwrs99qdvhn4lvs8cqva68w2y04fy3ca1xlhk7ncdmclcc4g"; 14 + cargoSha256 = "sha256-1TIGv0yVhkhThqZiQW9JrvFd0eouTlr8kgN/g7b4vDM="; 15 15 16 16 meta = with lib; { 17 17 description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
+2 -2
pkgs/tools/misc/ncdu/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ncdu"; 5 - version = "1.15.1"; 5 + version = "1.16"; 6 6 7 7 src = fetchurl { 8 8 url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz"; 9 - sha256 = "1c1zxalm5asyhn4p1hd51h7khw17515gbqmvdz63kc8xpx6xqbdh"; 9 + sha256 = "1m0gk09jaz114piidiw8fkg0id5l6nhz1cg5nlaf1yl3l595g49b"; 10 10 }; 11 11 12 12 buildInputs = [ ncurses ];
+2 -2
pkgs/tools/networking/kea/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "kea"; 15 - version = "1.9.8"; 15 + version = "1.9.9"; 16 16 17 17 src = fetchurl { 18 18 url = "https://ftp.isc.org/isc/${pname}/${version}/${pname}-${version}.tar.gz"; 19 - sha256 = "sha256-EAi1Ic3YEF0or37At48saKwmAczTwf5GtbEsQNopbl0="; 19 + sha256 = "sha256-iVSWBR1+SkXlkwMii2PXpcxFSXYigz4lfNnMZBvS2kM="; 20 20 }; 21 21 22 22 patches = [ ./dont-create-var.patch ];
+2 -2
pkgs/tools/networking/tcpdump/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tcpdump"; 5 - version = "4.99.0"; 5 + version = "4.99.1"; 6 6 7 7 src = fetchurl { 8 8 url = "http://www.tcpdump.org/release/${pname}-${version}.tar.gz"; 9 - sha256 = "0hmqh2fx8rgs9v1mk3vpywj61xvkifz260q685xllxr8jmxg3wlc"; 9 + sha256 = "sha256-ebNphfsnAxRmGNh8Ss3j4Gi5HFU/uT8CGjN/F1/RDr4="; 10 10 }; 11 11 12 12 postPatch = ''
+2
pkgs/top-level/all-packages.nix
··· 8200 8200 8201 8201 qhull = callPackage ../development/libraries/qhull { }; 8202 8202 8203 + qjournalctl = libsForQt5.callPackage ../applications/system/qjournalctl { }; 8204 + 8203 8205 qjoypad = callPackage ../tools/misc/qjoypad { }; 8204 8206 8205 8207 qmk = callPackage ../tools/misc/qmk { };
+2
pkgs/top-level/python-aliases.nix
··· 38 38 dateutil = python-dateutil; # added 2021-07-03 39 39 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04 40 40 diff_cover = diff-cover; # added 2021-07-02 41 + dftfit = throw "it's dependency lammps-cython no longer builds"; 41 42 dns = dnspython; # Alias for compatibility, 2017-12-10 42 43 faulthandler = throw "faulthandler is built into ${python.executable}"; 43 44 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14 ··· 45 46 google_api_python_client = google-api-python-client; # added 2021-03-19 46 47 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 47 48 HAP-python = hap-python; # added 2021-06-01 49 + lammps-cython = throw "no longer builds and is unmaintained"; 48 50 MechanicalSoup = mechanicalsoup; # added 2021-06-01 49 51 privacyidea = throw "renamed to pkgs.privacyidea"; # added 2021-06-20 50 52 pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20