Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
09a970dc fe6f5a0d

+231 -37
+1
nixos/modules/hardware/all-firmware.nix
··· 48 rtl8192su-firmware 49 rt5677-firmware 50 rtl8723bs-firmware 51 rtlwifi_new-firmware 52 zd1211fw 53 alsa-firmware
··· 48 rtl8192su-firmware 49 rt5677-firmware 50 rtl8723bs-firmware 51 + rtl8761b-firmware 52 rtlwifi_new-firmware 53 zd1211fw 54 alsa-firmware
+2
nixos/modules/services/networking/kresd.nix
··· 135 CacheDirectory = "knot-resolver"; 136 CacheDirectoryMode = "0770"; 137 }; 138 139 # Try cleaning up the previously default location of cache file. 140 # Note that /var/cache/* should always be safe to remove.
··· 135 CacheDirectory = "knot-resolver"; 136 CacheDirectoryMode = "0770"; 137 }; 138 + # We don't mind running stop phase from wrong version. It seems less racy. 139 + systemd.services."kresd@".stopIfChanged = false; 140 141 # Try cleaning up the previously default location of cache file. 142 # Note that /var/cache/* should always be safe to remove.
+5 -4
pkgs/applications/audio/ncmpcpp/default.nix
··· 12 with stdenv.lib; 13 stdenv.mkDerivation rec { 14 pname = "ncmpcpp"; 15 - version = "0.8.2"; 16 17 src = fetchurl { 18 - url = "https://ncmpcpp.rybczak.net/stable/${pname}-${version}.tar.bz2"; 19 - sha256 = "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5"; 20 }; 21 22 configureFlags = [ "BOOST_LIB_SUFFIX=" ] ··· 33 34 meta = { 35 description = "A featureful ncurses based MPD client inspired by ncmpc"; 36 - homepage = "https://ncmpcpp.rybczak.net/"; 37 license = licenses.gpl2Plus; 38 maintainers = with maintainers; [ jfrankenau koral lovek323 ]; 39 platforms = platforms.all;
··· 12 with stdenv.lib; 13 stdenv.mkDerivation rec { 14 pname = "ncmpcpp"; 15 + version = "0.9.1"; 16 17 src = fetchurl { 18 + url = "https://rybczak.net/ncmpcpp/stable/${pname}-${version}.tar.bz2"; 19 + sha256 = "0x35nd4v31sma8fliqdbn1nxpjyi8hv472318sfb3xbmr4wlm0fb"; 20 }; 21 22 configureFlags = [ "BOOST_LIB_SUFFIX=" ] ··· 33 34 meta = { 35 description = "A featureful ncurses based MPD client inspired by ncmpc"; 36 + homepage = "https://rybczak.net/ncmpcpp/"; 37 + changelog = "https://github.com/ncmpcpp/ncmpcpp/blob/${version}/CHANGELOG.md"; 38 license = licenses.gpl2Plus; 39 maintainers = with maintainers; [ jfrankenau koral lovek323 ]; 40 platforms = platforms.all;
+2 -2
pkgs/applications/networking/browsers/chromium/common.nix
··· 13 , bison, gperf 14 , glib, gtk3, dbus-glib 15 , glibc 16 - , libXScrnSaver, libXcursor, libXtst, libGLU, libGL 17 , protobuf, speechd, libXdamage, cups 18 , ffmpeg, libxslt, libxml2, at-spi2-core 19 , jre8 ··· 136 util-linux alsaLib 137 bison gperf kerberos 138 glib gtk3 dbus-glib 139 - libXScrnSaver libXcursor libXtst libGLU libGL 140 pciutils protobuf speechd libXdamage at-spi2-core 141 jre 142 pipewire_0_2
··· 13 , bison, gperf 14 , glib, gtk3, dbus-glib 15 , glibc 16 + , libXScrnSaver, libXcursor, libXtst, libxshmfence, libGLU, libGL 17 , protobuf, speechd, libXdamage, cups 18 , ffmpeg, libxslt, libxml2, at-spi2-core 19 , jre8 ··· 136 util-linux alsaLib 137 bison gperf kerberos 138 glib gtk3 dbus-glib 139 + libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL 140 pciutils protobuf speechd libXdamage at-spi2-core 141 jre 142 pipewire_0_2
+15 -5
pkgs/build-support/setup-hooks/auto-patchelf.sh
··· 1 declare -a autoPatchelfLibs 2 declare -Ag autoPatchelfFailedDeps 3 ··· 11 patchelf "$@" || (echo "Command failed: patchelf $*" && exit 1) 12 } 13 14 addEnvHooks "$targetOffset" gatherLibraries 15 16 isExecutable() { ··· 116 interpreter="$(< "$NIX_CC/nix-support/dynamic-linker")" 117 if isExecutable "$toPatch"; then 118 runPatchelf --set-interpreter "$interpreter" "$toPatch" 119 if [ -n "$runtimeDependencies" ]; then 120 for dep in $runtimeDependencies; do 121 rpath="$rpath${rpath:+:}$dep/lib" ··· 129 # clear the RPATH first. 130 runPatchelf --remove-rpath "$toPatch" 131 132 local missing 133 missing="$( 134 ldd "$toPatch" 2> /dev/null | \ 135 sed -n -e 's/^[\t ]*\([^ ]\+\) => not found.*/\1/p' 136 - )" 137 138 # This ensures that we get the output of all missing dependencies instead 139 # of failing at the first one, because it's more useful when working on a ··· 175 esac 176 done 177 178 - for file in \ 179 - $(find "$@" "${findOpts[@]}" \! -type d \ 180 - \( -name '*.so' -o -name '*.so.*' \)) 181 - do addToDepCache "$file"; done 182 } 183 184 autoPatchelf() { ··· 231 echo "autoPatchelfHook could not satisfy dependency $failedDep wanted by ${autoPatchelfFailedDeps[$failedDep]}" 232 depsMissing=1 233 done 234 if [[ $depsMissing == 1 && -z "$autoPatchelfIgnoreMissingDeps" ]]; then 235 echo "Add the missing dependencies to the build inputs or set autoPatchelfIgnoreMissingDeps=true" 236 exit 1
··· 1 + #!/usr/bin/env bash 2 + 3 declare -a autoPatchelfLibs 4 declare -Ag autoPatchelfFailedDeps 5 ··· 13 patchelf "$@" || (echo "Command failed: patchelf $*" && exit 1) 14 } 15 16 + # shellcheck disable=SC2154 17 + # (targetOffset is referenced but not assigned.) 18 addEnvHooks "$targetOffset" gatherLibraries 19 20 isExecutable() { ··· 120 interpreter="$(< "$NIX_CC/nix-support/dynamic-linker")" 121 if isExecutable "$toPatch"; then 122 runPatchelf --set-interpreter "$interpreter" "$toPatch" 123 + # shellcheck disable=SC2154 124 + # (runtimeDependencies is referenced but not assigned.) 125 if [ -n "$runtimeDependencies" ]; then 126 for dep in $runtimeDependencies; do 127 rpath="$rpath${rpath:+:}$dep/lib" ··· 135 # clear the RPATH first. 136 runPatchelf --remove-rpath "$toPatch" 137 138 + # If the file is not a dynamic executable, ldd/sed will fail, 139 + # in which case we return, since there is nothing left to do. 140 local missing 141 missing="$( 142 ldd "$toPatch" 2> /dev/null | \ 143 sed -n -e 's/^[\t ]*\([^ ]\+\) => not found.*/\1/p' 144 + )" || return 0 145 146 # This ensures that we get the output of all missing dependencies instead 147 # of failing at the first one, because it's more useful when working on a ··· 183 esac 184 done 185 186 + while IFS= read -r -d '' file; do 187 + addToDepCache "$file" 188 + done < <(find "$@" "${findOpts[@]}" \! -type d \ 189 + \( -name '*.so' -o -name '*.so.*' \) -print0) 190 } 191 192 autoPatchelf() { ··· 239 echo "autoPatchelfHook could not satisfy dependency $failedDep wanted by ${autoPatchelfFailedDeps[$failedDep]}" 240 depsMissing=1 241 done 242 + # shellcheck disable=SC2154 243 + # (autoPatchelfIgnoreMissingDeps is referenced but not assigned.) 244 if [[ $depsMissing == 1 && -z "$autoPatchelfIgnoreMissingDeps" ]]; then 245 echo "Add the missing dependencies to the build inputs or set autoPatchelfIgnoreMissingDeps=true" 246 exit 1
+18 -16
pkgs/development/arduino/arduino-core/default.nix
··· 11 , ncurses 12 , readline 13 , withGui ? false 14 - , gtk2 ? null 15 , withTeensyduino ? false 16 /* Packages needed for Teensyduino */ 17 , upx ··· 29 , udev 30 }: 31 32 - assert withGui -> gtk2 != null; 33 assert withTeensyduino -> withGui; 34 let 35 externalDownloads = import ./downloads.nix { ··· 55 gcc.cc.lib 56 gdk-pixbuf 57 glib 58 - gtk2 59 libpng12 60 libusb-compat-0_1 61 pango ··· 78 + stdenv.lib.optionalString (!withGui) "-core"; 79 in 80 stdenv.mkDerivation rec { 81 - version = "1.8.12"; 82 name = "${flavor}-${version}"; 83 84 src = fetchFromGitHub { 85 owner = "arduino"; 86 repo = "Arduino"; 87 rev = version; 88 - sha256 = "0lxkyvsh55biz2q20ba4qabraind5cpxznl41zfq027vl22j6kd2"; 89 }; 90 91 - teensyduino_version = "151"; 92 teensyduino_src = fetchurl { 93 url = "https://www.pjrc.com/teensy/td_${teensyduino_version}/TeensyduinoInstall.${teensy_architecture}"; 94 sha256 = { 95 - linux64 = "0q8mw9bm2vb5vwa98gwcs6ad164i98hc1qqh2qw029yhwm599pn0"; 96 - linux32 = "1rq6sx0048ab200jy0cz5vznwxi99avidngj42rjnh7kcfas5c4m"; 97 - linuxarm = "19j55bq36040rpdpfxcqimda76rkbx137q15bs8nvxj13wrbl4ip"; 98 - linuxaarch64 = "09k78dycn1vcpcx37c1dak8bgjv8gs34l89n9r9s0c3rqmv3pg4x"; 99 }.${teensy_architecture} or (throw "No arduino binaries for ${teensy_architecture}"); 100 }; 101 # Used because teensyduino requires jars be a specific size 102 arduino_dist_src = fetchurl { 103 - url = "http://downloads.arduino.cc/arduino-${version}-${teensy_architecture}.tar.xz"; 104 sha256 = 105 { 106 - linux64 = "128f34kkxz7ab6ir5mqyr8d1mgxig8f9jygwxy44pdnq2rk6gmh9"; 107 - linux32 = "11n85lwsn1w4ysfacyw08v85s3f3zvl8j8ac7rld19yxgjslvisi"; 108 - linuxarm = "1k8yjivaydm6y16mplrjyblgx7l0wjzm3mjxh5saxrjq7drswmxx"; 109 - linuxaarch64 = "04v2nhyjhahml6nmz23bfb63c0an4a7zxgcgxqqq442i8vd304wa"; 110 }.${teensy_architecture} or (throw "No arduino binaries for ${teensy_architecture}"); 111 }; 112 113 114 buildInputs = [ 115 jdk 116 ant ··· 149 150 # This will be patched into `arduino` wrapper script 151 # Java loads gtk dynamically, so we need to provide it using LD_LIBRARY_PATH 152 - dynamicLibraryPath = lib.makeLibraryPath [ gtk2 ]; 153 javaPath = lib.makeBinPath [ jdk ]; 154 155 # Everything else will be patched into rpath
··· 11 , ncurses 12 , readline 13 , withGui ? false 14 + , gtk3 ? null 15 + , wrapGAppsHook 16 , withTeensyduino ? false 17 /* Packages needed for Teensyduino */ 18 , upx ··· 30 , udev 31 }: 32 33 + assert withGui -> gtk3 != null && wrapGAppsHook != null; 34 assert withTeensyduino -> withGui; 35 let 36 externalDownloads = import ./downloads.nix { ··· 56 gcc.cc.lib 57 gdk-pixbuf 58 glib 59 + gtk3 60 libpng12 61 libusb-compat-0_1 62 pango ··· 79 + stdenv.lib.optionalString (!withGui) "-core"; 80 in 81 stdenv.mkDerivation rec { 82 + version = "1.8.13"; 83 name = "${flavor}-${version}"; 84 85 src = fetchFromGitHub { 86 owner = "arduino"; 87 repo = "Arduino"; 88 rev = version; 89 + sha256 = "0qg3qyj1b7wbaw2rsfly7nf3115h26nskl4ggrn6plhx272ni84p"; 90 }; 91 92 + teensyduino_version = "153"; 93 teensyduino_src = fetchurl { 94 url = "https://www.pjrc.com/teensy/td_${teensyduino_version}/TeensyduinoInstall.${teensy_architecture}"; 95 sha256 = { 96 + linux64 = "02qgsj4h4zrjxkcclx7clsqbqd699kg0dq1xxa9hbj3vfnddjv1f"; 97 + linux32 = "14xaff8xj176ih8ifdvxsly5xgjjm82dqbn7lqq81a43i0svjjyn"; 98 + linuxarm = "0xpg9axa6dqyhccm9cpvsv2al7rgwy4gv2l8b2kffvn974dl5759"; 99 + linuxaarch64 = "1lyn4zy4l5mml3c19fw6i2pk1ypnq6mgjmxmzk9d54wpf6n3j5dk"; 100 }.${teensy_architecture} or (throw "No arduino binaries for ${teensy_architecture}"); 101 }; 102 # Used because teensyduino requires jars be a specific size 103 arduino_dist_src = fetchurl { 104 + url = "https://downloads.arduino.cc/arduino-${version}-${teensy_architecture}.tar.xz"; 105 sha256 = 106 { 107 + linux64 = "1bdlk51dqiyg5pw23hs8rfv8nrjqy0jqfl89h1466ahahpnd080v"; 108 + linux32 = "0mgsw9wpwv1pgs2jslzflh7zf4ggqjgcd55hmdzrj0dvgkyw4cr2"; 109 + linuxarm = "08n4lpak3i7yfyi0085j4nq14gb2n7zx85wl9drp8gaavxnfbp5f"; 110 + linuxaarch64 = "0m4nhykzknm2hdpz1fhr2hbpncry53kvzs9y5lgj7rx3sy6ygbh7"; 111 }.${teensy_architecture} or (throw "No arduino binaries for ${teensy_architecture}"); 112 }; 113 114 115 + nativeBuildInputs = [ wrapGAppsHook ]; 116 buildInputs = [ 117 jdk 118 ant ··· 151 152 # This will be patched into `arduino` wrapper script 153 # Java loads gtk dynamically, so we need to provide it using LD_LIBRARY_PATH 154 + dynamicLibraryPath = lib.makeLibraryPath [ gtk3 ]; 155 javaPath = lib.makeBinPath [ jdk ]; 156 157 # Everything else will be patched into rpath
+9 -9
pkgs/development/arduino/arduino-core/downloads.nix
··· 107 url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.10/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip"; 108 sha256 = "0bs5qdglsfc2q5c48m6wdjpzhz4ya4askh1g8364dp6p7jmg6w0d"; 109 }; 110 - "build/avr-1.8.2.tar.bz2" = fetchurl { 111 - url = "https://downloads.arduino.cc/cores/avr-1.8.2.tar.bz2"; 112 - sha256 = "06zl8fwphknd0qdx87fcr1003gid1yqsazaj674mm9widqfd84v2"; 113 }; 114 } 115 116 // optionalAttrs (system == "x86_64-linux") { 117 - "build/arduino-builder-linux64-1.5.2.tar.bz2" = fetchurl { 118 - url = "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.5.2.tar.bz2"; 119 - sha256 = "0wypr9a2cbv9r0ignsr13raw09i3vfc5zvkjxp2xwb7mv35y77z3"; 120 }; 121 - "build/linux/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-pc-linux-gnu.tar.bz2" = fetchurl { 122 - url = "https://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-pc-linux-gnu.tar.bz2"; 123 - sha256 = "1yq6a811dabrkcgzfi3jsys41r19qsna46kglkjbcy0rza7yvzry"; 124 }; 125 "build/linux/avrdude-6.3.0-arduino17-x86_64-pc-linux-gnu.tar.bz2" = fetchurl { 126 url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-pc-linux-gnu.tar.bz2";
··· 107 url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.10/WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip"; 108 sha256 = "0bs5qdglsfc2q5c48m6wdjpzhz4ya4askh1g8364dp6p7jmg6w0d"; 109 }; 110 + "build/avr-1.8.3.tar.bz2" = fetchurl { 111 + url = "https://downloads.arduino.cc/cores/avr-1.8.3.tar.bz2"; 112 + sha256 = "051wnc0nmsmxvvs4c79zvjag33yx5il2pz2j7qyjsxkp4jc9p2ny"; 113 }; 114 } 115 116 // optionalAttrs (system == "x86_64-linux") { 117 + "build/arduino-builder-linux64-1.5.4.tar.bz2" = fetchurl { 118 + url = "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.5.4.tar.bz2"; 119 + sha256 = "1cgvwlvxzzpjaj4njz1mrsif27l26dwkz9c7gbhdj0lvlk3xsa7s"; 120 }; 121 + "build/linux/avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-pc-linux-gnu.tar.bz2" = fetchurl { 122 + url = "https://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-pc-linux-gnu.tar.bz2"; 123 + sha256 = "07nrzv7gsq7bi7ichlw3xsdvgzk0lvv56b73ksn3089ajpv3g35x"; 124 }; 125 "build/linux/avrdude-6.3.0-arduino17-x86_64-pc-linux-gnu.tar.bz2" = fetchurl { 126 url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-pc-linux-gnu.tar.bz2";
+64
pkgs/games/anki/bin.nix
···
··· 1 + { fetchurl, stdenv, lib, buildFHSUserEnv, appimageTools, writeShellScript, anki, undmg }: 2 + 3 + let 4 + pname = "anki-bin"; 5 + # Update hashes for both Linux and Darwin! 6 + version = "2.1.36"; 7 + 8 + unpacked = stdenv.mkDerivation { 9 + inherit pname version; 10 + 11 + src = fetchurl { 12 + url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux.tar.bz2"; 13 + sha256 = "01xcjnfs5pfh7v0nkffw2wpl19l6pj9k3kxrcawv3cm42asy0mfz"; 14 + }; 15 + 16 + installPhase = '' 17 + runHook preInstall 18 + 19 + xdg-mime () { 20 + echo Stubbed! 21 + } 22 + export -f xdg-mime 23 + 24 + PREFIX=$out bash install.sh 25 + 26 + runHook postInstall 27 + ''; 28 + }; 29 + 30 + meta = with lib; { 31 + inherit (anki.meta) license homepage description longDescription; 32 + platforms = [ "x86_64-linux" "x86_64-darwin" ]; 33 + maintainers = with maintainers; [ atemu ]; 34 + }; 35 + in 36 + 37 + if stdenv.isLinux then buildFHSUserEnv (appimageTools.defaultFhsEnvArgs // { 38 + name = "anki"; 39 + 40 + runScript = writeShellScript "anki-wrapper.sh" '' 41 + # Wayland support is broken, disable via ENV variable 42 + export QT_QPA_PLATFORM=xcb 43 + exec ${unpacked}/bin/anki 44 + ''; 45 + 46 + inherit meta; 47 + }) else stdenv.mkDerivation { 48 + inherit pname version; 49 + 50 + src = fetchurl { 51 + url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac.dmg"; 52 + sha256 = "1i6iidm5h8r9g801mvqxi2av03qdw3lr28056fv5ixnb5dq2wqim"; 53 + }; 54 + 55 + nativeBuildInputs = [ undmg ]; 56 + sourceRoot = "."; 57 + 58 + installPhase = '' 59 + mkdir -p $out/Applications/ 60 + cp -a Anki.app $out/Applications/ 61 + ''; 62 + 63 + inherit meta; 64 + }
+29
pkgs/os-specific/linux/firmware/rtl8761b-firmware/default.nix
···
··· 1 + { stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation { 4 + name = "rtl8761b-firmware"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "Realtek-OpenSource"; 8 + repo = "android_hardware_realtek"; 9 + rev = "rtk1395"; 10 + sha256 = "sha256-vd9sZP7PGY+cmnqVty3sZibg01w8+UNinv8X85B+dzc="; 11 + }; 12 + 13 + installPhase = '' 14 + install -D -pm644 \ 15 + bt/rtkbt/Firmware/BT/rtl8761b_fw \ 16 + $out/lib/firmware/rtl_bt/rtl8761b_fw.bin 17 + 18 + install -D -pm644 \ 19 + bt/rtkbt/Firmware/BT/rtl8761b_config \ 20 + $out/lib/firmware/rtl_bt/rtl8761b_config.bin 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + description = "Firmware for Realtek RTL8761b"; 25 + license = licenses.unfreeRedistributableFirmware; 26 + maintainers = with maintainers; [ edibopp ]; 27 + platforms = with platforms; linux; 28 + }; 29 + }
+7
pkgs/os-specific/linux/kernel/patches.nix
··· 76 }; 77 }; 78 79 export_kernel_fpu_functions = { 80 "4.14" = { 81 name = "export_kernel_fpu_functions";
··· 76 }; 77 }; 78 79 + # Adapted for Linux 5.4 from: 80 + # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04896832c94aae4842100cafb8d3a73e1bed3a45 81 + rtl8761b_support = 82 + { name = "rtl8761b-support"; 83 + patch = ./rtl8761b-support.patch; 84 + }; 85 + 86 export_kernel_fpu_functions = { 87 "4.14" = { 88 name = "export_kernel_fpu_functions";
+33
pkgs/os-specific/linux/kernel/rtl8761b-support.patch
···
··· 1 + diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c 2 + index 67f4bc21e7c5..3a9afc905f24 100644 3 + --- a/drivers/bluetooth/btrtl.c 4 + +++ b/drivers/bluetooth/btrtl.c 5 + @@ -130,12 +130,19 @@ static const struct id_table ic_id_table[] = { 6 + .cfg_name = "rtl_bt/rtl8821c_config" }, 7 + 8 + /* 8761A */ 9 + - { IC_MATCH_FL_LMPSUBV, RTL_ROM_LMP_8761A, 0x0, 10 + + { IC_INFO(RTL_ROM_LMP_8761A, 0xa), 11 + .config_needed = false, 12 + .has_rom_version = true, 13 + .fw_name = "rtl_bt/rtl8761a_fw.bin", 14 + .cfg_name = "rtl_bt/rtl8761a_config" }, 15 + 16 + + /* 8761B */ 17 + + { IC_INFO(RTL_ROM_LMP_8761A, 0xb), 18 + + .config_needed = false, 19 + + .has_rom_version = true, 20 + + .fw_name = "rtl_bt/rtl8761b_fw.bin", 21 + + .cfg_name = "rtl_bt/rtl8761b_config" }, 22 + + 23 + /* 8822C with USB interface */ 24 + { IC_INFO(RTL_ROM_LMP_8822B, 0xc), 25 + .config_needed = false, 26 + @@ -251,6 +258,7 @@ static int rtlbt_parse_firmware(struct hci_dev *hdev, 27 + { RTL_ROM_LMP_8723B, 9 }, /* 8723D */ 28 + { RTL_ROM_LMP_8821A, 10 }, /* 8821C */ 29 + { RTL_ROM_LMP_8822B, 13 }, /* 8822C */ 30 + + { RTL_ROM_LMP_8761A, 14 }, /* 8761B */ 31 + }; 32 + 33 + min_size = sizeof(struct rtl_epatch_header) + sizeof(extension_sig) + 3;
+33
pkgs/tools/misc/fbcat/default.nix
···
··· 1 + { stdenv, fetchFromGitHub } : 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "fbcat"; 5 + version = "0.5.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jwilk"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "08y79br4a4cgkjnslw0hw57441ybsapaw7wjdbak19mv9lnl5ll9"; 12 + }; 13 + 14 + # hardcoded because makefile target "install" depends on libxslt dependencies from network 15 + # that are just too hard to monkeypatch here 16 + # so this is the simple fix. 17 + installPhase = '' 18 + mkdir -p $out 19 + install -d $out/bin 20 + install -m755 fbcat $out/bin/ 21 + install -m755 fbgrab $out/bin/ 22 + install -d $out/share/man/man1 23 + ''; 24 + 25 + meta = with stdenv.lib; { 26 + homepage = "http://jwilk.net/software/fbcat"; 27 + description = "Framebuffer screenshot tool"; 28 + license = licenses.gpl2Plus; 29 + maintainers = [ maintainers.matthiasbeyer ]; 30 + platforms = platforms.linux; 31 + }; 32 + } 33 +
+2
pkgs/tools/misc/toybox/default.nix
··· 1 { 2 stdenv, lib, fetchFromGitHub, which, 3 enableStatic ? false, 4 enableMinimal ? false, 5 extraConfig ? "" ··· 16 sha256 = "0cgbmv6qk1haj709hjx5q4sl7wgh91i459gzs1203adwc7rvk6jv"; 17 }; 18 19 buildInputs = lib.optionals enableStatic [ stdenv.cc.libc stdenv.cc.libc.static ]; 20 21 postPatch = "patchShebangs .";
··· 1 { 2 stdenv, lib, fetchFromGitHub, which, 3 + buildPackages, 4 enableStatic ? false, 5 enableMinimal ? false, 6 extraConfig ? "" ··· 17 sha256 = "0cgbmv6qk1haj709hjx5q4sl7wgh91i459gzs1203adwc7rvk6jv"; 18 }; 19 20 + depsBuildBuild = [ buildPackages.stdenv.cc ]; # needed for cross 21 buildInputs = lib.optionals enableStatic [ stdenv.cc.libc stdenv.cc.libc.static ]; 22 23 postPatch = "patchShebangs .";
+5 -1
pkgs/tools/networking/libreswan/default.nix
··· 29 "-Wno-error=format-truncation" 30 "-Wno-error=pointer-compare" 31 "-Wno-error=stringop-truncation" 32 ]; 33 34 nativeBuildInputs = [ makeWrapper pkgconfig ]; ··· 82 meta = with stdenv.lib; { 83 homepage = "https://libreswan.org"; 84 description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange"; 85 - platforms = platforms.linux ++ platforms.darwin ++ platforms.freebsd; 86 license = licenses.gpl2; 87 maintainers = [ maintainers.afranchuk ]; 88 };
··· 29 "-Wno-error=format-truncation" 30 "-Wno-error=pointer-compare" 31 "-Wno-error=stringop-truncation" 32 + # The following flag allows libreswan v3.32 to work with NSS 3.22, see 33 + # https://github.com/libreswan/libreswan/issues/334. 34 + # This flag should not be needed for libreswan v3.33 (which is not yet released). 35 + "-DNSS_PKCS11_2_0_COMPAT=1" 36 ]; 37 38 nativeBuildInputs = [ makeWrapper pkgconfig ]; ··· 86 meta = with stdenv.lib; { 87 homepage = "https://libreswan.org"; 88 description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange"; 89 + platforms = platforms.linux ++ platforms.freebsd; 90 license = licenses.gpl2; 91 maintainers = [ maintainers.afranchuk ]; 92 };
+6
pkgs/top-level/all-packages.nix
··· 3999 4000 feedgnuplot = callPackage ../tools/graphics/feedgnuplot { }; 4001 4002 fbv = callPackage ../tools/graphics/fbv { }; 4003 4004 fbvnc = callPackage ../tools/admin/fbvnc {}; ··· 18456 kernelPatches = [ 18457 kernelPatches.bridge_stp_helper 18458 kernelPatches.request_key_helper 18459 kernelPatches.export_kernel_fpu_functions."5.3" 18460 ]; 18461 }; ··· 19211 rtl8192su-firmware = callPackage ../os-specific/linux/firmware/rtl8192su-firmware { }; 19212 19213 rtl8723bs-firmware = callPackage ../os-specific/linux/firmware/rtl8723bs-firmware { }; 19214 19215 rtlwifi_new-firmware = callPackage ../os-specific/linux/firmware/rtlwifi_new-firmware { }; 19216 ··· 25591 anki = python3Packages.callPackage ../games/anki { 25592 inherit (darwin.apple_sdk.frameworks) CoreAudio; 25593 }; 25594 25595 armagetronad = callPackage ../games/armagetronad { }; 25596
··· 3999 4000 feedgnuplot = callPackage ../tools/graphics/feedgnuplot { }; 4001 4002 + fbcat = callPackage ../tools/misc/fbcat { }; 4003 + 4004 fbv = callPackage ../tools/graphics/fbv { }; 4005 4006 fbvnc = callPackage ../tools/admin/fbvnc {}; ··· 18458 kernelPatches = [ 18459 kernelPatches.bridge_stp_helper 18460 kernelPatches.request_key_helper 18461 + kernelPatches.rtl8761b_support 18462 kernelPatches.export_kernel_fpu_functions."5.3" 18463 ]; 18464 }; ··· 19214 rtl8192su-firmware = callPackage ../os-specific/linux/firmware/rtl8192su-firmware { }; 19215 19216 rtl8723bs-firmware = callPackage ../os-specific/linux/firmware/rtl8723bs-firmware { }; 19217 + 19218 + rtl8761b-firmware = callPackage ../os-specific/linux/firmware/rtl8761b-firmware { }; 19219 19220 rtlwifi_new-firmware = callPackage ../os-specific/linux/firmware/rtlwifi_new-firmware { }; 19221 ··· 25596 anki = python3Packages.callPackage ../games/anki { 25597 inherit (darwin.apple_sdk.frameworks) CoreAudio; 25598 }; 25599 + anki-bin = callPackage ../games/anki/bin.nix { buildFHSUserEnv = buildFHSUserEnvBubblewrap; }; 25600 25601 armagetronad = callPackage ../games/armagetronad { }; 25602