Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 1c0229db 795332a2

+236 -119
+23 -8
nixos/modules/config/console.nix
··· 12 12 13 13 optimizedKeymap = pkgs.runCommand "keymap" { 14 14 nativeBuildInputs = [ pkgs.buildPackages.kbd ]; 15 - LOADKEYS_KEYMAP_PATH = "${consoleEnv}/share/keymaps/**"; 15 + LOADKEYS_KEYMAP_PATH = "${consoleEnv pkgs.kbd}/share/keymaps/**"; 16 16 preferLocalBuild = true; 17 17 } '' 18 18 loadkeys -b ${optionalString isUnicode "-u"} "${cfg.keyMap}" > $out ··· 24 24 FONT=${cfg.font} 25 25 ''; 26 26 27 - consoleEnv = pkgs.buildEnv { 27 + consoleEnv = kbd: pkgs.buildEnv { 28 28 name = "console-env"; 29 - paths = [ pkgs.kbd ] ++ cfg.packages; 29 + paths = [ kbd ] ++ cfg.packages; 30 30 pathsToLink = [ 31 31 "/share/consolefonts" 32 32 "/share/consoletrans" ··· 136 136 # virtual consoles. 137 137 environment.etc."vconsole.conf".source = vconsoleConf; 138 138 # Provide kbd with additional packages. 139 - environment.etc.kbd.source = "${consoleEnv}/share"; 139 + environment.etc.kbd.source = "${consoleEnv pkgs.kbd}/share"; 140 140 141 - boot.initrd.preLVMCommands = mkBefore '' 141 + boot.initrd.preLVMCommands = mkIf (!config.boot.initrd.systemd.enable) (mkBefore '' 142 142 kbd_mode ${if isUnicode then "-u" else "-a"} -C /dev/console 143 143 printf "\033%%${if isUnicode then "G" else "@"}" >> /dev/console 144 144 loadkmap < ${optimizedKeymap} ··· 146 146 ${optionalString cfg.earlySetup '' 147 147 setfont -C /dev/console $extraUtils/share/consolefonts/font.psf 148 148 ''} 149 - ''; 149 + ''); 150 + 151 + boot.initrd.systemd.contents = { 152 + "/etc/kbd".source = "${consoleEnv config.boot.initrd.systemd.package.kbd}/share"; 153 + "/etc/vconsole.conf".source = vconsoleConf; 154 + }; 155 + boot.initrd.systemd.storePaths = [ 156 + "${config.boot.initrd.systemd.package}/lib/systemd/systemd-vconsole-setup" 157 + "${config.boot.initrd.systemd.package.kbd}/bin/setfont" 158 + "${config.boot.initrd.systemd.package.kbd}/bin/loadkeys" 159 + "${config.boot.initrd.systemd.package.kbd.gzip}/bin/gzip" # keyboard layouts are compressed 160 + ]; 150 161 151 162 systemd.services.reload-systemd-vconsole-setup = 152 163 { description = "Reset console on configuration changes"; 153 164 wantedBy = [ "multi-user.target" ]; 154 - restartTriggers = [ vconsoleConf consoleEnv ]; 165 + restartTriggers = [ vconsoleConf (consoleEnv pkgs.kbd) ]; 155 166 reloadIfChanged = true; 156 167 serviceConfig = 157 168 { RemainAfterExit = true; ··· 175 186 ${if substring 0 1 cfg.font == "/" then '' 176 187 font="${cfg.font}" 177 188 '' else '' 178 - font="$(echo ${consoleEnv}/share/consolefonts/${cfg.font}.*)" 189 + font="$(echo ${consoleEnv pkgs.kbd}/share/consolefonts/${cfg.font}.*)" 179 190 ''} 180 191 if [[ $font == *.gz ]]; then 181 192 gzip -cd $font > $out/share/consolefonts/font.psf ··· 183 194 cp -L $font $out/share/consolefonts/font.psf 184 195 fi 185 196 ''; 197 + assertions = [{ 198 + assertion = !config.boot.initrd.systemd.enable; 199 + message = "console.earlySetup is implied by systemd stage 1"; 200 + }]; 186 201 }) 187 202 ])) 188 203 ];
-1
nixos/modules/system/boot/systemd/initrd.nix
··· 398 398 "${cfg.package}/lib/systemd/systemd-shutdown" 399 399 "${cfg.package}/lib/systemd/systemd-sulogin-shell" 400 400 "${cfg.package}/lib/systemd/systemd-sysctl" 401 - "${cfg.package}/lib/systemd/systemd-vconsole-setup" 402 401 403 402 # additional systemd directories 404 403 "${cfg.package}/lib/systemd/system-generators"
+3 -3
pkgs/applications/misc/1password-gui/default.nix
··· 42 42 43 43 in stdenv.mkDerivation rec { 44 44 pname = "1password"; 45 - version = "8.6.0"; 45 + version = "8.6.1"; 46 46 47 47 src = fetchurl { 48 48 url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; 49 - sha256 = "AgmLbf2YHZr8McSIL5dxp5HxOC7gLrZWIopuA7aL0JI="; 49 + sha256 = "sha256-CbSx1UJAvNrA1gTQyi6r8NgjwQ7H+tqWU9t3TUNrDMg="; 50 50 }; 51 51 52 52 nativeBuildInputs = [ makeWrapper ]; ··· 128 128 description = "Multi-platform password manager"; 129 129 homepage = "https://1password.com/"; 130 130 license = licenses.unfree; 131 - maintainers = with maintainers; [ timstott savannidgerinel ]; 131 + maintainers = with maintainers; [ timstott savannidgerinel maxeaubrey ]; 132 132 platforms = [ "x86_64-linux" ]; 133 133 }; 134 134 }
+2 -2
pkgs/applications/misc/bottles/default.nix
··· 20 20 in 21 21 python3Packages.buildPythonApplication rec { 22 22 pname = "bottles"; 23 - version = "2022.3.28-trento-1"; 24 - sha256 = "1mpvym7b88pb0xxij32arj31q5m6b3z47p8zv9njvkfs0151b2v4"; 23 + version = "2022.4.14-trento"; 24 + sha256 = "0kjc1w8x4d6g2lx8x8isa2vnwacyjlh9lldf14wn4b118hsw85zs"; 25 25 # Note: Update via pkgs/applications/misc/bottles/update.py 26 26 # mostly copypasted from pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py 27 27
+1 -1
pkgs/applications/networking/instant-messengers/ferdi/default.nix
··· 19 19 name = "Ferdi"; 20 20 version = "5.8.1"; 21 21 src = fetchurl { 22 - url = "https://github.com/getferdi/ferdi/releases/download/v${version}/ferdi_${version}_amd64.deb"; 22 + url = "https://master.dl.sourceforge.net/project/ferdi.mirror/v${version}/ferdi_${version}_amd64.deb"; 23 23 sha256 = "sha256-Bl7bM5iDQlfPSZxksqlg7GbuwWlm53QkOf/TQEg3/n0="; 24 24 }; 25 25 extraBuildInputs = [ xorg.libxshmfence ];
+2 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "signalbackup-tools"; 5 - version = "20220316"; 5 + version = "20220411"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bepaald"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-c9eqY3KBzCrNOLNf1DGpARmxGzwga3+tBg3e7Yr+Rb8="; 11 + sha256 = "sha256-ia+8RZ1wQTyUCs+6o9AMCH4Kh2neHjPWbXWjLkDb6/w="; 12 12 }; 13 13 14 14 # Remove when Apple SDK is >= 10.13
+2 -1
pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
··· 11 11 , cpio 12 12 , xar 13 13 , libdbusmenu 14 + , libxshmfence 14 15 }: 15 16 16 17 let ··· 90 91 wrapGAppsHook 91 92 ]; 92 93 93 - buildInputs = atomEnv.packages; 94 + buildInputs = [ libxshmfence ] ++ atomEnv.packages; 94 95 95 96 unpackPhase = '' 96 97 runHook preUnpack
+5 -8
pkgs/applications/networking/mailreaders/aerc/default.nix
··· 40 40 substituteAllInPlace doc/aerc-config.5.scd 41 41 ''; 42 42 43 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 44 + 43 45 pythonPath = [ 44 46 python3.pkgs.colorama 45 47 ]; 46 48 47 49 buildInputs = [ python3 notmuch ]; 48 50 49 - buildPhase = " 50 - runHook preBuild 51 - # we use make instead of go build 52 - runHook postBuild 53 - "; 54 - 55 51 installPhase = '' 56 52 runHook preInstall 57 - make PREFIX=$out GOFLAGS="$GOFLAGS -tags=notmuch" install 58 - wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath" 53 + 54 + make $makeFlags GOFLAGS="$GOFLAGS -tags=notmuch" install 55 + 59 56 runHook postInstall 60 57 ''; 61 58
+19 -19
pkgs/applications/networking/resilio-sync/default.nix
··· 1 1 { lib, stdenv, fetchurl, ... }: 2 2 3 - let 4 - arch = { 5 - x86_64-linux = "x64"; 6 - i686-linux = "i386"; 7 - aarch64-linux = "arm64"; 8 - }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 9 - libPath = lib.makeLibraryPath [ stdenv.cc.libc ]; 10 - 11 - in stdenv.mkDerivation rec { 3 + stdenv.mkDerivation rec { 12 4 pname = "resilio-sync"; 13 - version = "2.7.2"; 5 + version = "2.7.3"; 14 6 15 - src = fetchurl { 16 - url = "https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz"; 17 - sha256 = { 18 - x86_64-linux = "0gar5lzv1v4yqmypwqsjnfb64vffzn8mw9vnjr733fgf1pmr57hf"; 19 - i686-linux = "1bws7r86h1vysjkhyvp2zk8yvxazmlczvhjlcayldskwq48iyv6w"; 20 - aarch64-linux = "0j8wk5cf8bcaaqxi8gnqf1mpv8nyfjyr4ibls7jnn2biqq767af2"; 21 - }.${stdenv.hostPlatform.system}; 22 - }; 7 + src = { 8 + x86_64-linux = fetchurl { 9 + url = "https://download-cdn.resilio.com/${version}/linux-x64/resilio-sync_x64.tar.gz"; 10 + sha256 = "sha256-DYQs9KofHkvtlsRQHRLwQHoHwSZkr40Ih0RVAw2xv3M="; 11 + }; 12 + 13 + i686-linux = fetchurl { 14 + url = "https://download-cdn.resilio.com/${version}/linux-i386/resilio-sync_i386.tar.gz"; 15 + sha256 = "sha256-PFKVBs0KthG4tuvooHkAciPhNQP0K8oi2LyoRUs5V7I="; 16 + }; 17 + 18 + aarch64-linux = fetchurl { 19 + url = "https://download-cdn.resilio.com/${version}/linux-arm64/resilio-sync_arm64.tar.gz"; 20 + sha256 = "sha256-o2DlYOBTkFhQMEDJySlVSNlVqLNbBzacyv2oTwxrXto="; 21 + }; 22 + }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 23 23 24 24 dontStrip = true; # Don't strip, otherwise patching the rpaths breaks 25 25 sourceRoot = "."; ··· 28 28 install -D rslsync "$out/bin/rslsync" 29 29 patchelf \ 30 30 --interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" \ 31 - --set-rpath ${libPath} "$out/bin/rslsync" 31 + --set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc ]} "$out/bin/rslsync" 32 32 ''; 33 33 34 34 meta = with lib; {
+4 -4
pkgs/applications/version-management/gitkraken/default.nix
··· 11 11 let 12 12 curlWithGnuTls = curl.override { gnutlsSupport = true; opensslSupport = false; }; 13 13 pname = "gitkraken"; 14 - version = "8.3.3"; 14 + version = "8.4.0"; 15 15 16 16 throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}"; 17 17 18 18 srcs = { 19 19 x86_64-linux = fetchzip { 20 20 url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz"; 21 - sha256 = "185msrpa33w40prc88n5m0g12wh8r6szj56iikk4ps6kwr6wamy7"; 21 + sha256 = "sha256-yVQILgEn67iiUUQqpQqt++cZMN5u9FT0MbNf7pFES9Y="; 22 22 }; 23 23 24 24 x86_64-darwin = fetchzip { 25 25 url = "https://release.axocdn.com/darwin/GitKraken-v${version}.zip"; 26 - sha256 = "0iam5ni8imajxhcv12zib6m475i6czllmqy512r1wmzw9zbilf43"; 26 + sha256 = "sha256-cTHMl5peXj52Fy2XBfKaUKLuZnPCC4XdReOiB0fbCNk="; 27 27 }; 28 28 29 29 aarch64-darwin = fetchzip { 30 30 url = "https://release.axocdn.com/darwin-arm64/GitKraken-v${version}.zip"; 31 - sha256 = "12af421r4d8s4l5j54xyd3x8pa72nbilass95v0y3b0wgsi35g0z"; 31 + sha256 = "sha256-M3Y5qP0nozk5iTnEGK2+ds8/Vb/l0nhIo4LSrCWLDu8="; 32 32 }; 33 33 }; 34 34
+2 -2
pkgs/development/compilers/llvm/14/default.nix
··· 18 18 }: 19 19 20 20 let 21 - release_version = "14.0.0"; 21 + release_version = "14.0.1"; 22 22 candidate = ""; # empty or "rcN" 23 23 dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 24 24 rev = ""; # When using a Git commit ··· 30 30 owner = "llvm"; 31 31 repo = "llvm-project"; 32 32 rev = if rev != "" then rev else "llvmorg-${version}"; 33 - sha256 = "1ixqzjzq4ad3mv1w44gwcg1shy34c2b3i9ja71vx1wa7l2ms2376"; 33 + sha256 = "14wgrjwj02ivlwb1zgidacspkkcfpsqjmgd7r838qmwpk56yxl9f"; 34 34 }; 35 35 36 36 llvm_meta = {
+2 -2
pkgs/development/libraries/ghc_filesystem/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "filesystem"; 5 - version = "1.5.6"; 5 + version = "1.5.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gulrak"; 9 9 repo = "filesystem"; 10 10 rev = "v${version}"; 11 - hash = "sha256-qnBZ9aCrCPOgxymjbzrRs0gssijo8MJOMiy7QWWMb5c="; 11 + hash = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+3 -3
pkgs/development/python-modules/awsiotpythonsdk/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "AWSIoTPythonSDK"; 9 - version = "1.5.1"; 9 + version = "1.5.2"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; ··· 14 14 src = fetchFromGitHub { 15 15 owner = "aws"; 16 16 repo = "aws-iot-device-sdk-python"; 17 - rev = "v${version}"; 18 - sha256 = "sha256-UpfgoCVbweOpWbgaqNebAAkWmhjkZu3txVoTZ/qhl3g="; 17 + rev = "refs/tags/v${version}"; 18 + sha256 = "sha256-GHMnDRxXkaKDTaawwPtMqa7EZJ8Y35+ScgtfEP9PJGs="; 19 19 }; 20 20 21 21 # Module has no tests
+2 -2
pkgs/development/python-modules/dask-mpi/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "2021.11.0"; 10 + version = "2022.4.0"; 11 11 pname = "dask-mpi"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "602d2e2d7816a4abc1eb17998e1acc93a43b6f82bf94a6accca169a42de21898"; 15 + sha256 = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc="; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ dask distributed mpi4py ];
+2 -2
pkgs/development/python-modules/geocachingapi/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "geocachingapi"; 13 - version = "0.1.1"; 13 + version = "0.2.1"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "Sholofly"; 20 20 repo = "geocachingapi-python"; 21 21 rev = "refs/tags/${version}"; 22 - sha256 = "sha256-Aj1fZ0dGlV7ynoZ7QwGrbku+IpOCx85wE19JDJaaYmc="; 22 + sha256 = "sha256-36CkbwRDpMTprsZuPJ9khSrzqLb2Sz7iCvXtJ46uTL0="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "hahomematic"; 17 - version = "1.1.1"; 17 + version = "1.1.2"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.9"; ··· 23 23 owner = "danielperna84"; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - sha256 = "sha256-Wxdh9NzrZVPnDbkb6M8tTqA7RQ4enULLq3GFr0qfynY="; 26 + sha256 = "sha256-yglKgRsjYGzW8PiMWu2YOQRoxei7VFPNrS8VYwDIAA0="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jenkins-job-builder/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "jenkins-job-builder"; 12 - version = "3.12.0"; 12 + version = "4.0.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-gpsot4LW1IBfYt8eb72WJqMzWEAMt4gqWOD1KhTQjds="; 16 + sha256 = "sha256-6bsiq3LwlBZdF378HXEIgZSKf7NsTjo3bbSmt7XkYgM="; 17 17 }; 18 18 19 19 postPatch = ''
+47
pkgs/development/python-modules/pysigma-backend-insightidr/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , pysigma 6 + , pytestCheckHook 7 + , pythonOlder 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pysigma-backend-insightidr"; 12 + version = "0.1.4"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "SigmaHQ"; 19 + repo = "pySigma-backend-insightidr"; 20 + rev = "v${version}"; 21 + hash = "sha256-ivigYBCoQtAfVmTiKvYugzPbw3tG0Xn5IYbHVJuubDE="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + poetry-core 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + pysigma 30 + ]; 31 + 32 + checkInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "sigma.backends.insight_idr" 38 + "sigma.pipelines.insight_idr" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Library to support the Rapid7 InsightIDR backend for pySigma"; 43 + homepage = "https://github.com/SigmaHQ/pySigma-backend-insightidr"; 44 + license = with licenses; [ lgpl21Only ]; 45 + maintainers = with maintainers; [ fab ]; 46 + }; 47 + }
+2 -2
pkgs/development/python-modules/pysigma-backend-splunk/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pysigma-backend-splunk"; 13 - version = "0.2.2"; 13 + version = "0.3.2"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.8"; ··· 19 19 owner = "SigmaHQ"; 20 20 repo = "pySigma-backend-splunk"; 21 21 rev = "v${version}"; 22 - hash = "sha256-NAhAWK1eSSGQAlMGgMHrW/RTpT9LJMqwkhE9/8xWGT8="; 22 + hash = "sha256-wcAqXFou20V2ZPOXCsF1Nky008q2xkfuI0RbTsatC6k="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma-pipeline-crowdstrike/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pysigma-pipeline-crowdstrike"; 12 - version = "0.1.4"; 12 + version = "0.1.5"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "SigmaHQ"; 19 19 repo = "pySigma-pipeline-crowdstrike"; 20 20 rev = "v${version}"; 21 - hash = "sha256-Riu2u1IouS1BMtXauXrNMIl06TU11pHdC0jjlOiR71s="; 21 + hash = "sha256-TmvEWrkNu8gJ8rPFoRWd+uYob2rmmdasqxH1CYmz4Rk="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma-pipeline-sysmon/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pysigma-pipeline-sysmon"; 12 - version = "0.1.3"; 12 + version = "0.1.5"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "SigmaHQ"; 19 19 repo = "pySigma-pipeline-sysmon"; 20 20 rev = "v${version}"; 21 - hash = "sha256-uJgV7emBqQN792EvfOz85BKoZY8DCCr8aUN7Ai8R9js="; 21 + hash = "sha256-Bh0Qh+pY22lm/0vtJC4tFIl1KRF3zFQ8vcH0JEfYGAc="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+46
pkgs/development/python-modules/pysigma-pipeline-windows/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , pysigma 6 + , pytestCheckHook 7 + , pythonOlder 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pysigma-pipeline-windows"; 12 + version = "0.1.0"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "SigmaHQ"; 19 + repo = "pySigma-pipeline-windows"; 20 + rev = "v${version}"; 21 + hash = "sha256-BO6hiPLwEJX0sICqMZfcO4tqljdS+93Z1kG8IWsV9og="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + poetry-core 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + pysigma 30 + ]; 31 + 32 + checkInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "sigma.pipelines.windows" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Library to support Windows service pipeline for pySigma"; 42 + homepage = "https://github.com/SigmaHQ/pySigma-pipeline-windows"; 43 + license = with licenses; [ lgpl21Only ]; 44 + maintainers = with maintainers; [ fab ]; 45 + }; 46 + }
+2 -2
pkgs/development/python-modules/pysigma/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pysigma"; 14 - version = "0.4.5"; 14 + version = "0.5.0"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "SigmaHQ"; 21 21 repo = "pySigma"; 22 22 rev = "v${version}"; 23 - hash = "sha256-jZPimSkJ6qTs0kEMVhP9Gnxu0jxA0cmgdn5++CevgIM="; 23 + hash = "sha256-HGF8Tu28ksIfaCKAbnJv6sDmoQrDDjteVLxbJN1HH3U="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+13 -17
pkgs/development/python-modules/wandb/default.nix
··· 2 2 , bokeh 3 3 , buildPythonPackage 4 4 , click 5 - , configparser 6 5 , docker_pycreds 7 6 , fetchFromGitHub 8 7 , flask ··· 22 21 , pytest-mock 23 22 , pytest-xdist 24 23 , pytestCheckHook 25 - , python 26 24 , python-dateutil 27 25 , pyyaml 28 26 , requests ··· 33 31 , shortuuid 34 32 , stdenv 35 33 , tqdm 36 - , yaspin 37 34 }: 38 35 39 36 buildPythonPackage rec { 40 37 pname = "wandb"; 41 - version = "0.12.11"; 38 + version = "0.12.14"; 42 39 43 40 src = fetchFromGitHub { 44 41 owner = pname; 45 42 repo = "client"; 46 43 rev = "v${version}"; 47 - sha256 = "0av4vv4llan40678bw0vlah0gn6hjg5pdqwq0c5cv15lqrdb8g32"; 44 + hash = "sha256-60E64ePW+C0C/eG7pLp4SpAFqycOHiCvOvmNOg2yoqY="; 48 45 }; 49 46 50 - # The wandb requirements.txt does not distinguish python2/3 dependencies. We 51 - # need to drop the subprocess32 dependency when building for python3. 52 - patchPhase = '' 53 - substituteInPlace requirements.txt --replace "subprocess32>=3.5.3" "" 54 - ''; 55 - 56 - # git is not a setup.py dependency of wandb, but wandb does expect git to be 57 - # in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf 58 - # for the error message, and an example usage here: https://github.com/wandb/client/blob/master/wandb/sdk/internal/meta.py#L139-L141. 59 47 # setuptools is necessary since pkg_resources is required at runtime. 60 48 propagatedBuildInputs = [ 61 49 click 62 - configparser 63 50 docker_pycreds 64 - git 65 51 GitPython 66 52 pathtools 67 53 promise ··· 74 60 setproctitle 75 61 setuptools 76 62 shortuuid 77 - yaspin 78 63 ]; 64 + 65 + # wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf 66 + # for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128. 67 + # See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to 68 + # why we don't put it in propagatedBuildInputs. Note that this is difficult to 69 + # test offline due to https://github.com/wandb/client/issues/3519. 70 + postInstall = '' 71 + mkdir -p $out/bin 72 + ln -s ${git}/bin/git $out/bin/git 73 + ''; 79 74 80 75 disabledTestPaths = [ 81 76 # Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment. ··· 106 101 "tests/wandb_settings_test.py" 107 102 "tests/wandb_sweep_test.py" 108 103 "tests/wandb_verify_test.py" 104 + "tests/test_model_workflows.py" 109 105 110 106 # Fails and borks the pytest runner as well. 111 107 "tests/wandb_test.py"
+3 -4
pkgs/games/frogatto/data.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "frogatto-data"; 5 - version = "unstable-2021-05-24"; 5 + version = "unstable-2022-04-13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "frogatto"; 9 9 repo = "frogatto"; 10 - # master branch as of 2021-11-29 11 - rev = "82d3dafa0cfeaad016a427bdbc729eb9509748f1"; 12 - sha256 = "0fmwn584xl0vafcsh72b4xnryfqyjxk5zhmymg5i8rzp6h03n8xq"; 10 + rev = "655493961c4ad57ba9cccdc24d23a2ded294b5f2"; 11 + sha256 = "0irn7p61cs8nm7dxsx84b2c3wryf2h12k2kclywdhy6xmh53w8k1"; 13 12 }; 14 13 15 14 installPhase = ''
+11 -4
pkgs/games/frogatto/engine.nix
··· 1 - { lib, stdenv, fetchFromGitHub, which 1 + { lib, stdenv, fetchFromGitHub, fetchurl, which 2 2 , boost, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf 3 3 , glew, zlib, icu, pkg-config, cairo, libvpx }: 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "anura-engine"; 7 - version = "unstable-2021-11-23"; 7 + version = "unstable-2022-04-09"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "anura-engine"; 11 11 repo = "anura"; 12 - rev = "816425df31624066e2815e26a25b1c5d3d355cb4"; 13 - sha256 = "1k7fnfgz003gcbyygv4aakhkkz3w3z9nyz7dlwz01xa6122zqyir"; 12 + rev = "5ac7f6fe63114274f0da7dad4c1ed673651e6424"; 13 + sha256 = "1yrcbvzgxdvn893qk1qcpb53pjns366fdls5qjal7lhq71kkfc67"; 14 14 fetchSubmodules = true; 15 15 }; 16 + patches = [ 17 + # https://github.com/anura-engine/anura/issues/321 18 + (fetchurl { 19 + url = "https://github.com/anura-engine/anura/commit/627d08fb5254b5c66d315f1706089905c2704059.patch"; 20 + sha256 = "052m58qb3lg0hnxacpnjz2sz89dk0x6b5qi2q9bkzkvg38f237rr"; 21 + }) 22 + ]; 16 23 17 24 nativeBuildInputs = [ 18 25 which pkg-config
+3 -1
pkgs/games/mindustry/default.nix
··· 13 13 , stb 14 14 , ant 15 15 , alsa-lib 16 + , alsa-plugins 16 17 , glew 17 18 18 19 # Make the build version easily overridable. ··· 180 181 install -Dm644 desktop/build/libs/Mindustry.jar $out/share/mindustry.jar 181 182 mkdir -p $out/bin 182 183 makeWrapper ${jdk}/bin/java $out/bin/mindustry \ 183 - --add-flags "-jar $out/share/mindustry.jar" 184 + --add-flags "-jar $out/share/mindustry.jar" \ 185 + --set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib/ 184 186 install -Dm644 core/assets/icons/icon_64.png $out/share/icons/hicolor/64x64/apps/mindustry.png 185 187 '' + optionalString enableServer '' 186 188 install -Dm644 server/build/libs/server-release.jar $out/share/mindustry-server.jar
+2 -2
pkgs/os-specific/linux/kernel/linux-4.9.nix
··· 1 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.9.309"; 4 + version = "4.9.310"; 5 5 extraMeta.branch = "4.9"; 6 6 extraMeta.broken = stdenv.isAarch64; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 - sha256 = "05468rk4hlz9ag1zb7shngn5rl42npw7haqbi5mpaa0yksl5asp8"; 10 + sha256 = "17d3isb1i52v8360vspnywjpsy9vvkc54k5kwdddj0plawvxklw5"; 11 11 }; 12 12 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.10.110"; 6 + version = "5.10.111"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "14sn906f1bd87ngq1g2hx458v42d4nlzr36ba4alhcsl6836mvyv"; 16 + sha256 = "06mbl327bin8pv1073f7x37np3whklbvnh8lwn8wx4jmfvcb6c8q"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.15.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.15.33"; 6 + version = "5.15.34"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 15 15 16 16 src = fetchurl { 17 17 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 18 - sha256 = "1i590npi00w5d1znmamkm3sb293k5k4xd37miwnvz7hg17k1f2n3"; 18 + sha256 = "0sfviwwp7qy8b5h15lg84dyskih4l082l9gs6yrqj3rg762lcld7"; 19 19 }; 20 20 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.16.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.16.19"; 6 + version = "5.16.20"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0zlvsnbmcx4l8a5cqciwaabm1267q5zn4ah3gfhxi0jvigx2qvfs"; 16 + sha256 = "09dz8zp8cxvsc5amrswqqrkxd3i92ay2samlcspalaw6iz40s1nq"; 17 17 }; 18 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.17.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.17.2"; 6 + version = "5.17.3"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "168b7zzw72k6hxbw0q402vvfir79qki9bjvxxvfi7s6g6y20z8id"; 16 + sha256 = "0b0nb807r2pwrifc7yk0p9q6cm472ahggfaix6yiqzmqcvisil1j"; 17 17 }; 18 18 } // (args.argsOverride or { }))
+3 -3
pkgs/os-specific/linux/kernel/linux-rt-5.4.nix
··· 6 6 , ... } @ args: 7 7 8 8 let 9 - version = "5.4.182-rt72"; # updated by ./update-rt.sh 9 + version = "5.4.188-rt73"; # updated by ./update-rt.sh 10 10 branch = lib.versions.majorMinor version; 11 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 12 in buildLinux (args // { ··· 14 14 15 15 src = fetchurl { 16 16 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 17 - sha256 = "03gly4ivsdahixmshi021al48ycsalx30vsxr3iyj47hchgj1wdj"; 17 + sha256 = "1g7xf2jx1hx580f42yirfgv9v0f9f88wzxxx0wiwx7wcqbyqpg4z"; 18 18 }; 19 19 20 20 kernelPatches = let rt-patch = { 21 21 name = "rt"; 22 22 patch = fetchurl { 23 23 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 24 - sha256 = "175ls411yr6c8gvmpfpyl00l0saaz9bdshjdf6ybxbpi9fmamypk"; 24 + sha256 = "17qx5xrchgss7zxg9lg91mqh0v3irx355003g7rj12h8y5r16l58"; 25 25 }; 26 26 }; in [ rt-patch ] ++ kernelPatches; 27 27
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2022.4.3"; 5 + version = "2022.4.4"; 6 6 components = { 7 7 "abode" = ps: with ps; [ 8 8 abodepy
+2 -2
pkgs/servers/home-assistant/default.nix
··· 168 168 extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); 169 169 170 170 # Don't forget to run parse-requirements.py after updating 171 - hassVersion = "2022.4.3"; 171 + hassVersion = "2022.4.4"; 172 172 173 173 in python.pkgs.buildPythonApplication rec { 174 174 pname = "homeassistant"; ··· 186 186 owner = "home-assistant"; 187 187 repo = "core"; 188 188 rev = version; 189 - hash = "sha256-kubW0JhG9ervVHVl65YmD5jd/0oWenacAyfSP0EPmsU="; 189 + hash = "sha256-NcFQjLNBGT0tNrlgkVLB3uFr9Yh4rc4HnLzALYvcrYA="; 190 190 }; 191 191 192 192 # leave this in, so users don't have to constantly update their downstream patch handling
+1
pkgs/servers/home-assistant/parse-requirements.py
··· 37 37 # If some requirements are matched by multiple or no Python packages, the 38 38 # following can be used to choose the correct one 39 39 PKG_PREFERENCES = { 40 + "ha-av": "av", 40 41 "youtube_dl": "youtube-dl-light", 41 42 "tensorflow": "tensorflow", 42 43 "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
+2 -2
pkgs/servers/http/pomerium/default.nix
··· 12 12 in 13 13 buildGoModule rec { 14 14 pname = "pomerium"; 15 - version = "0.17.0"; 15 + version = "0.17.1"; 16 16 src = fetchFromGitHub { 17 17 owner = "pomerium"; 18 18 repo = "pomerium"; 19 19 rev = "v${version}"; 20 - hash = "sha256:1hv76i6k9f0kp527nxlxqhklsvkh2cmfnqlszmlk2hxij31qnf8q"; 20 + hash = "sha256:0b9mdzyfn7c6gwgslqk787yyrrcmdjf3282vx2zvhcr3psz0xqwx"; 21 21 }; 22 22 23 23 vendorSha256 = "sha256:1cq4m5a7z64yg3v1c68d15ilw78il6p53vaqzxgn338zjggr3kig";
+1 -1
pkgs/tools/networking/iperf/3.nix
··· 9 9 sha256 = "0pvy1cj92phpbldw0bdc0ds70n8irqcyn1ybyis0a6nnz84v936y"; 10 10 }; 11 11 12 - buildInputs = [ openssl lksctp-tools ]; 12 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ lksctp-tools ]; 13 13 configureFlags = [ 14 14 "--with-openssl=${openssl.dev}" 15 15 ];
+4 -2
pkgs/tools/security/sigma-cli/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "sigma-cli"; 8 - version = "0.3.4"; 8 + version = "0.4.2"; 9 9 format = "pyproject"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "SigmaHQ"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-FWcPHtEYqS+81dU4lB+4BLFOXtFumcyhucwvmu2TAt8="; 15 + hash = "sha256-UA28A/C7RyIs96a/U98WpkgeCotT4qmpZwvO3HYUE9Q="; 16 16 }; 17 17 18 18 nativeBuildInputs = with python3.pkgs; [ ··· 24 24 prettytable 25 25 pysigma 26 26 pysigma-backend-splunk 27 + pysigma-backend-insightidr 27 28 pysigma-pipeline-crowdstrike 28 29 pysigma-pipeline-sysmon 30 + pysigma-pipeline-windows 29 31 ]; 30 32 31 33 checkInputs = with python3.pkgs; [
+1
pkgs/tools/wayland/wayland-utils/default.nix
··· 12 12 sha256 = "1h38l850ww6hxjb1l8iwa33nkbz8q88bw6lh0aryjyp8b16crzk4"; 13 13 }; 14 14 15 + depsBuildBuild = [ pkg-config ]; 15 16 nativeBuildInputs = [ meson pkg-config ninja wayland-scanner ]; 16 17 buildInputs = [ wayland wayland-protocols ]; 17 18
+4
pkgs/top-level/python-packages.nix
··· 7724 7724 7725 7725 pysigma-backend-splunk = callPackage ../development/python-modules/pysigma-backend-splunk { }; 7726 7726 7727 + pysigma-backend-insightidr = callPackage ../development/python-modules/pysigma-backend-insightidr { }; 7728 + 7727 7729 pysigma-pipeline-crowdstrike = callPackage ../development/python-modules/pysigma-pipeline-crowdstrike { }; 7728 7730 7729 7731 pysigma-pipeline-sysmon = callPackage ../development/python-modules/pysigma-pipeline-sysmon { }; 7732 + 7733 + pysigma-pipeline-windows = callPackage ../development/python-modules/pysigma-pipeline-windows { }; 7730 7734 7731 7735 pysignalclirestapi = callPackage ../development/python-modules/pysignalclirestapi { }; 7732 7736