Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 2ca7eb5d 0031ae77

+381 -190
-3
nixos/modules/services/hardware/joycond.nix
··· 2 2 3 3 let 4 4 cfg = config.services.joycond; 5 - kernelPackages = config.boot.kernelPackages; 6 5 in 7 6 8 7 with lib; ··· 23 22 24 23 config = mkIf cfg.enable { 25 24 environment.systemPackages = [ cfg.package ]; 26 - 27 - boot.extraModulePackages = optional (versionOlder kernelPackages.kernel.version "5.16") kernelPackages.hid-nintendo; 28 25 29 26 services.udev.packages = [ cfg.package ]; 30 27
+2 -2
pkgs/applications/misc/mediaelch/default.nix
··· 24 24 in 25 25 stdenv.mkDerivation rec { 26 26 pname = "mediaelch"; 27 - version = "2.10.2"; 27 + version = "2.10.4"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "Komet"; 31 31 repo = "MediaElch"; 32 32 rev = "v${version}"; 33 - sha256 = "sha256-y8NXBPShmhp0QiuSbVA2JvZrv70Z76Kmdw+RuBnMtPY="; 33 + hash = "sha256-gNpnmyUKDXf40+1JmJzNyEPIv/DO8b3CdJAphheEvTU="; 34 34 fetchSubmodules = true; 35 35 }; 36 36
+7 -58
pkgs/development/compilers/zig/0.10.nix
··· 2 2 , stdenv 3 3 , fetchFromGitHub 4 4 , cmake 5 - , coreutils 6 5 , llvmPackages 7 6 , libxml2 8 7 , zlib 9 - }: 8 + , coreutils 9 + }@args: 10 10 11 - stdenv.mkDerivation (finalAttrs: { 12 - pname = "zig"; 11 + import ./generic.nix args { 13 12 version = "0.10.1"; 14 13 15 - src = fetchFromGitHub { 16 - owner = "ziglang"; 17 - repo = "zig"; 18 - rev = finalAttrs.version; 19 - hash = "sha256-69QIkkKzApOGfrBdgtmxFMDytRkSh+0YiaJQPbXsBeo="; 20 - }; 14 + hash = "sha256-69QIkkKzApOGfrBdgtmxFMDytRkSh+0YiaJQPbXsBeo="; 21 15 22 16 outputs = [ "out" "doc" ]; 23 17 24 - nativeBuildInputs = [ 25 - cmake 26 - llvmPackages.llvm.dev 27 - ]; 28 - 29 - buildInputs = [ 30 - coreutils 31 - libxml2 32 - zlib 33 - ] ++ (with llvmPackages; [ 34 - libclang 35 - lld 36 - llvm 37 - ]); 38 - 39 18 patches = [ 40 19 # Backport alignment related panics from zig-master to 0.10. 41 20 # Upstream issue: https://github.com/ziglang/zig/issues/14559 42 21 ./zig_14559.patch 43 22 ]; 44 23 45 - # Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't 46 - # work in Nix's sandbox. Use env from our coreutils instead. 47 - postPatch = '' 48 - substituteInPlace lib/std/zig/system/NativeTargetInfo.zig \ 49 - --replace "/usr/bin/env" "${coreutils}/bin/env" 50 - ''; 51 - 52 24 cmakeFlags = [ 53 25 # file RPATH_CHANGE could not write new RPATH 54 26 "-DCMAKE_SKIP_BUILD_RPATH=ON" ··· 60 32 "-DZIG_TARGET_MCPU=baseline" 61 33 ]; 62 34 63 - env.ZIG_GLOBAL_CACHE_DIR = "$TMPDIR/zig-cache"; 64 - 65 35 postBuild = '' 66 - ./zig2 build-exe ../doc/docgen.zig 67 - ./docgen ./zig2 ../doc/langref.html.in ./langref.html 36 + ./zig2 run ../doc/docgen.zig -- ./zig2 ../doc/langref.html.in langref.html 68 37 ''; 69 38 70 39 postInstall = '' 71 - install -Dm644 -t $doc/share/doc/zig-${finalAttrs.version}/html ./langref.html 72 - ''; 73 - 74 - doInstallCheck = true; 75 - 76 - installCheckPhase = '' 77 - runHook preInstallCheck 78 - 79 - $out/bin/zig test --cache-dir "$TMPDIR/cache-dir" -I $src/test $src/test/behavior.zig 80 - 81 - runHook postInstallCheck 40 + install -Dm644 -t $doc/share/doc/zig-$version/html ./langref.html 82 41 ''; 83 - 84 - meta = { 85 - homepage = "https://ziglang.org/"; 86 - description = 87 - "General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software"; 88 - changelog = "https://ziglang.org/download/${finalAttrs.version}/release-notes.html"; 89 - license = lib.licenses.mit; 90 - maintainers = with lib.maintainers; [ aiotter andrewrk AndersonTorres ]; 91 - platforms = lib.platforms.unix; 92 - }; 93 - }) 42 + }
+36
pkgs/development/compilers/zig/0.11.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , llvmPackages 6 + , libxml2 7 + , zlib 8 + , coreutils 9 + }@args: 10 + 11 + import ./generic.nix args { 12 + version = "0.11.0"; 13 + 14 + hash = "sha256-iuU1fzkbJxI+0N1PiLQM013Pd1bzrgqkbIyTxo5gB2I="; 15 + 16 + outputs = [ "out" "doc" ]; 17 + 18 + cmakeFlags = [ 19 + # file RPATH_CHANGE could not write new RPATH 20 + "-DCMAKE_SKIP_BUILD_RPATH=ON" 21 + 22 + # always link against static build of LLVM 23 + "-DZIG_STATIC_LLVM=ON" 24 + 25 + # ensure determinism in the compiler build 26 + "-DZIG_TARGET_MCPU=baseline" 27 + ]; 28 + 29 + postBuild = '' 30 + stage3/bin/zig run ../tools/docgen.zig -- ../doc/langref.html.in langref.html --zig $PWD/stage3/bin/zig 31 + ''; 32 + 33 + postInstall = '' 34 + install -Dm444 -t $doc/share/doc/zig-$version/html langref.html 35 + ''; 36 + }
+20 -59
pkgs/development/compilers/zig/0.9.1.nix
··· 5 5 , llvmPackages 6 6 , libxml2 7 7 , zlib 8 - }: 8 + , coreutils 9 + }@args: 9 10 10 - stdenv.mkDerivation (finalAttrs: { 11 - pname = "zig"; 11 + import ./generic.nix args { 12 12 version = "0.9.1"; 13 13 14 - src = fetchFromGitHub { 15 - owner = "ziglang"; 16 - repo = "zig"; 17 - rev = finalAttrs.version; 18 - hash = "sha256-x2c4c9RSrNWGqEngio4ArW7dJjW0gg+8nqBwPcR721k="; 19 - }; 14 + hash = "sha256-x2c4c9RSrNWGqEngio4ArW7dJjW0gg+8nqBwPcR721k="; 20 15 21 16 patches = [ 22 17 # Fix index out of bounds reading RPATH (cherry-picked from 0.10-dev) ··· 26 21 ]; 27 22 28 23 # TODO: remove on next upgrade 29 - prePatch = let 30 - zig_0_10_0 = fetchFromGitHub { 31 - owner = "ziglang"; 32 - repo = "zig"; 33 - rev = "0.10.0"; 34 - hash = "sha256-DNs937N7PLQimuM2anya4npYXcj6cyH+dRS7AiOX7tw="; 35 - }; 36 - in '' 37 - cp -R ${zig_0_10_0}/lib/libc/include/any-macos.13-any lib/libc/include/any-macos.13-any 38 - cp -R ${zig_0_10_0}/lib/libc/include/aarch64-macos.13-none lib/libc/include/aarch64-macos.13-gnu 39 - cp -R ${zig_0_10_0}/lib/libc/include/x86_64-macos.13-none lib/libc/include/x86_64-macos.13-gnu 40 - cp ${zig_0_10_0}/lib/libc/darwin/libSystem.13.tbd lib/libc/darwin/ 41 - ''; 42 - 43 - nativeBuildInputs = [ 44 - cmake 45 - llvmPackages.llvm.dev 46 - ]; 47 - 48 - buildInputs = [ 49 - libxml2 50 - zlib 51 - ] ++ (with llvmPackages; [ 52 - libclang 53 - lld 54 - llvm 55 - ]); 56 - 57 - preBuild = '' 58 - export HOME=$TMPDIR; 59 - ''; 24 + prePatch = 25 + let 26 + zig_0_10_0 = fetchFromGitHub { 27 + owner = "ziglang"; 28 + repo = "zig"; 29 + rev = "0.10.0"; 30 + hash = "sha256-DNs937N7PLQimuM2anya4npYXcj6cyH+dRS7AiOX7tw="; 31 + }; 32 + in 33 + '' 34 + cp -R ${zig_0_10_0}/lib/libc/include/any-macos.13-any lib/libc/include/any-macos.13-any 35 + cp -R ${zig_0_10_0}/lib/libc/include/aarch64-macos.13-none lib/libc/include/aarch64-macos.13-gnu 36 + cp -R ${zig_0_10_0}/lib/libc/include/x86_64-macos.13-none lib/libc/include/x86_64-macos.13-gnu 37 + cp ${zig_0_10_0}/lib/libc/darwin/libSystem.13.tbd lib/libc/darwin/ 38 + ''; 60 39 61 40 cmakeFlags = [ 62 41 # file RPATH_CHANGE could not write new RPATH ··· 65 44 # ensure determinism in the compiler build 66 45 "-DZIG_TARGET_MCPU=baseline" 67 46 ]; 68 - 69 - doCheck = true; 70 - 71 - checkPhase = '' 72 - runHook preCheck 73 - ./zig test --cache-dir "$TMPDIR" -I $src/test $src/test/behavior.zig 74 - runHook postCheck 75 - ''; 76 - 77 - meta = { 78 - homepage = "https://ziglang.org/"; 79 - description = 80 - "General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software"; 81 - license = lib.licenses.mit; 82 - changelog = "https://ziglang.org/download/${finalAttrs.version}/release-notes.html"; 83 - maintainers = with lib.maintainers; [ aiotter andrewrk AndersonTorres ]; 84 - platforms = lib.platforms.unix; 85 - }; 86 - }) 47 + }
+64
pkgs/development/compilers/zig/generic.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , llvmPackages 6 + , libxml2 7 + , zlib 8 + , coreutils 9 + , ... 10 + }: 11 + 12 + args: 13 + 14 + stdenv.mkDerivation (finalAttrs: { 15 + pname = "zig"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "ziglang"; 19 + repo = "zig"; 20 + rev = finalAttrs.version; 21 + inherit (args) hash; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + cmake 26 + llvmPackages.llvm.dev 27 + ]; 28 + 29 + buildInputs = [ 30 + libxml2 31 + zlib 32 + ] ++ (with llvmPackages; [ 33 + libclang 34 + lld 35 + llvm 36 + ]); 37 + 38 + env.ZIG_GLOBAL_CACHE_DIR = "$TMPDIR/zig-cache"; 39 + 40 + # Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't 41 + # work in Nix's sandbox. Use env from our coreutils instead. 42 + postPatch = '' 43 + substituteInPlace lib/std/zig/system/NativeTargetInfo.zig \ 44 + --replace "/usr/bin/env" "${coreutils}/bin/env" 45 + ''; 46 + 47 + doInstallCheck = true; 48 + installCheckPhase = '' 49 + runHook preInstallCheck 50 + 51 + $out/bin/zig test --cache-dir "$TMPDIR/zig-test-cache" -I $src/test $src/test/behavior.zig 52 + 53 + runHook postInstallCheck 54 + ''; 55 + 56 + meta = { 57 + description = "General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software"; 58 + homepage = "https://ziglang.org/"; 59 + changelog = "https://ziglang.org/download/${finalAttrs.version}/release-notes.html"; 60 + license = lib.licenses.mit; 61 + maintainers = with lib.maintainers; [ aiotter andrewrk AndersonTorres figsoda ]; 62 + platforms = lib.platforms.unix; 63 + }; 64 + } // removeAttrs args [ "hash" ])
+2 -2
pkgs/development/python-modules/aiohomekit/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "aiohomekit"; 22 - version = "2.6.12"; 22 + version = "2.6.13"; 23 23 format = "pyproject"; 24 24 25 25 disabled = pythonOlder "3.9"; ··· 28 28 owner = "Jc2k"; 29 29 repo = pname; 30 30 rev = "refs/tags/${version}"; 31 - hash = "sha256-a1qxj/6VCnTqfcCfvjjnfM53JjJXP672wumGCvXwxUY="; 31 + hash = "sha256-33B9BBqvKQugGz4+9EuMPhLRyWd/Sbxwh4d5aMmDt4M="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+5 -6
pkgs/development/python-modules/millheater/default.nix
··· 2 2 , aiohttp 3 3 , async-timeout 4 4 , buildPythonPackage 5 - , cryptography 6 5 , fetchFromGitHub 7 6 , pythonOlder 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "millheater"; 12 - version = "0.10.0"; 11 + version = "0.11.0"; 13 12 format = "setuptools"; 14 13 15 - disabled = pythonOlder "3.6"; 14 + disabled = pythonOlder "3.10"; 16 15 17 16 src = fetchFromGitHub { 18 17 owner = "Danielhiversen"; 19 18 repo = "pymill"; 20 - rev = version; 21 - hash = "sha256-ImEg+VEiASQPnMeZzbYMMb+ZgcsxagQcN9IDFGO05Vw="; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-NECGUosjrhRCVGHOFV+YjY8o3heoA7qi9kKsgXpeHh0="; 22 21 }; 23 22 24 23 propagatedBuildInputs = [ 25 24 aiohttp 26 25 async-timeout 27 - cryptography 28 26 ]; 29 27 30 28 # Project has no tests ··· 37 35 meta = with lib; { 38 36 description = "Python library for Mill heater devices"; 39 37 homepage = "https://github.com/Danielhiversen/pymill"; 38 + changelog = "https://github.com/Danielhiversen/pymill/releases/tag/${version}"; 40 39 license = with licenses; [ mit ]; 41 40 maintainers = with maintainers; [ fab ]; 42 41 };
+9
pkgs/development/python-modules/notus-scanner/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , paho-mqtt 5 6 , poetry-core 6 7 , psutil ··· 25 26 rev = "refs/tags/v${version}"; 26 27 hash = "sha256-h+jZWjDvTfW9XjoGhWYX08hgJ/Qp64MEaqHHwnahnC4="; 27 28 }; 29 + 30 + patches = [ 31 + (fetchpatch { 32 + name = "update-packaging-dependency.patch"; 33 + url = "https://github.com/greenbone/notus-scanner/commit/bfa7d3d2e63e250ff25a66c60b782eb9da0e89e7.patch"; 34 + hash = "sha256-hzS8TYBXDEq+cgWlp6fSOtSbyeX9EX2rURmnFMF5jN0="; 35 + }) 36 + ]; 28 37 29 38 pythonRelaxDeps = [ 30 39 "python-gnupg"
+3 -2
pkgs/development/python-modules/scrapy/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "scrapy"; 34 - version = "2.9.0"; 34 + version = "2.10.0"; 35 35 format = "setuptools"; 36 36 37 37 disabled = pythonOlder "3.7"; ··· 39 39 src = fetchPypi { 40 40 inherit version; 41 41 pname = "Scrapy"; 42 - hash = "sha256-VkyXK1blS4MUHzlc4/aiW/4gk9YdE/m4HQU4ThnbmNo="; 42 + hash = "sha256-ThajP8jAOli99OjUvcofhnNU6sacz1c2WMf/NPoMrjk="; 43 43 }; 44 44 45 45 nativeBuildInputs = [ ··· 98 98 "test_custom_loop_asyncio" 99 99 "test_custom_loop_asyncio_deferred_signal" 100 100 "FileFeedStoragePreFeedOptionsTest" # https://github.com/scrapy/scrapy/issues/5157 101 + "test_persist" 101 102 "test_timeout_download_from_spider_nodata_rcvd" 102 103 "test_timeout_download_from_spider_server_hangs" 103 104 # Depends on uvloop
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "trimesh"; 12 - version = "3.22.5"; 12 + version = "3.23.0"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.7"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-Lk30HShbVSBeiclfxJUkd7W2HfvLsZiUdYqebLI7otw="; 19 + hash = "sha256-TjnN5gqzhsN2S/Acqio5pH33RW/Zp3acolI+B+sSaRA="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ setuptools ];
+156
pkgs/development/python-modules/txtai/default.nix
··· 1 + { 2 + lib 3 + , buildPythonPackage 4 + , pythonOlder 5 + , fetchFromGitHub 6 + , pythonRelaxDepsHook 7 + # propagated build input 8 + , faiss 9 + , torch 10 + , transformers 11 + , huggingface-hub 12 + , numpy 13 + , pyyaml 14 + , regex 15 + # optional-dependencies 16 + , aiohttp 17 + , fastapi 18 + , uvicorn 19 + # TODO add apache-libcloud 20 + # , apache-libcloud 21 + , rich 22 + , duckdb 23 + , pillow 24 + , networkx 25 + , python-louvain 26 + , onnx 27 + , onnxruntime 28 + , soundfile 29 + , scipy 30 + , ttstokenizer 31 + , beautifulsoup4 32 + , nltk 33 + , pandas 34 + , tika 35 + , imagehash 36 + , timm 37 + , fasttext 38 + , sentencepiece 39 + , accelerate 40 + , onnxmltools 41 + , annoy 42 + , hnswlib 43 + # TODO add pymagnitude-lite 44 + #, pymagnitude-lite 45 + , scikit-learn 46 + , sentence-transformers 47 + , croniter 48 + , openpyxl 49 + , requests 50 + , xmltodict 51 + # native check inputs 52 + , unittestCheckHook 53 + }: 54 + let 55 + version = "5.5.1"; 56 + api = [ aiohttp fastapi uvicorn ]; 57 + # cloud = [ apache-libcloud ]; 58 + console = [ rich ]; 59 + 60 + database = [ duckdb pillow ]; 61 + 62 + graph = [ networkx python-louvain ]; 63 + 64 + model = [ onnx onnxruntime ]; 65 + 66 + pipeline-audio = [ onnx onnxruntime soundfile scipy ttstokenizer ]; 67 + pipeline-data = [ beautifulsoup4 nltk pandas tika ]; 68 + pipeline-image = [ imagehash pillow timm ]; 69 + pipeline-text = [ fasttext sentencepiece ]; 70 + pipeline-train = [ accelerate onnx onnxmltools onnxruntime ]; 71 + pipeline = pipeline-audio ++ pipeline-data ++ pipeline-image ++ pipeline-text ++ pipeline-train; 72 + 73 + similarity = [ 74 + annoy 75 + fasttext 76 + hnswlib 77 + # pymagnitude-lite 78 + scikit-learn 79 + sentence-transformers 80 + ]; 81 + workflow = [ 82 + # apache-libcloud 83 + croniter 84 + openpyxl 85 + pandas 86 + pillow 87 + requests 88 + xmltodict 89 + ]; 90 + all = api ++ console ++ database ++ graph ++ model ++ pipeline ++ similarity ++ workflow; 91 + 92 + optional-dependencies = { 93 + inherit api console database graph model pipeline-audio pipeline-image 94 + pipeline-text pipeline-train pipeline similarity workflow all; 95 + }; 96 + in 97 + buildPythonPackage { 98 + pname = "txtai"; 99 + inherit version; 100 + format = "setuptools"; 101 + 102 + disable = pythonOlder "3.8"; 103 + 104 + src = fetchFromGitHub { 105 + owner = "neuml"; 106 + repo = "txtai"; 107 + rev = "v${version}"; 108 + hash = "sha256-h6TwWzLYfFg5x2QMIstAZ5pkxfHobBU+b4gb0HiayzY="; 109 + }; 110 + 111 + nativeBuildInputs = [ 112 + pythonRelaxDepsHook 113 + ]; 114 + 115 + pythonRemoveDeps = [ 116 + # We call it faiss, not faiss-cpu. 117 + "faiss-cpu" 118 + ]; 119 + 120 + propagatedBuildInputs = [ 121 + faiss 122 + torch 123 + transformers 124 + huggingface-hub 125 + numpy 126 + pyyaml 127 + regex 128 + ]; 129 + 130 + passthru.optional-dependencies = optional-dependencies; 131 + 132 + pythonImportsCheck = [ "txtai" ]; 133 + 134 + # some tests hang forever 135 + doCheck = false; 136 + 137 + preCheck = '' 138 + export TRANSFORMERS_CACHE=$(mktemp -d) 139 + ''; 140 + 141 + nativeCheckInputs = [ 142 + unittestCheckHook 143 + ] ++ optional-dependencies.api ++ optional-dependencies.similarity; 144 + 145 + unittestFlagsArray = [ 146 + "-s" "test/python" "-v" 147 + ]; 148 + 149 + meta = with lib; { 150 + description = "Semantic search and workflows powered by language models"; 151 + changelog = "https://github.com/neuml/txtai/releases/tag/v${version}"; 152 + homepage = "https://github.com/neuml/txtai"; 153 + license = licenses.asl20; 154 + maintainers = with maintainers; [ happysalada ]; 155 + }; 156 + }
+4 -3
pkgs/development/tools/language-servers/nixd/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "nixd"; 21 - version = "1.2.0"; 21 + version = "1.2.1"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "nix-community"; 25 25 repo = "nixd"; 26 26 rev = version; 27 - hash = "sha256-3PI/Bzs5WPIKevbRPz6TQ5yo7QpY4HeALrqbUY/zUgY="; 27 + hash = "sha256-NqRYFaxa6Y4j7IMAxxVKo7o15Xmx0CiyeG71Uf1SLCI="; 28 28 }; 29 29 30 30 mesonBuildType = "release"; ··· 52 52 53 53 env.CXXFLAGS = "-include ${nix.dev}/include/nix/config.h"; 54 54 55 - doCheck = true; 55 + # https://github.com/nix-community/nixd/issues/215 56 + doCheck = !stdenv.isDarwin; 56 57 57 58 checkPhase = '' 58 59 runHook preCheck
-42
pkgs/os-specific/linux/hid-nintendo/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , kernel 5 - }: 6 - 7 - stdenv.mkDerivation (finalAttrs: { 8 - pname = "hid-nintendo"; 9 - version = "3.2"; 10 - 11 - src = fetchFromGitHub { 12 - owner = "nicman23"; 13 - repo = "dkms-hid-nintendo"; 14 - rev = finalAttrs.version; 15 - hash = "sha256-2a+95zwyhJsF/KSo/Pm/JZ7ktDG02UZjsixSnVUXRrA="; 16 - }; 17 - 18 - setSourceRoot = '' 19 - export sourceRoot=$(pwd)/source/src 20 - ''; 21 - 22 - nativeBuildInputs = kernel.moduleBuildDependencies; 23 - 24 - makeFlags = kernel.makeFlags ++ [ 25 - "-C" 26 - "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 27 - "M=$(sourceRoot)" 28 - ]; 29 - 30 - buildFlags = [ "modules" ]; 31 - installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ]; 32 - installTargets = [ "modules_install" ]; 33 - 34 - meta = { 35 - homepage = "https://github.com/nicman23/dkms-hid-nintendo"; 36 - description = "A Nintendo HID kernel module"; 37 - license = lib.licenses.gpl2Plus; 38 - maintainers = [ ]; 39 - platforms = lib.platforms.linux; 40 - broken = lib.versionOlder kernel.version "4.14"; 41 - }; 42 - })
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 16 16 in 17 17 python.pkgs.buildPythonApplication rec { 18 18 pname = "esphome"; 19 - version = "2023.7.0"; 19 + version = "2023.7.1"; 20 20 format = "setuptools"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = pname; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-zJ00Ypb//b+SndzMC/QGzxtu9GZefaJvr5tKYp68hhc="; 26 + hash = "sha256-warrNm07YXD0TEb91JQPr9ouDh7lC+YCQYOM3fed3Es="; 27 27 }; 28 28 29 29 postPatch = ''
+3 -3
pkgs/tools/misc/yutto/default.nix
··· 9 9 10 10 buildPythonApplication rec { 11 11 pname = "yutto"; 12 - version = "2.0.0b24"; 12 + version = "2.0.0b28"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.9"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-ZnRDGgJu78KoSHvznYhBNEDJihUm9rUdlb5tXmcpuTc="; 19 + hash = "sha256-jN9KDQjEaTf7BUDtGd07W3TtijRKzD+StMReLmX4QI0="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ ··· 27 27 aiohttp 28 28 aiofiles 29 29 biliass 30 - dicttoxml 30 + dict2xml 31 31 colorama 32 32 ]; 33 33
+38
pkgs/tools/networking/globalping-cli/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles, nix-update-script }: 2 + 3 + buildGoModule rec { 4 + pname = "globalping-cli"; 5 + version = "1.1.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jsdelivr"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + hash = "sha256-UY+SAmkE8h/K92Em5iikcMiNixkqnDVkhlrKVq1ZkVM="; 12 + }; 13 + 14 + vendorHash = "sha256-fUB7WIEAPBot8A2f7WQ5wUDtCrOydZd4nd4qDuy1vzg="; 15 + 16 + nativeBuildInputs = [ installShellFiles ]; 17 + 18 + CGO_ENABLED = 0; 19 + ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 20 + 21 + postInstall = '' 22 + mv $out/bin/${pname} $out/bin/globalping 23 + installShellCompletion --cmd globalping \ 24 + --bash <($out/bin/globalping completion bash) \ 25 + --fish <($out/bin/globalping completion fish) \ 26 + --zsh <($out/bin/globalping completion zsh) 27 + ''; 28 + 29 + passthru.updateScript = nix-update-script { }; 30 + 31 + meta = with lib; { 32 + description = "A simple CLI tool to run networking commands remotely from hundreds of globally distributed servers"; 33 + homepage = "https://www.jsdelivr.com/globalping/cli"; 34 + license = licenses.mpl20; 35 + maintainers = with maintainers; [ xyenon ]; 36 + mainProgram = "globalping"; 37 + }; 38 + }
+14
pkgs/tools/security/maigret/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , python3 5 6 }: 6 7 7 8 python3.pkgs.buildPythonApplication rec { 8 9 pname = "maigret"; 9 10 version = "0.4.4"; 11 + format = "setuptools"; 10 12 11 13 src = fetchFromGitHub { 12 14 owner = "soxoj"; ··· 15 17 hash = "sha256-Z8SnA7Z5+oKW0AOaNf+c/zR30lrPFmXaxxKkbnDXNNs="; 16 18 }; 17 19 20 + patches = [ 21 + # https://github.com/soxoj/maigret/pull/1117 22 + (fetchpatch { 23 + name = "pytest-7.3-compatibility.patch"; 24 + url = "https://github.com/soxoj/maigret/commit/ecb33de9e6eec12b6b45a1152199177f32c85be2.patch"; 25 + hash = "sha256-nFx3j1Q37YLtYhb0QS34UgZFgAc5Z/RVgbO9o1n1ONE="; 26 + }) 27 + ]; 28 + 18 29 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 30 + 19 31 propagatedBuildInputs = with python3.pkgs; [ 20 32 aiodns 21 33 aiohttp ··· 56 68 xmind 57 69 yarl 58 70 ]; 71 + 72 + __darwinAllowLocalNetworking = true; 59 73 60 74 nativeCheckInputs = with python3.pkgs; [ 61 75 pytest-httpserver
+3 -3
pkgs/tools/system/bottom/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "bottom"; 11 - version = "0.9.3"; 11 + version = "0.9.4"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "ClementTsang"; 15 15 repo = pname; 16 16 rev = version; 17 - hash = "sha256-hKgk2wIfFvYOKYo90rzGlntvRRWId4UUgSevY1KLhik="; 17 + hash = "sha256-9WQdudO2tIvxDHfJ87zvJeMfpuFSr4D5zGteL7Od2fQ="; 18 18 }; 19 19 20 - cargoHash = "sha256-2iMjxjObh3V+HM79y8hQF+i7eQ+sjNl3kDopCbCsSZg="; 20 + cargoHash = "sha256-aRN6V6r+JYi6yUcXei2f7l7oZ+8IkUmw1sgOwZJOtIE="; 21 21 22 22 nativeBuildInputs = [ installShellFiles ]; 23 23
+2 -2
pkgs/tools/text/highlight/default.nix
··· 3 3 let 4 4 self = stdenv.mkDerivation rec { 5 5 pname = "highlight"; 6 - version = "4.6"; 6 + version = "4.7"; 7 7 8 8 src = fetchFromGitLab { 9 9 owner = "saalen"; 10 10 repo = "highlight"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-wMNmc7UIpvYPREpPK/2aKaqUDc6uifuxsXTNFH5SHyI="; 12 + sha256 = "sha256-WblpRrvfFp4PlyH4RS2VNKXYD911H+OcnSL5rctyxiM="; 13 13 }; 14 14 15 15 enableParallelBuilding = true;
+6
pkgs/top-level/all-packages.nix
··· 2363 2363 2364 2364 glitter = callPackage ../applications/version-management/glitter { }; 2365 2365 2366 + globalping-cli = callPackage ../tools/networking/globalping-cli { }; 2367 + 2366 2368 gst = callPackage ../applications/version-management/gst { }; 2367 2369 2368 2370 gut = callPackage ../applications/version-management/gut { }; ··· 25480 25482 # requires a newer Apple SDK 25481 25483 zig_0_10 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.10.nix { 25482 25484 llvmPackages = llvmPackages_15; 25485 + }; 25486 + # requires a newer Apple SDK 25487 + zig_0_11 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.11.nix { 25488 + llvmPackages = llvmPackages_16; 25483 25489 }; 25484 25490 zig = zig_0_10; 25485 25491
+1 -1
pkgs/top-level/linux-kernels.nix
··· 347 347 fwts-efi-runtime = callPackage ../os-specific/linux/fwts/module.nix { }; 348 348 349 349 gcadapter-oc-kmod = callPackage ../os-specific/linux/gcadapter-oc-kmod { }; 350 - hid-nintendo = callPackage ../os-specific/linux/hid-nintendo { }; 351 350 352 351 hyperv-daemons = callPackage ../os-specific/linux/hyperv-daemons { }; 353 352 ··· 556 555 557 556 } // lib.optionalAttrs config.allowAliases { 558 557 ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18; 558 + hid-nintendo = throw "hid-nintendo was added in mainline kernel version 5.16"; # Added 2023-07-30 559 559 sch_cake = throw "sch_cake was added in mainline kernel version 4.19"; # Added 2023-06-14 560 560 rtl8723bs = throw "rtl8723bs was added in mainline kernel version 4.12"; # Added 2023-06-14 561 561 xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18";
+2
pkgs/top-level/python-packages.nix
··· 12938 12938 12939 12939 txrequests = callPackage ../development/python-modules/txrequests { }; 12940 12940 12941 + txtai = callPackage ../development/python-modules/txtai { }; 12942 + 12941 12943 txtorcon = callPackage ../development/python-modules/txtorcon { }; 12942 12944 12943 12945 txzmq = callPackage ../development/python-modules/txzmq { };