lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
e5968ce7 613d6026

+115 -31
+1 -1
CONTRIBUTING.md
··· 565 565 566 566 - Do not use tab characters, i.e. configure your editor to use soft tabs. For instance, use `(setq-default indent-tabs-mode nil)` in Emacs. Everybody has different tab settings so it’s asking for trouble. 567 567 568 - - Use `lowerCamelCase` for variable names, not `UpperCamelCase`. Note, this rule does not apply to package attribute names, which instead follow the rules in [](#sec-package-naming). 568 + - Use `lowerCamelCase` for variable names, not `UpperCamelCase`. Note, this rule does not apply to package attribute names, which instead follow the rules in [package naming](./pkgs/README.md#package-naming). 569 569 570 570 - Function calls with attribute set arguments are written as 571 571
+5
maintainers/maintainer-list.nix
··· 19363 19363 github = "ymeister"; 19364 19364 githubId = 47071325; 19365 19365 }; 19366 + ymstnt = { 19367 + name = "YMSTNT"; 19368 + github = "ymstnt"; 19369 + githubId = 21342713; 19370 + }; 19366 19371 yoavlavi = { 19367 19372 email = "yoav@yoavlavi.com"; 19368 19373 github = "yoav-lavi";
+3 -3
nixos/modules/services/security/fail2ban.nix
··· 103 103 }; 104 104 105 105 bantime = mkOption { 106 - default = null; 107 - type = types.nullOr types.str; 108 - example = "10m"; 106 + default = "10m"; 107 + type = types.str; 108 + example = "1h"; 109 109 description = lib.mdDoc "Number of seconds that a host is banned."; 110 110 }; 111 111
+44 -8
pkgs/applications/science/biology/bowtie2/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, tbb, zlib, python3, perl }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , perl 6 + , python3 7 + , tbb 8 + , zlib 9 + , runCommand 10 + , bowtie2 11 + }: 2 12 3 - stdenv.mkDerivation rec { 13 + stdenv.mkDerivation (finalAttrs: { 4 14 pname = "bowtie2"; 5 15 version = "2.5.2"; 6 16 7 17 src = fetchFromGitHub { 8 18 owner = "BenLangmead"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "sha256-Bem4SHY/74suZPDbw/rwKMLBn3bRq5ooHbBoVnKuYk0="; 19 + repo = "bowtie2"; 20 + rev = "refs/tags/v${finalAttrs.version}"; 21 + fetchSubmodules = true; 22 + hash = "sha256-rWeopeYuCk9ZhJX2SFCcxZWcjXjjTiVRiwkzLQcIgd0="; 12 23 }; 13 24 25 + # because of this flag, gcc on aarch64 cannot find the Threads 26 + # Could NOT find Threads (missing: Threads_FOUND) 27 + # TODO: check with other distros and report upstream 28 + postPatch = '' 29 + substituteInPlace CMakeLists.txt \ 30 + --replace "-m64" "" 31 + ''; 32 + 14 33 nativeBuildInputs = [ cmake ]; 15 34 16 35 buildInputs = [ tbb zlib python3 perl ]; 17 36 37 + cmakeFlags = lib.optional (!stdenv.hostPlatform.isx86) ["-DCMAKE_CXX_FLAGS=-I${finalAttrs.src}/third_party"]; 38 + 39 + # ctest fails because of missing dependencies between tests 40 + doCheck = false; 41 + 42 + passthru.tests = { 43 + ctest = runCommand "${finalAttrs.pname}-test" { } '' 44 + mkdir $out 45 + ${lib.getExe bowtie2} -x ${finalAttrs.src}/example/index/lambda_virus ${finalAttrs.src}/example/reads/longreads.fq -u 10 46 + ${bowtie2}/bin/bowtie2-build-s -c GGGCGGCGACCTCGCGGGTTTTCGCTA $out/small 47 + ${bowtie2}/bin/bowtie2-inspect-s $out/small 48 + ${bowtie2}/bin/bowtie2-build-l -c GGGCGGCGACCTCGCGGGTTTTCGCTA $out/large 49 + ${bowtie2}/bin/bowtie2-inspect-l $out/large 50 + ''; 51 + }; 52 + 18 53 meta = with lib; { 19 54 description = "An ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences"; 20 - license = licenses.gpl3; 55 + license = licenses.gpl3Plus; 21 56 homepage = "http://bowtie-bio.sf.net/bowtie2"; 57 + changelog = "https://github.com/BenLangmead/bowtie2/releases/tag/${finalAttrs.src.rev}"; 22 58 maintainers = with maintainers; [ rybern ]; 23 59 platforms = platforms.all; 24 - broken = stdenv.isAarch64; # only x86 is supported 60 + mainProgram = "bowtie2"; 25 61 }; 26 - } 62 + })
+41
pkgs/by-name/hi/hifile/package.nix
··· 1 + { lib, appimageTools, fetchurl }: 2 + 3 + let 4 + version = "0.9.9.5"; 5 + pname = "hifile"; 6 + 7 + src = fetchurl { 8 + url = "https://www.hifile.app/files/HiFile-${version}.AppImage"; 9 + hash = "sha256-Ks/NLPm5loo9q8pT0LdtfcrC38203beNE74sbEpyuJM="; 10 + }; 11 + 12 + appimageContents = appimageTools.extractType2 { 13 + inherit pname version src; 14 + }; 15 + 16 + in 17 + appimageTools.wrapType2 rec { 18 + inherit pname version src; 19 + 20 + extraInstallCommands = '' 21 + mv $out/bin/${pname}-${version} $out/bin/${pname} 22 + 23 + install -m 444 -D ${appimageContents}/HiFile.desktop $out/share/applications/HiFile.desktop 24 + install -m 444 -D ${appimageContents}/HiFile.png $out/share/icons/hicolor/512x512/apps/HiFile.png 25 + substituteInPlace $out/share/applications/HiFile.desktop \ 26 + --replace 'Exec=HiFile' 'Exec=${pname}' 27 + ''; 28 + 29 + meta = with lib; { 30 + description = "Dual-pane graphical file manager for Windows, macOS and Linux"; 31 + longDescription = '' 32 + HiFile is the next evolution of file managers. Its mission is to increase your productivity whenever you work with files or folders. It aims to be better in every way - more convenient, more versatile, more efficient, more elegant, more customizable, and more fun. 33 + ''; 34 + homepage = "https://www.hifile.app/"; 35 + downloadPage = "https://www.hifile.app/download"; 36 + license = licenses.unfree; 37 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 38 + maintainers = with maintainers; [ ymstnt ]; 39 + platforms = [ "x86_64-linux" ]; 40 + }; 41 + }
+2 -2
pkgs/by-name/tr/trealla/package.nix
··· 17 17 assert lib.elem lineEditingLibrary [ "isocline" "readline" ]; 18 18 stdenv.mkDerivation (finalAttrs: { 19 19 pname = "trealla"; 20 - version = "2.28.12"; 20 + version = "2.29.36"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "trealla-prolog"; 24 24 repo = "trealla"; 25 25 rev = "v${finalAttrs.version}"; 26 - hash = "sha256-uWCpCjYFtK2pNeHHZWhWI6YZ+cllQpkKz//nHracl5s="; 26 + hash = "sha256-tQp2DOBW71Wm1aQqspW9tuH8aM8ir+ilZiENdElB/+0="; 27 27 }; 28 28 29 29 postPatch = ''
+2 -2
pkgs/development/compilers/flix/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "flix"; 5 - version = "0.40.0"; 5 + version = "0.41.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/flix/flix/releases/download/v${version}/flix.jar"; 9 - sha256 = "sha256-NVQY2TgIR9ROy4x8PWxCjuaOkNx0bcUA4oZHjpQbHc4="; 9 + sha256 = "sha256-bDeqwk+grkCxmGE9H8Ks7Q8KvLxNCzaLe44DlR6E7YE="; 10 10 }; 11 11 12 12 dontUnpack = true;
+2 -2
pkgs/development/python-modules/wallbox/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "wallbox"; 12 - version = "0.4.14"; 12 + version = "0.5.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.7"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-HKlq5DPG3HD9i9LLTJdlzEFim+2hBdSfKl43BojhEf8="; 19 + hash = "sha256-EDEB7/CkrfYSNcSh55Itrj6rThsNKeuj8lHLAY+Qml4="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+4 -4
pkgs/development/tools/misc/texlab/default.nix
··· 15 15 in 16 16 rustPlatform.buildRustPackage rec { 17 17 pname = "texlab"; 18 - version = "5.10.0"; 18 + version = "5.10.1"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "latex-lsp"; 22 22 repo = "texlab"; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-MTWaGgDIDo3CaRHyHWqliKsPdbU/TZPsyfF7SoHTnhk="; 24 + hash = "sha256-ACdiFkV138jDIrRe+baYo+r9vCO4cyRyO2ck7OKakFY="; 25 25 }; 26 26 27 - cargoHash = "sha256-8Vrp4d5luf91pKpUC4wWn4otsanqopCHwCjcnfTzyLk="; 27 + cargoHash = "sha256-bEeQOOucXd4HNTR6SmidAfDkZ1tT7ORmUxrNx+3FNRw="; 28 28 29 29 outputs = [ "out" ] ++ lib.optional (!isCross) "man"; 30 30 ··· 41 41 # generate the man page 42 42 postInstall = lib.optionalString (!isCross) '' 43 43 # TexLab builds man page separately in CI: 44 - # https://github.com/latex-lsp/texlab/blob/v5.9.2/.github/workflows/publish.yml#L117-L121 44 + # https://github.com/latex-lsp/texlab/blob/v5.10.1/.github/workflows/publish.yml#L117-L121 45 45 help2man --no-info "$out/bin/texlab" > texlab.1 46 46 installManPage texlab.1 47 47 '';
+1 -1
pkgs/stdenv/linux/default.nix
··· 68 68 mipsel-linux = import ./bootstrap-files/mipsel-unknown-linux-gnu.nix; 69 69 mips64el-linux = import 70 70 (if localSystem.isMips64n32 71 - then ./bootstrap-files/mips64el-unknown-linux-gnuabin32.nix.nix 71 + then ./bootstrap-files/mips64el-unknown-linux-gnuabin32.nix 72 72 else ./bootstrap-files/mips64el-unknown-linux-gnuabi64.nix); 73 73 powerpc64le-linux = import ./bootstrap-files/powerpc64le-unknown-linux-gnu.nix; 74 74 riscv64-linux = import ./bootstrap-files/riscv64-unknown-linux-gnu.nix;
+3 -3
pkgs/tools/admin/syft/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "syft"; 5 - version = "0.92.0"; 5 + version = "0.93.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "anchore"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-YmzizpcAfE4+Rfq5ydQnDQBo4R+pAyudfi+fqD9EZP0="; 11 + hash = "sha256-e8d+CK7rRbyHeRHOjK3tGFIBHuosdV4AMetUQar54E4="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true; ··· 22 22 }; 23 23 # hash mismatch with darwin 24 24 proxyVendor = true; 25 - vendorHash = "sha256-siOZWhHqNokkYAPwuXQCs4T1yBiEWUTJzhfbH/Z2uBk="; 25 + vendorHash = "sha256-BUCe2v80tHAqMBwa6xae3ZOTOok8msM6hFh6d9D4xZA="; 26 26 27 27 nativeBuildInputs = [ installShellFiles ]; 28 28
+7 -5
pkgs/tools/misc/ckb-next/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, substituteAll, udev, stdenv 1 + { lib, wrapQtAppsHook, fetchFromGitHub, substituteAll, udev, stdenv 2 2 , pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu 3 - , withPulseaudio ? stdenv.isLinux, libpulseaudio 3 + , withPulseaudio ? stdenv.isLinux, libpulseaudio, quazip 4 4 }: 5 5 6 - mkDerivation rec { 7 - version = "0.5.0"; 6 + stdenv.mkDerivation rec { 7 + version = "0.6.0"; 8 8 pname = "ckb-next"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "ckb-next"; 12 12 repo = "ckb-next"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-yR1myagAqavAR/7lPdufcrJpPmXW7r4N4pxTMF6NbuE="; 14 + hash = "sha256-G0cvET3wMIi4FlBmaTkdTyYtcdVGzK4X0C2HYZr43eg="; 15 15 }; 16 16 17 17 buildInputs = [ ··· 22 22 qttools 23 23 qtx11extras 24 24 libdbusmenu 25 + quazip 25 26 ] ++ lib.optional withPulseaudio libpulseaudio; 26 27 27 28 nativeBuildInputs = [ 29 + wrapQtAppsHook 28 30 pkg-config 29 31 cmake 30 32 ];