Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
e9fa1eea 4b60db03

+210 -41
+2 -2
README.md
··· 21 21 # Community 22 22 23 23 * [Discourse Forum](https://discourse.nixos.org/) 24 - * [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos) 24 + * [Matrix Chat](https://matrix.to/#/#community:nixos.org) 25 25 * [NixOS Weekly](https://weekly.nixos.org/) 26 26 * [Community-maintained wiki](https://nixos.wiki/) 27 - * [Community-maintained list of ways to get in touch](https://nixos.wiki/wiki/Get_In_Touch#Chat) (Discord, Matrix, Telegram, other IRC channels, etc.) 27 + * [Community-maintained list of ways to get in touch](https://nixos.wiki/wiki/Get_In_Touch#Chat) (Discord, Telegram, IRC, etc.) 28 28 29 29 # Other Project Repositories 30 30
+1
nixos/modules/tasks/filesystems.nix
··· 321 321 RemainAfterExit = true; 322 322 }; 323 323 unitConfig = { 324 + ConditionPathIsMountPoint = "!/sys/fs/pstore"; 324 325 ConditionVirtualization = "!container"; 325 326 DefaultDependencies = false; # needed to prevent a cycle 326 327 };
+3 -3
pkgs/applications/misc/xplr/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "xplr"; 5 - version = "0.9.1"; 5 + version = "0.10.1"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "0ca6r0xkcdg1ha0n79kzxqh2ks5q3l3hgylqqy62vk51c6yrjx9x"; 9 + sha256 = "17x514pwbkzkkrd47a66a4iz3bxrxvm8hk5hphsfbhgzqfnf9iy7"; 10 10 }; 11 11 12 12 buildInputs = lib.optional stdenv.isDarwin libiconv; 13 13 14 - cargoSha256 = "1c29dakcff130fvavgq2kpy2ncpgxkil2mi14q2m9jpsrvhqcdvk"; 14 + cargoSha256 = "03y2fk174rdjvw8wdzwc0hhj0zqwpap7qcga51yhq877rgyxbxir"; 15 15 16 16 meta = with lib; { 17 17 description = "A hackable, minimal, fast TUI file explorer";
+2 -2
pkgs/development/interpreters/erlang/R23.nix
··· 3 3 # How to obtain `sha256`: 4 4 # nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz 5 5 mkDerivation { 6 - version = "23.3.4"; 7 - sha256 = "EKewwcK1Gr84mmFVxVmOLaPiFtsG3r/1ubGOUwM/EYY="; 6 + version = "23.3.4.1"; 7 + sha256 = "vBGPCAq7410ykiWsxDo6PpgnInPMY35+RPx4gl/BW7k="; 8 8 }
+4
pkgs/development/libraries/igraph/default.nix
··· 96 96 cp -r doc "$out/share" 97 97 ''; 98 98 99 + postFixup = lib.optionalString stdenv.isDarwin '' 100 + install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libigraph.dylib 101 + ''; 102 + 99 103 meta = with lib; { 100 104 description = "The network analysis package"; 101 105 homepage = "https://igraph.org/";
+2 -1
pkgs/development/libraries/qt-5/modules/qtwebengine.nix
··· 134 134 ''; 135 135 136 136 qmakeFlags = [ "--" "-system-ffmpeg" ] 137 - ++ optional stdenv.isLinux "-webengine-webrtc-pipewire" 137 + ++ optional (stdenv.isLinux && (lib.versionAtLeast qtCompatVersion "5.15")) "-webengine-webrtc-pipewire" 138 138 ++ optional enableProprietaryCodecs "-proprietary-codecs"; 139 139 140 140 propagatedBuildInputs = [ ··· 168 168 xorg.xrandr libXScrnSaver libXcursor libXrandr xorg.libpciaccess libXtst 169 169 xorg.libXcomposite xorg.libXdamage libdrm 170 170 171 + ] ++ optionals (stdenv.isLinux && (lib.versionAtLeast qtCompatVersion "5.15")) [ 171 172 # Pipewire 172 173 pipewire_0_2 173 174 ]
+4
pkgs/development/libraries/science/math/arpack/default.nix
··· 46 46 export OMP_NUM_THREADS=2 47 47 ''; 48 48 49 + postFixup = lib.optionalString stdenv.isDarwin '' 50 + install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libarpack.dylib 51 + ''; 52 + 49 53 meta = { 50 54 homepage = "https://github.com/opencollab/arpack-ng"; 51 55 description = ''
+1
pkgs/development/node-packages/default.nix
··· 75 75 76 76 flood = super.flood.override { 77 77 buildInputs = [ self.node-pre-gyp ]; 78 + meta.mainProgram = "flood"; 78 79 }; 79 80 80 81 expo-cli = super."expo-cli".override (attrs: {
+35
pkgs/development/python-modules/cocotb-bus/default.nix
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchPypi 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "cocotb-bus"; 9 + version = "0.1.1"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "cc9b0bb00c95061a67f650caf96e3a294bb74ef437124dea456dd9e2a9431854"; 14 + }; 15 + 16 + postPatch = '' 17 + # remove circular dependency cocotb from setup.py 18 + substituteInPlace setup.py --replace '"cocotb>=1.5.0.dev,<2.0"' "" 19 + ''; 20 + 21 + # tests require cocotb, disable for now to avoid circular dependency 22 + doCheck = false; 23 + 24 + # checkPhase = '' 25 + # export PATH=$out/bin:$PATH 26 + # make test 27 + # ''; 28 + 29 + meta = with lib; { 30 + description = "Pre-packaged testbenching tools and reusable bus interfaces for cocotb"; 31 + homepage = "https://github.com/cocotb/cocotb-bus"; 32 + license = licenses.bsd3; 33 + maintainers = with maintainers; [ prusnak ]; 34 + }; 35 + }
+26 -16
pkgs/development/python-modules/cocotb/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, swig, verilog }: 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchPypi 5 + , setuptools 6 + , setuptools-scm 7 + , cocotb-bus 8 + , pytest 9 + , swig 10 + , verilog 11 + }: 2 12 3 13 buildPythonPackage rec { 4 14 pname = "cocotb"; 5 - version = "1.5.1"; 15 + version = "1.5.2"; 6 16 7 - src = fetchFromGitHub { 8 - owner = pname; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "02bw2i03vd4rcvdk10qdjl2lbvvy81cn9qpr8vzq8cm9h45689mv"; 17 + # - we need to use the tarball from PyPi 18 + # or the full git checkout (with .git) 19 + # - using fetchFromGitHub will cause a build failure, 20 + # because it does not include required metadata 21 + src = fetchPypi { 22 + inherit pname version; 23 + sha256 = "9f4f3e6eb9caeb479e98d604770645b57469cd25b39e28df1916ffcd593efbe6"; 12 24 }; 13 25 14 - propagatedBuildInputs = [ 15 - setuptools 16 - ]; 26 + nativeBuildInputs = [ setuptools-scm ]; 27 + 28 + buildInputs = [ setuptools ]; 17 29 18 30 postPatch = '' 19 31 patchShebangs bin/*.py ··· 25 37 do 26 38 substituteInPlace $f --replace 'shell which' 'shell command -v' 27 39 done 40 + 41 + # remove circular dependency cocotb-bus from setup.py 42 + substituteInPlace setup.py --replace "'cocotb-bus<1.0'" "" 28 43 ''; 29 44 30 - checkInputs = [ swig verilog ]; 45 + checkInputs = [ cocotb-bus pytest swig verilog ]; 31 46 32 47 checkPhase = '' 33 - # test expected failures actually pass because of a fix in our icarus version 34 - # https://github.com/cocotb/cocotb/issues/1952 35 - substituteInPlace tests/test_cases/test_discovery/test_discovery.py \ 36 - --replace 'def access_single_bit' $'def foo(x): pass\ndef foo' 37 - 38 48 export PATH=$out/bin:$PATH 39 49 make test 40 50 '';
+4 -2
pkgs/development/python-modules/croniter/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "croniter"; 13 - version = "1.0.9"; 13 + version = "1.0.13"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "708532f70584207e23ef2989ca40f367e6238bfe050133a1aff43e1e0e6f6092"; 17 + sha256 = "sha256-V/Nt9PWhwxu/ULv/o1UWEsGfYVarHoji5CNCzLufm5o="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ ··· 27 27 pytz 28 28 tzlocal 29 29 ]; 30 + 31 + pythonImportsCheck = [ "croniter" ]; 30 32 31 33 meta = with lib; { 32 34 description = "croniter provides iteration for datetime object with cron like format";
+2 -2
pkgs/development/python-modules/pur/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pur"; 10 - version = "5.4.0"; 10 + version = "5.4.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "alanhamlett"; 14 14 repo = "pip-update-requirements"; 15 15 rev = version; 16 - sha256 = "1p2g0kz9l0rb59b3rkclb6wwidc93kwqh2hm4xc22b1w9r946six"; 16 + sha256 = "sha256-a2wViLJW+UXgHcURxr4irFVkH8STH84AVcwQIkvH+Fg="; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/tensorflow/default.nix
··· 72 72 73 73 tfFeature = x: if x then "1" else "0"; 74 74 75 - version = "2.4.0"; 75 + version = "2.4.1"; 76 76 variant = if cudaSupport then "-gpu" else ""; 77 77 pname = "tensorflow${variant}"; 78 78 ··· 110 110 owner = "tensorflow"; 111 111 repo = "tensorflow"; 112 112 rev = "v${version}"; 113 - sha256 = "0yl06aypfxrcs35828xf04mkidz1x0j89v0q5h4d2xps1cb5rv3f"; 113 + sha256 = "sha256-J62QfP45g5nxN9Nqa1tAGyc4vD2JKh50ddHLrd6/qsY="; 114 114 }; 115 115 116 116 patches = [
+1
pkgs/tools/X11/caffeine-ng/default.nix
··· 43 43 ''; 44 44 45 45 meta = with lib; { 46 + mainProgram = "caffeine"; 46 47 maintainers = with maintainers; [ marzipankaiser ]; 47 48 description = "Status bar application to temporarily inhibit screensaver and sleep mode"; 48 49 homepage = "https://github.com/caffeine-ng/caffeine-ng";
+2 -2
pkgs/tools/misc/trash-cli/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "trash-cli"; 5 - version = "0.21.5.11"; 5 + version = "0.21.5.22"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "andreafrancia"; 9 9 repo = "trash-cli"; 10 10 rev = version; 11 - sha256 = "0ifv717ywq2y0s6m9rkry1fnsr3mg9n2b2zcwaf9r5cxpw90bmym"; 11 + sha256 = "0c1q13fyh9gi9gbxc55n772xlgjjr1ysnlxl41vifdcd4q8fhil8"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ python3Packages.psutil ];
+3 -3
pkgs/tools/security/bettercap/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "bettercap"; 13 - version = "2.31.0"; 13 + version = "2.31.1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = pname; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-PmS4ox1ZaHrBGJAdNByott61rEvfmR1ZJ12ut0MGtrc="; 19 + sha256 = "sha256-vZajnKjuIFoNnjxSsFkkpxyCR27VWqVN4lGf9SadmPU="; 20 20 }; 21 21 22 - vendorSha256 = "sha256-3j64Z4BQhAbUtoHJ6IT1SCsKxSeYZRxSO3K2Nx9Vv4w="; 22 + vendorSha256 = "sha256-et6D+M+xJbxIiDP7JRRABZ8UqUCpt9ZVI5DP45tyTGM="; 23 23 24 24 doCheck = false; 25 25
+2 -2
pkgs/tools/system/gdu/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "gdu"; 10 - version = "4.11.2"; 10 + version = "5.0.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "dundee"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-IrlyHYAcoRvF5CA0LMKHTb8aYSawvEcU7s+a03QYI1c="; 16 + sha256 = "sha256-d1CErJ/vorfXgQCnSfPcM/6iIixPwFXndDqFv+mBhwY="; 17 17 }; 18 18 19 19 vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
+100
pkgs/tools/text/hottext/default.nix
··· 1 + { lib, stdenv, fetchurl, fetchFromGitHub, nim, gentium, SDL2, makeDesktopItem }: 2 + 3 + let 4 + treeformLibs = lib.attrsets.mapAttrsToList (repo: args: 5 + fetchFromGitHub ({ 6 + inherit repo; 7 + owner = "treeform"; 8 + } // args)) { 9 + bumpy = { 10 + rev = "1.0.3"; 11 + sha256 = "sha256-mDmDlhOGoYYjKgF5j808oT2NqRlfcOdLSDE3WtdJFQ0="; 12 + }; 13 + chroma = { 14 + rev = "0.2.5"; 15 + sha256 = "sha256-6lNHpO2aMorgkaPfo6kRcOs9r5R6T/kislVmkeoulw8="; 16 + }; 17 + flatty = { 18 + rev = "0.2.1"; 19 + sha256 = "sha256-TqNnRh2+i6n98ktLRVQxt9CVw17FGLNYq29rJoMus/0="; 20 + }; 21 + pixie = { 22 + rev = "1.1.3"; 23 + sha256 = "sha256-xKIejVxOd19mblL1ZwpJH91dgKQS5g8U08EL8lGGelA="; 24 + }; 25 + typography = { 26 + rev = "0.7.9"; 27 + sha256 = "sha256-IYjw3PCp5XzVed2fGGCt9Hb60cxFeF0BUZ7L5PedTLU="; 28 + }; 29 + vmath = { 30 + rev = "1.0.3"; 31 + sha256 = "sha256-zzSKXjuTZ46HTFUs0N47mxEKTKIdS3dwr+60sQYSdn0="; 32 + }; 33 + }; 34 + 35 + nimLibs = treeformLibs ++ [ 36 + (fetchFromGitHub { 37 + owner = "nim-lang"; 38 + repo = "sdl2"; 39 + rev = "v2.0.2"; 40 + sha256 = "sha256-Ivx/gxDa2HVDjCVrJVu23i4d0pDzzv+ThmwqNjtkjsA="; 41 + }) 42 + (fetchFromGitHub { 43 + owner = "guzba"; 44 + repo = "nimsimd"; 45 + rev = "1.0.0"; 46 + sha256 = "sha256-kp61fylAJ6MSN9hLYLi7CU2lxVR/lbrNCvZTe0LJLGo="; 47 + }) 48 + (fetchFromGitHub { 49 + owner = "guzba"; 50 + repo = "zippy"; 51 + rev = "0.5.6"; 52 + sha256 = "sha256-axp4t9+8TFSpvnATlRKZyuOGLA0e/XKfvrVSwreXpC4="; 53 + }) 54 + ]; 55 + 56 + in stdenv.mkDerivation rec { 57 + pname = "hottext"; 58 + version = "1.3"; 59 + 60 + src = fetchurl { 61 + url = "https://git.sr.ht/~ehmry/hottext/archive/v${version}.tar.gz"; 62 + sha256 = "sha256-iz7Z2x0/yi/E6gGFkYgq/yZDOxrZGwQmumPoO9kckLQ="; 63 + }; 64 + 65 + nativeBuildInputs = [ nim ]; 66 + buildInputs = [ SDL2 ]; 67 + 68 + nimFlags = [ "-d:release" ] ++ map (lib: "--path:${lib}/src") nimLibs; 69 + 70 + HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-R.ttf"; 71 + 72 + buildPhase = '' 73 + runHook preBuild 74 + HOME=$TMPDIR 75 + nim $nimFlags compile src/$pname 76 + runHook postBuild 77 + ''; 78 + 79 + desktopItem = makeDesktopItem { 80 + categories = "Utility;"; 81 + comment = meta.description; 82 + desktopName = pname; 83 + exec = pname; 84 + name = pname; 85 + }; 86 + 87 + installPhase = '' 88 + runHook preInstall 89 + install -Dt $out/bin src/$pname 90 + cp -r $desktopItem/* $out 91 + runHook postInstall 92 + ''; 93 + 94 + meta = with lib; { 95 + description = "Simple RSVP speed-reading utility"; 96 + license = licenses.unlicense; 97 + homepage = "https://git.sr.ht/~ehmry/hottext"; 98 + maintainers = with maintainers; [ ehmry ]; 99 + }; 100 + }
+2
pkgs/top-level/all-packages.nix
··· 2758 2758 2759 2759 hostsblock = callPackage ../tools/misc/hostsblock { }; 2760 2760 2761 + hottext = callPackage ../tools/text/hottext { }; 2762 + 2761 2763 hopper = qt5.callPackage ../development/tools/analysis/hopper {}; 2762 2764 2763 2765 hr = callPackage ../applications/misc/hr { };
+10 -4
pkgs/top-level/php-packages.nix
··· 322 322 configureFlags = [ "--with-gmp=${gmp.dev}" ]; } 323 323 { name = "hash"; enable = lib.versionOlder php.version "7.4"; } 324 324 { name = "iconv"; 325 - configureFlags = if stdenv.isDarwin then 326 - [ "--with-iconv=${libiconv}" ] 327 - else 328 - [ "--with-iconv" ]; 325 + configureFlags = [ 326 + "--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" 327 + ]; 328 + patches = lib.optionals (lib.versionOlder php.version "8.0") [ 329 + # Header path defaults to FHS location, preventing the configure script from detecting errno support. 330 + (fetchpatch { 331 + url = "https://github.com/fossar/nix-phps/raw/263861a8c9bdafd7abe44db6db4ef0179643680c/pkgs/iconv-header-path.patch"; 332 + sha256 = "7GHnEUu+hcsQ4h3itDwk6p46ZKfib9JZ2XpWlXrdn6E="; 333 + }) 334 + ]; 329 335 doCheck = false; } 330 336 { name = "imap"; 331 337 buildInputs = [ uwimap openssl pam pcre' ];
+2
pkgs/top-level/python-packages.nix
··· 1481 1481 1482 1482 cocotb = callPackage ../development/python-modules/cocotb { }; 1483 1483 1484 + cocotb-bus = callPackage ../development/python-modules/cocotb-bus { }; 1485 + 1484 1486 codecov = callPackage ../development/python-modules/codecov { }; 1485 1487 1486 1488 codespell = callPackage ../development/python-modules/codespell { };