Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub d8aac1a8 e8a89451

+142 -93
-1
lib/systems/inspect.nix
··· 11 isi686 = { cpu = cpuTypes.i686; }; 12 isx86_32 = { cpu = { family = "x86"; bits = 32; }; }; 13 isx86_64 = { cpu = { family = "x86"; bits = 64; }; }; 14 - isPowerPC = { cpu = cpuTypes.powerpc; }; 15 isPower = { cpu = { family = "power"; }; }; 16 isPower64 = { cpu = { family = "power"; bits = 64; }; }; 17 isx86 = { cpu = { family = "x86"; }; };
··· 11 isi686 = { cpu = cpuTypes.i686; }; 12 isx86_32 = { cpu = { family = "x86"; bits = 32; }; }; 13 isx86_64 = { cpu = { family = "x86"; bits = 64; }; }; 14 isPower = { cpu = { family = "power"; }; }; 15 isPower64 = { cpu = { family = "power"; bits = 64; }; }; 16 isx86 = { cpu = { family = "x86"; }; };
+16 -1
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 51 </section> 52 <section xml:id="sec-release-22.11-incompatibilities"> 53 <title>Backward Incompatibilities</title> 54 - <itemizedlist spacing="compact"> 55 <listitem> 56 <para> 57 The <literal>isCompatible</literal> predicate checking CPU ··· 67 exists, but has changed semantically: Architectures with 68 differing endianness modes are <emphasis>no longer considered 69 compatible</emphasis>. 70 </para> 71 </listitem> 72 </itemizedlist>
··· 51 </section> 52 <section xml:id="sec-release-22.11-incompatibilities"> 53 <title>Backward Incompatibilities</title> 54 + <itemizedlist> 55 <listitem> 56 <para> 57 The <literal>isCompatible</literal> predicate checking CPU ··· 67 exists, but has changed semantically: Architectures with 68 differing endianness modes are <emphasis>no longer considered 69 compatible</emphasis>. 70 + </para> 71 + </listitem> 72 + <listitem> 73 + <para> 74 + The <literal>isPowerPC</literal> predicate, found on 75 + <literal>platform</literal> attrsets 76 + (<literal>hostPlatform</literal>, 77 + <literal>buildPlatform</literal>, 78 + <literal>targetPlatform</literal>, etc) has been removed in 79 + order to reduce confusion. The predicate was was defined such 80 + that it matches only the 32-bit big-endian members of the 81 + POWER/PowerPC family, despite having a name which would imply 82 + a broader set of systems. If you were using this predicate, 83 + you can replace <literal>foo.isPowerPC</literal> with 84 + <literal>(with foo; isPower &amp;&amp; is32bit &amp;&amp; isBigEndian)</literal>. 85 </para> 86 </listitem> 87 </itemizedlist>
+3
nixos/doc/manual/release-notes/rl-2211.section.md
··· 37 `lib.systems.parse.isCompatible` still exists, but has changed semantically: 38 Architectures with differing endianness modes are *no longer considered compatible*. 39 40 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 41 42 ## Other Notable Changes {#sec-release-22.11-notable-changes}
··· 37 `lib.systems.parse.isCompatible` still exists, but has changed semantically: 38 Architectures with differing endianness modes are *no longer considered compatible*. 39 40 + - The `isPowerPC` predicate, found on `platform` attrsets (`hostPlatform`, `buildPlatform`, `targetPlatform`, etc) has been removed in order to reduce confusion. The predicate was was defined such that it matches only the 32-bit big-endian members of the POWER/PowerPC family, despite having a name which would imply a broader set of systems. If you were using this predicate, you can replace `foo.isPowerPC` with `(with foo; isPower && is32bit && isBigEndian)`. 41 + 42 + 43 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 44 45 ## Other Notable Changes {#sec-release-22.11-notable-changes}
+1 -1
nixos/modules/installer/cd-dvd/iso-image.nix
··· 479 + lib.optionalString (isx86_32 || isx86_64) "-Xbcj x86" 480 # Untested but should also reduce size for these platforms 481 + lib.optionalString (isAarch32 || isAarch64) "-Xbcj arm" 482 - + lib.optionalString (isPowerPC) "-Xbcj powerpc" 483 + lib.optionalString (isSparc) "-Xbcj sparc"; 484 description = '' 485 Compression settings to use for the squashfs nix store.
··· 479 + lib.optionalString (isx86_32 || isx86_64) "-Xbcj x86" 480 # Untested but should also reduce size for these platforms 481 + lib.optionalString (isAarch32 || isAarch64) "-Xbcj arm" 482 + + lib.optionalString (isPower && is32bit && isBigEndian) "-Xbcj powerpc" 483 + lib.optionalString (isSparc) "-Xbcj sparc"; 484 description = '' 485 Compression settings to use for the squashfs nix store.
+1 -1
pkgs/applications/editors/setzer/default.nix
··· 51 propagatedBuildInputs = with python3.pkgs; [ 52 pygobject3 53 pyxdg 54 - pdfminer 55 pycairo 56 pexpect 57 ];
··· 51 propagatedBuildInputs = with python3.pkgs; [ 52 pygobject3 53 pyxdg 54 + pdfminer-six 55 pycairo 56 pexpect 57 ];
+2 -2
pkgs/applications/misc/visidata/default.nix
··· 14 , pyshp 15 , fonttools 16 , pyyaml 17 - , pdfminer 18 , vobject 19 , tabulate 20 , wcwidth ··· 55 pyyaml 56 #namestand 57 #datapackage 58 - pdfminer 59 #tabula 60 vobject 61 tabulate
··· 14 , pyshp 15 , fonttools 16 , pyyaml 17 + , pdfminer-six 18 , vobject 19 , tabulate 20 , wcwidth ··· 55 pyyaml 56 #namestand 57 #datapackage 58 + pdfminer-six 59 #tabula 60 vobject 61 tabulate
+2 -3
pkgs/applications/networking/browsers/chromium/common.nix
··· 166 ./patches/m102-fix-dawn_version_generator-failure.patch 167 ]; 168 169 - postPatch = optionalString (chromiumVersionAtLeast "102") '' 170 # Workaround/fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1313361: 171 substituteInPlace BUILD.gn \ 172 --replace '"//infra/orchestrator:orchestrator_all",' "" ··· 174 substituteInPlace build/config/compiler/BUILD.gn \ 175 --replace '"-Xclang",' "" \ 176 --replace '"-no-opaque-pointers",' "" 177 - '' + '' 178 # remove unused third-party 179 for lib in ${toString gnSystemLibraries}; do 180 if [ -d "third_party/$lib" ]; then ··· 194 --replace "/usr/bin/env -S make -f" "/usr/bin/make -f" 195 fi 196 chmod -x third_party/webgpu-cts/src/tools/run_deno 197 - ${lib.optionalString (chromiumVersionAtLeast "102") "chmod -x third_party/dawn/third_party/webgpu-cts/tools/run_deno"} 198 199 # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX 200 substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \
··· 166 ./patches/m102-fix-dawn_version_generator-failure.patch 167 ]; 168 169 + postPatch = '' 170 # Workaround/fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1313361: 171 substituteInPlace BUILD.gn \ 172 --replace '"//infra/orchestrator:orchestrator_all",' "" ··· 174 substituteInPlace build/config/compiler/BUILD.gn \ 175 --replace '"-Xclang",' "" \ 176 --replace '"-no-opaque-pointers",' "" 177 # remove unused third-party 178 for lib in ${toString gnSystemLibraries}; do 179 if [ -d "third_party/$lib" ]; then ··· 193 --replace "/usr/bin/env -S make -f" "/usr/bin/make -f" 194 fi 195 chmod -x third_party/webgpu-cts/src/tools/run_deno 196 + chmod -x third_party/dawn/third_party/webgpu-cts/tools/run_deno 197 198 # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX 199 substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \
+8 -8
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 45 } 46 }, 47 "ungoogled-chromium": { 48 - "version": "101.0.4951.64", 49 - "sha256": "1xyqm32y9v1hn8ji6qfw6maynqgg3266j58dq4x4aqsm2gj9cn4w", 50 - "sha256bin64": "14ijrj7h2y72ppyysz6jv40c01lbnan7z69cl24asch2zjlgwv8v", 51 "deps": { 52 "gn": { 53 - "version": "2022-03-14", 54 "url": "https://gn.googlesource.com/gn", 55 - "rev": "bd99dbf98cbdefe18a4128189665c5761263bcfb", 56 - "sha256": "0nql15ckjqkm001xajq3qyn4h4q80i7x6dm9zinxxr1a8q5lppx3" 57 }, 58 "ungoogled-patches": { 59 - "rev": "101.0.4951.64-1", 60 - "sha256": "0k7w6xvjf1yzyak9ywvcdw762d8zbx6d8haz35q87jz0mxfn2mr3" 61 } 62 } 63 }
··· 45 } 46 }, 47 "ungoogled-chromium": { 48 + "version": "102.0.5005.61", 49 + "sha256": "07vbi3gn9g4n04b2qi2hm34r122snrqaifa46yk3pyh1d79rfdqs", 50 + "sha256bin64": "100n8k3d9k5bq58irc36ig6m5m0lxggffyk4crqqqcib2anqd0zv", 51 "deps": { 52 "gn": { 53 + "version": "2022-04-14", 54 "url": "https://gn.googlesource.com/gn", 55 + "rev": "fd9f2036f26d83f9fcfe93042fb952e5a7fe2167", 56 + "sha256": "0b5xs0chcv3hfhy71rycsmgxnqbm375a333hwav8929k9cbi5p9h" 57 }, 58 "ungoogled-patches": { 59 + "rev": "102.0.5005.61-1", 60 + "sha256": "1hlyi6k894blkkqmqsizx72bag2vj6wlpza0fvi8db5wp6i5b58g" 61 } 62 } 63 }
+1 -1
pkgs/applications/networking/browsers/elinks/default.nix
··· 4 , # Incompatible licenses, LGPLv3 - GPLv2 5 enableGuile ? false, guile ? null 6 , enablePython ? false, python ? null 7 - , enablePerl ? (stdenv.hostPlatform == stdenv.buildPlatform), perl ? null 8 # re-add javascript support when upstream supports modern spidermonkey 9 }: 10
··· 4 , # Incompatible licenses, LGPLv3 - GPLv2 5 enableGuile ? false, guile ? null 6 , enablePython ? false, python ? null 7 + , enablePerl ? (!stdenv.isDarwin) && (stdenv.hostPlatform == stdenv.buildPlatform), perl ? null 8 # re-add javascript support when upstream supports modern spidermonkey 9 }: 10
+1 -1
pkgs/applications/office/paperless-ngx/default.nix
··· 92 numpy 93 ocrmypdf 94 pathvalidate 95 - pdfminer 96 pikepdf 97 pillow 98 pluggy
··· 92 numpy 93 ocrmypdf 94 pathvalidate 95 + pdfminer-six 96 pikepdf 97 pillow 98 pluggy
+2 -2
pkgs/applications/science/math/qalculate-gtk/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "qalculate-gtk"; 5 - version = "4.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "qalculate"; 9 repo = "qalculate-gtk"; 10 rev = "v${version}"; 11 - sha256 = "sha256-itYNKcdWYMoqlvZ7CYJ6WMv7rS/y1SVdt3O7ahkjPOk="; 12 }; 13 14 hardeningDisable = [ "format" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "qalculate-gtk"; 5 + version = "4.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "qalculate"; 9 repo = "qalculate-gtk"; 10 rev = "v${version}"; 11 + sha256 = "sha256-SphruQ/b8z5S/wKb9yhbEy9/pwiY+frZltdIYj0CJBM="; 12 }; 13 14 hardeningDisable = [ "format" ];
+1 -1
pkgs/build-support/kernel/compress-firmware-xz.nix
··· 7 (cd ${firmware} && find lib/firmware -type d -print0) | 8 (cd $out && xargs -0 mkdir -v --) 9 (cd ${firmware} && find lib/firmware -type f -print0) | 10 - (cd $out && xargs -0tP "$NIX_BUILD_CORES" -n1 \ 11 sh -c 'xz -9c -T1 -C crc32 --lzma2=dict=2MiB "${firmware}/$1" > "$1.xz"' --) 12 (cd ${firmware} && find lib/firmware -type l) | while read link; do 13 target="$(readlink "${firmware}/$link")"
··· 7 (cd ${firmware} && find lib/firmware -type d -print0) | 8 (cd $out && xargs -0 mkdir -v --) 9 (cd ${firmware} && find lib/firmware -type f -print0) | 10 + (cd $out && xargs -0rtP "$NIX_BUILD_CORES" -n1 \ 11 sh -c 'xz -9c -T1 -C crc32 --lzma2=dict=2MiB "${firmware}/$1" > "$1.xz"' --) 12 (cd ${firmware} && find lib/firmware -type l) | while read link; do 13 target="$(readlink "${firmware}/$link")"
+3 -3
pkgs/development/compilers/flutter/default.nix
··· 10 11 # Decouples flutter derivation from dart derivation, 12 # use specific dart version to not need to bump dart derivation when bumping flutter. 13 - dartVersion = "2.16.1"; 14 dartSourceBase = "https://storage.googleapis.com/dart-archive/channels"; 15 dartForFlutter = dart.override { 16 version = dartVersion; 17 sources = { 18 "${dartVersion}-x86_64-linux" = fetchurl { 19 url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip"; 20 - sha256 = "sha256-PMY6DCFQC8XrlnFzOEPcwgBAs5/cAvNd78969Z+I1Fk="; 21 }; 22 }; 23 }; 24 in { 25 - mkFlutter = mkFlutter; 26 stable = mkFlutter rec { 27 inherit version; 28 dart = dartForFlutter;
··· 10 11 # Decouples flutter derivation from dart derivation, 12 # use specific dart version to not need to bump dart derivation when bumping flutter. 13 + dartVersion = "2.16.2"; 14 dartSourceBase = "https://storage.googleapis.com/dart-archive/channels"; 15 dartForFlutter = dart.override { 16 version = dartVersion; 17 sources = { 18 "${dartVersion}-x86_64-linux" = fetchurl { 19 url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip"; 20 + sha256 = "sha256-egrYd7B4XhkBiHPIFE2zopxKtQ58GqlogAKA/UeiXnI="; 21 }; 22 }; 23 }; 24 in { 25 + inherit mkFlutter; 26 stable = mkFlutter rec { 27 inherit version; 28 dart = dartForFlutter;
+1 -1
pkgs/development/compilers/ghc/8.10.7.nix
··· 12 libffi ? null 13 14 , useLLVM ? !(stdenv.targetPlatform.isx86 15 - || stdenv.targetPlatform.isPowerPC 16 || stdenv.targetPlatform.isSparc) 17 , # LLVM is conceptually a run-time-only depedendency, but for 18 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
··· 12 libffi ? null 13 14 , useLLVM ? !(stdenv.targetPlatform.isx86 15 + || stdenv.targetPlatform.isPower 16 || stdenv.targetPlatform.isSparc) 17 , # LLVM is conceptually a run-time-only depedendency, but for 18 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
+1 -1
pkgs/development/compilers/ghc/8.8.4.nix
··· 11 libffi ? null 12 13 , useLLVM ? !(stdenv.targetPlatform.isx86 14 - || stdenv.targetPlatform.isPowerPC 15 || stdenv.targetPlatform.isSparc) 16 , # LLVM is conceptually a run-time-only depedendency, but for 17 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
··· 11 libffi ? null 12 13 , useLLVM ? !(stdenv.targetPlatform.isx86 14 + || stdenv.targetPlatform.isPower 15 || stdenv.targetPlatform.isSparc) 16 , # LLVM is conceptually a run-time-only depedendency, but for 17 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
+1 -1
pkgs/development/compilers/ghc/9.0.2.nix
··· 14 libffi ? null 15 16 , useLLVM ? !(stdenv.targetPlatform.isx86 17 - || stdenv.targetPlatform.isPowerPC 18 || stdenv.targetPlatform.isSparc) 19 , # LLVM is conceptually a run-time-only depedendency, but for 20 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
··· 14 libffi ? null 15 16 , useLLVM ? !(stdenv.targetPlatform.isx86 17 + || stdenv.targetPlatform.isPower 18 || stdenv.targetPlatform.isSparc) 19 , # LLVM is conceptually a run-time-only depedendency, but for 20 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
+1 -1
pkgs/development/compilers/ghc/9.2.2.nix
··· 13 libffi ? null 14 15 , useLLVM ? !(stdenv.targetPlatform.isx86 16 - || stdenv.targetPlatform.isPowerPC 17 || stdenv.targetPlatform.isSparc 18 || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 19 , # LLVM is conceptually a run-time-only depedendency, but for
··· 13 libffi ? null 14 15 , useLLVM ? !(stdenv.targetPlatform.isx86 16 + || stdenv.targetPlatform.isPower 17 || stdenv.targetPlatform.isSparc 18 || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 19 , # LLVM is conceptually a run-time-only depedendency, but for
+1 -1
pkgs/development/compilers/ghc/head.nix
··· 19 , elfutils # for DWARF support 20 21 , useLLVM ? !(stdenv.targetPlatform.isx86 22 - || stdenv.targetPlatform.isPowerPC 23 || stdenv.targetPlatform.isSparc 24 || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 25 , # LLVM is conceptually a run-time-only depedendency, but for
··· 19 , elfutils # for DWARF support 20 21 , useLLVM ? !(stdenv.targetPlatform.isx86 22 + || stdenv.targetPlatform.isPower 23 || stdenv.targetPlatform.isSparc 24 || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 25 , # LLVM is conceptually a run-time-only depedendency, but for
+8 -12
pkgs/development/compilers/ocaml/ber-metaocaml.nix
··· 9 x11deps = [ libX11 xorgproto ]; 10 inherit (lib) optionals; 11 12 - baseOcamlBranch = "4.07"; 13 baseOcamlVersion = "${baseOcamlBranch}.1"; 14 - metaocamlPatch = "107"; 15 in 16 17 stdenv.mkDerivation rec { ··· 20 21 src = fetchurl { 22 url = "https://caml.inria.fr/pub/distrib/ocaml-${baseOcamlBranch}/ocaml-${baseOcamlVersion}.tar.gz"; 23 - sha256 = "1x4sln131mcspisr22qc304590rvg720rbl7g2i4xiymgvhkpm1a"; 24 }; 25 26 metaocaml = fetchurl { 27 - url = "http://okmij.org/ftp/ML/ber-metaocaml-107.tar.gz"; 28 - sha256 = "0xy6n0yj1f53pk612zfmn49pn04bd75qa40xgmr0w0lzx6dqsfmm"; 29 }; 30 31 x11env = buildEnv { name = "x11env"; paths = x11deps; }; ··· 33 x11inc = "${x11env}/include"; 34 35 prefixKey = "-prefix "; 36 - configureFlags = optionals useX11 37 - [ "-x11lib" x11lib 38 - "-x11include" x11inc 39 - "-flambda" 40 - ]; 41 42 dontStrip = true; 43 buildInputs = [ ncurses ] ++ optionals useX11 x11deps; ··· 48 # used SIGSTKSZ as the size of a statically-allocated array. This 49 # patch is also applied by the ocaml/4.07.nix expression. 50 (fetchpatch { 51 - url = "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch"; 52 - sha256 = "sha256:02cfya5ff5szx0fsl5x8ax76jyrla9zmf3qxavf3adhwq5ssrfcv"; 53 }) 54 ]; 55
··· 9 x11deps = [ libX11 xorgproto ]; 10 inherit (lib) optionals; 11 12 + baseOcamlBranch = "4.11"; 13 baseOcamlVersion = "${baseOcamlBranch}.1"; 14 + metaocamlPatch = "111"; 15 in 16 17 stdenv.mkDerivation rec { ··· 20 21 src = fetchurl { 22 url = "https://caml.inria.fr/pub/distrib/ocaml-${baseOcamlBranch}/ocaml-${baseOcamlVersion}.tar.gz"; 23 + sha256 = "sha256-3Yi2OFvZLgrZInMuKMxoyHd4QXcOoAPCC9FS9dtEFc4="; 24 }; 25 26 metaocaml = fetchurl { 27 + url = "http://okmij.org/ftp/ML/ber-metaocaml-${metaocamlPatch}.tar.gz"; 28 + sha256 = "sha256-hDb0w0ZCm0hCz8jktZKmr/7gPSfBoKPT/cc7sPjt0yE="; 29 }; 30 31 x11env = buildEnv { name = "x11env"; paths = x11deps; }; ··· 33 x11inc = "${x11env}/include"; 34 35 prefixKey = "-prefix "; 36 + configureFlags = optionals useX11 [ "--enable-flambda" ]; 37 38 dontStrip = true; 39 buildInputs = [ ncurses ] ++ optionals useX11 x11deps; ··· 44 # used SIGSTKSZ as the size of a statically-allocated array. This 45 # patch is also applied by the ocaml/4.07.nix expression. 46 (fetchpatch { 47 + url = "https://github.com/ocaml/ocaml/commit/dd28ac0cf4365bd0ea1bcc374cbc5e95a6f39bea.patch"; 48 + sha256 = "sha256-OmyovAu+8sgg3n5YD29Cytx3u/9PO2ofMsmrwiKUxks="; 49 }) 50 ]; 51
+2 -2
pkgs/development/libraries/libqalculate/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "libqalculate"; 6 - version = "4.1.1"; 7 8 src = fetchFromGitHub { 9 owner = "qalculate"; 10 repo = "libqalculate"; 11 rev = "v${version}"; 12 - sha256 = "sha256-y9GNf2xR3bZ8Pj99Y8qSBbK+hQEkg/+xOzUdyFI5HLw="; 13 }; 14 15 outputs = [ "out" "dev" "doc" ];
··· 3 4 stdenv.mkDerivation rec { 5 pname = "libqalculate"; 6 + version = "4.2.0"; 7 8 src = fetchFromGitHub { 9 owner = "qalculate"; 10 repo = "libqalculate"; 11 rev = "v${version}"; 12 + sha256 = "sha256-mIzHizoDsdSVcepWACeVkCTgt4gxd99WKXrrGi+qASo="; 13 }; 14 15 outputs = [ "out" "dev" "doc" ];
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 - version = "1.5.3"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 - sha256 = "sha256-4fB0IIKZNNU7MfHRhdjNhP7RQMWcvfqawj2P01LIPa0="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 + version = "1.5.4"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 + sha256 = "sha256-V9wQXXPeoplxVcFDIhQcJFnKkewwDEaoQfTsQ7IyjOU="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ocrmypdf/default.nix
··· 7 , importlib-metadata 8 , importlib-resources 9 , jbig2enc 10 - , pdfminer 11 , pikepdf 12 , pillow 13 , pluggy ··· 63 propagatedBuildInputs = [ 64 coloredlogs 65 img2pdf 66 - pdfminer 67 pikepdf 68 pillow 69 pluggy
··· 7 , importlib-metadata 8 , importlib-resources 9 , jbig2enc 10 + , pdfminer-six 11 , pikepdf 12 , pillow 13 , pluggy ··· 63 propagatedBuildInputs = [ 64 coloredlogs 65 img2pdf 66 + pdfminer-six 67 pikepdf 68 pillow 69 pluggy
+3 -3
pkgs/development/python-modules/pdfminer_six/default.nix pkgs/development/python-modules/pdfminer-six/default.nix
··· 9 }: 10 11 buildPythonPackage rec { 12 - pname = "pdfminer_six"; 13 - version = "20220506"; 14 15 disabled = !isPy3k; 16 ··· 18 owner = "pdfminer"; 19 repo = "pdfminer.six"; 20 rev = version; 21 - sha256 = "sha256-Lq+ou7+Lmr1H69L8X/vuky+/tXDD3bBBaCysymeRuXA="; 22 }; 23 24 propagatedBuildInputs = [ charset-normalizer cryptography ];
··· 9 }: 10 11 buildPythonPackage rec { 12 + pname = "pdfminer-six"; 13 + version = "20220524"; 14 15 disabled = !isPy3k; 16 ··· 18 owner = "pdfminer"; 19 repo = "pdfminer.six"; 20 rev = version; 21 + sha256 = "sha256-XO9sdHeS/8MgVW0mxbTe2AY5BDfnBSDNzZwLsSKmQh0="; 22 }; 23 24 propagatedBuildInputs = [ charset-normalizer cryptography ];
+2 -2
pkgs/development/python-modules/pdfx/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, pdfminer, chardet, pytestCheckHook }: 2 3 buildPythonPackage rec { 4 pname = "pdfx"; ··· 17 --replace "pdfminer.six==20201018" "pdfminer.six" 18 ''; 19 20 - propagatedBuildInputs = [ pdfminer chardet ]; 21 22 checkInputs = [ pytestCheckHook ]; 23
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, pdfminer-six, chardet, pytestCheckHook }: 2 3 buildPythonPackage rec { 4 pname = "pdfx"; ··· 17 --replace "pdfminer.six==20201018" "pdfminer.six" 18 ''; 19 20 + propagatedBuildInputs = [ pdfminer-six chardet ]; 21 22 checkInputs = [ pytestCheckHook ]; 23
+35 -9
pkgs/development/python-modules/pygit2/default.nix
··· 1 - { stdenv, lib, buildPythonPackage, fetchPypi, isPyPy, isPy3k, libgit2, cached-property, pytestCheckHook, cffi, cacert }: 2 3 buildPythonPackage rec { 4 pname = "pygit2"; 5 - version = "1.9.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "sha256-72R5w7YZKCUxawVjNtt36/9ueEmusfu4i3YAGsM3uck="; 10 }; 11 12 preConfigure = lib.optionalString stdenv.isDarwin '' ··· 19 20 propagatedBuildInputs = [ 21 cached-property 22 - ] ++ lib.optional (!isPyPy) cffi; 23 24 - propagatedNativeBuildInputs = lib.optional (!isPyPy) cffi; 25 26 - checkInputs = [ pytestCheckHook ]; 27 28 disabledTestPaths = [ 29 - # disable tests that require networking 30 "test/test_repository.py" 31 "test/test_credentials.py" 32 "test/test_submodule.py" ··· 44 # https://github.com/NixOS/nixpkgs/pull/72544#issuecomment-582681068 45 doCheck = false; 46 47 meta = with lib; { 48 description = "A set of Python bindings to the libgit2 shared library"; 49 - homepage = "https://pypi.python.org/pypi/pygit2"; 50 - license = licenses.gpl2; 51 maintainers = with maintainers; [ ]; 52 }; 53 }
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , cacert 5 + , cached-property 6 + , cffi 7 + , fetchPypi 8 + , isPyPy 9 + , libgit2 10 + , pycparser 11 + , pytestCheckHook 12 + , pythonOlder 13 + }: 14 15 buildPythonPackage rec { 16 pname = "pygit2"; 17 + version = "1.9.2"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-IIlEM98RRkgarK434rDzu7/eoCbbL1UGEXC9mCPkCxk="; 25 }; 26 27 preConfigure = lib.optionalString stdenv.isDarwin '' ··· 34 35 propagatedBuildInputs = [ 36 cached-property 37 + pycparser 38 + ] ++ lib.optional (!isPyPy) [ 39 + cffi 40 + ]; 41 42 + propagatedNativeBuildInputs = lib.optional (!isPyPy) [ 43 + cffi 44 + ]; 45 46 + checkInputs = [ 47 + pytestCheckHook 48 + ]; 49 50 disabledTestPaths = [ 51 + # Disable tests that require networking 52 "test/test_repository.py" 53 "test/test_credentials.py" 54 "test/test_submodule.py" ··· 66 # https://github.com/NixOS/nixpkgs/pull/72544#issuecomment-582681068 67 doCheck = false; 68 69 + pythonImportsCheck = [ 70 + "pygit2" 71 + ]; 72 + 73 meta = with lib; { 74 description = "A set of Python bindings to the libgit2 shared library"; 75 + homepage = "https://github.com/libgit2/pygit2"; 76 + license = licenses.gpl2Only; 77 maintainers = with maintainers; [ ]; 78 }; 79 }
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 - version = "3.12.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "sha256-MrvfSC6Uz/EJXQ3F5jAbWR0YJYRjqjwO7SIe0AUSOfA="; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 + version = "3.12.4"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "sha256-lAbeCTjEUsNnjhJZNHs4ir8V0bJZUnBIGYYEXV80wyg="; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/typecode/default.nix
··· 3 , buildPythonPackage 4 , setuptools-scm 5 , attrs 6 - , pdfminer 7 , commoncode 8 , plugincode 9 , binaryornot ··· 33 34 propagatedBuildInputs = [ 35 attrs 36 - pdfminer 37 commoncode 38 plugincode 39 binaryornot
··· 3 , buildPythonPackage 4 , setuptools-scm 5 , attrs 6 + , pdfminer-six 7 , commoncode 8 , plugincode 9 , binaryornot ··· 33 34 propagatedBuildInputs = [ 35 attrs 36 + pdfminer-six 37 commoncode 38 plugincode 39 binaryornot
+2 -2
pkgs/development/python-modules/weboob/default.nix
··· 12 , lxml 13 , mechanize 14 , nose 15 - , pdfminer 16 , pillow 17 , prettytable 18 , pyqt5 ··· 54 libyaml 55 lxml 56 mechanize 57 - pdfminer 58 pillow 59 prettytable 60 pyqt5
··· 12 , lxml 13 , mechanize 14 , nose 15 + , pdfminer-six 16 , pillow 17 , prettytable 18 , pyqt5 ··· 54 libyaml 55 lxml 56 mechanize 57 + pdfminer-six 58 pillow 59 prettytable 60 pyqt5
+2 -2
pkgs/development/python-modules/woob/default.nix
··· 13 , lxml 14 , mechanize 15 , nose 16 - , pdfminer 17 , pillow 18 , prettytable 19 , pyqt5 ··· 57 libyaml 58 lxml 59 mechanize 60 - pdfminer 61 pillow 62 prettytable 63 pyqt5
··· 13 , lxml 14 , mechanize 15 , nose 16 + , pdfminer-six 17 , pillow 18 , prettytable 19 , pyqt5 ··· 57 libyaml 58 lxml 59 mechanize 60 + pdfminer-six 61 pillow 62 prettytable 63 pyqt5
+2 -2
pkgs/development/tools/go-task/default.nix
··· 2 3 buildGoModule rec { 4 pname = "go-task"; 5 - version = "3.12.0"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "task"; 10 rev = "v${version}"; 11 - sha256 = "sha256-FArt9w4nZJW/Kql3Y2rr/IVz+SnWCS2lzNMWF6TN0Bg="; 12 }; 13 14 vendorSha256 = "sha256-73DtLYyq3sltzv4VtZMlZaSbP9zA9RZw2wgXVkzwrso=";
··· 2 3 buildGoModule rec { 4 pname = "go-task"; 5 + version = "3.12.1"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "task"; 10 rev = "v${version}"; 11 + sha256 = "sha256-N/xx5gATuLrHcWnMXgFMmz3wbFtaHsiPfDaNhdTbk5c="; 12 }; 13 14 vendorSha256 = "sha256-73DtLYyq3sltzv4VtZMlZaSbP9zA9RZw2wgXVkzwrso=";
+3 -3
pkgs/development/tools/golangci-lint/default.nix
··· 2 3 buildGoModule rec { 4 pname = "golangci-lint"; 5 - version = "1.45.2"; 6 7 src = fetchFromGitHub { 8 owner = "golangci"; 9 repo = "golangci-lint"; 10 rev = "v${version}"; 11 - sha256 = "sha256-Mr45nJbpyzxo0ZPwx22JW2WrjyjI9FPpl+gZ7NIc6WQ="; 12 }; 13 14 - vendorSha256 = "sha256-pcbKg1ePN8pObS9EzP3QYjtaty27L9sroKUs/qEPtJo="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "golangci-lint"; 5 + version = "1.46.2"; 6 7 src = fetchFromGitHub { 8 owner = "golangci"; 9 repo = "golangci-lint"; 10 rev = "v${version}"; 11 + sha256 = "sha256-7sDAwWz+qoB/ngeH35tsJ5FZUfAQvQsU6kU9rUHIHMk="; 12 }; 13 14 + vendorSha256 = "sha256-w38OKN6HPoz37utG/2QSPMai55IRDXCIIymeMe6ogIU="; 15 16 doCheck = false; 17
+1 -1
pkgs/os-specific/linux/kernel-headers/default.nix
··· 27 flex bison python rsync 28 ]; 29 30 - extraIncludeDirs = lib.optional stdenvNoCC.hostPlatform.isPowerPC ["ppc"]; 31 32 inherit patches; 33
··· 27 flex bison python rsync 28 ]; 29 30 + extraIncludeDirs = lib.optional (with stdenvNoCC.hostPlatform; isPower && is32bit && isBigEndian) ["ppc"]; 31 32 inherit patches; 33
+1 -1
pkgs/os-specific/linux/kernel/common-config.nix
··· 29 mkIf (stdenv.hostPlatform.isAarch32 || 30 stdenv.hostPlatform.isAarch64 || 31 stdenv.hostPlatform.isx86_64 || 32 - (stdenv.hostPlatform.isPowerPC && stdenv.hostPlatform.is64bit) || 33 (stdenv.hostPlatform.isMips && stdenv.hostPlatform.is64bit)); 34 35 options = {
··· 29 mkIf (stdenv.hostPlatform.isAarch32 || 30 stdenv.hostPlatform.isAarch64 || 31 stdenv.hostPlatform.isx86_64 || 32 + (stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) || 33 (stdenv.hostPlatform.isMips && stdenv.hostPlatform.is64bit)); 34 35 options = {
+1 -1
pkgs/servers/sql/mariadb/default.nix
··· 60 61 cmakeFlags = [ 62 "-DBUILD_CONFIG=mysql_release" 63 - "-DMANUFACTURER=NixOS.org" 64 "-DDEFAULT_CHARSET=utf8mb4" 65 "-DDEFAULT_COLLATION=utf8mb4_unicode_ci" 66 "-DSECURITY_HARDENED=ON"
··· 60 61 cmakeFlags = [ 62 "-DBUILD_CONFIG=mysql_release" 63 + "-DMANUFACTURER=nixos.org" 64 "-DDEFAULT_CHARSET=utf8mb4" 65 "-DDEFAULT_COLLATION=utf8mb4_unicode_ci" 66 "-DSECURITY_HARDENED=ON"
+1 -1
pkgs/tools/misc/diffoscope/default.nix
··· 57 ++ lib.optionals enableBloat ([ 58 abootimg apksigner apktool cbfstool colord enjarify ffmpeg fpc ghc ghostscriptX giflib gnupg gnumeric 59 hdf5 imagemagick libcaca llvm jdk mono ocaml odt2txt oggvideotools openssh pdftk poppler_utils procyon qemu R tcpdump ubootTools wabt radare2 xmlbeans 60 - ] ++ (with python3Packages; [ androguard binwalk guestfs h5py pdfminer ])); 61 62 checkInputs = with python3Packages; [ pytestCheckHook ] ++ pythonPath; 63
··· 57 ++ lib.optionals enableBloat ([ 58 abootimg apksigner apktool cbfstool colord enjarify ffmpeg fpc ghc ghostscriptX giflib gnupg gnumeric 59 hdf5 imagemagick libcaca llvm jdk mono ocaml odt2txt oggvideotools openssh pdftk poppler_utils procyon qemu R tcpdump ubootTools wabt radare2 xmlbeans 60 + ] ++ (with python3Packages; [ androguard binwalk guestfs h5py pdfminer-six ])); 61 62 checkInputs = with python3Packages; [ pytestCheckHook ] ++ pythonPath; 63
+2 -2
pkgs/tools/networking/ferm/default.nix
··· 3 let 4 inherit (lib.versions) majorMinor; 5 in stdenv.mkDerivation rec { 6 - version = "2.6"; 7 pname = "ferm"; 8 9 src = fetchurl { 10 url = "http://ferm.foo-projects.org/download/${majorMinor version}/ferm-${version}.tar.xz"; 11 - sha256 = "sha256-aJVBRl58Bzy9YEyc0Y8RPDHAtBuxJhRyalmxfkQFiIU="; 12 }; 13 14 # perl is used at build time to gather the ferm version.
··· 3 let 4 inherit (lib.versions) majorMinor; 5 in stdenv.mkDerivation rec { 6 + version = "2.7"; 7 pname = "ferm"; 8 9 src = fetchurl { 10 url = "http://ferm.foo-projects.org/download/${majorMinor version}/ferm-${version}.tar.xz"; 11 + sha256 = "sha256-wA2RDVOU5pZ1YI617g9QTVz9pB6ZCi2akbqsbfk+P5I="; 12 }; 13 14 # perl is used at build time to gather the ferm version.
+2 -2
pkgs/tools/security/ffuf/default.nix
··· 5 6 buildGoModule rec { 7 pname = "ffuf"; 8 - version = "1.4.1"; 9 10 src = fetchFromGitHub { 11 owner = pname; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-m+L78fVsqntD7JfgWS9foUJUhIVr+CtJ6K8etsLuNzw="; 15 }; 16 17 vendorSha256 = "sha256-szT08rIozAuliOmge5RFX4NeVrJ2pCVyfotrHuvc0UU=";
··· 5 6 buildGoModule rec { 7 pname = "ffuf"; 8 + version = "1.5.0"; 9 10 src = fetchFromGitHub { 11 owner = pname; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-dqABifXA104NCPdrWhB79cZQloJrqwJ45rlh+M/lRrs="; 15 }; 16 17 vendorSha256 = "sha256-szT08rIozAuliOmge5RFX4NeVrJ2pCVyfotrHuvc0UU=";
+14 -4
pkgs/tools/security/kubescape/default.nix
··· 6 7 buildGoModule rec { 8 pname = "kubescape"; 9 - version = "2.0.152"; 10 11 src = fetchFromGitHub { 12 owner = "armosec"; 13 repo = pname; 14 rev = "v${version}"; 15 - hash = "sha256-hibXmA2JerfnkGiSnBUCMHGPm4Tefnsl/x2VAS5z0Fo="; 16 }; 17 - vendorSha256 = "sha256-HfsQfoz1n3FEd2eVBBz3Za2jYCSrozXpL34Z8CgQsTA="; 18 19 nativeBuildInputs = [ 20 installShellFiles ··· 37 go list ./... | grep -v httphandler 38 } 39 40 - rm core/pkg/resourcehandler/{repositoryscanner,urlloader}_test.go 41 ''; 42 43 postInstall = ''
··· 6 7 buildGoModule rec { 8 pname = "kubescape"; 9 + version = "2.0.155"; 10 11 src = fetchFromGitHub { 12 owner = "armosec"; 13 repo = pname; 14 rev = "v${version}"; 15 + hash = "sha256-ZBjwgrF0Pkour1yXMcY4cZt3W2biCzmPd+EYcY4Ppz0="; 16 }; 17 + vendorSha256 = "sha256-zj2gDx5333AguLs1Gzu3bYXslDwvPFSbMmOTOFxmq6A="; 18 19 nativeBuildInputs = [ 20 installShellFiles ··· 37 go list ./... | grep -v httphandler 38 } 39 40 + # remove tests that use networking 41 + rm core/pkg/resourcehandler/urlloader_test.go 42 + 43 + # remove tests that use networking 44 + substituteInPlace core/pkg/resourcehandler/repositoryscanner_test.go \ 45 + --replace "TestScanRepository" "SkipScanRepository" \ 46 + --replace "TestGit" "SkipGit" 47 + 48 + # without networking the branch context can't be fetched and is empty 49 + substituteInPlace core/cautils/scaninfo_test.go \ 50 + --replace 'assert.Equal(t, "master", ctx.RepoContextMetadata.Branch)' 'assert.Equal(t, "", ctx.RepoContextMetadata.Branch)' 51 ''; 52 53 postInstall = ''
+2 -2
pkgs/tools/system/gdu/default.nix
··· 7 8 buildGoModule rec { 9 pname = "gdu"; 10 - version = "5.13.2"; 11 12 src = fetchFromGitHub { 13 owner = "dundee"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-2HADEp1nDkIl56e5oxY6bC+lRWanQwjlCChm0aI0N9Q="; 17 }; 18 19 vendorSha256 = "sha256-9+Zez33oET0nx/Xm3fXh1WFoQduMBodvml1oGO6jUYc=";
··· 7 8 buildGoModule rec { 9 pname = "gdu"; 10 + version = "5.14.0"; 11 12 src = fetchFromGitHub { 13 owner = "dundee"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-a0H/OqIHgutuW1egqlhMy5mX2FMYxmAwCbhecCrXuOU="; 17 }; 18 19 vendorSha256 = "sha256-9+Zez33oET0nx/Xm3fXh1WFoQduMBodvml1oGO6jUYc=";
+1 -1
pkgs/tools/text/invoice2data/default.nix
··· 25 propagatedBuildInputs = with python3.pkgs; [ 26 chardet 27 dateparser 28 - pdfminer 29 pillow 30 pyyaml 31 unidecode
··· 25 propagatedBuildInputs = with python3.pkgs; [ 26 chardet 27 dateparser 28 + pdfminer-six 29 pillow 30 pyyaml 31 unidecode
+1 -1
pkgs/tools/typesetting/tex/texlive/bin.nix
··· 33 ''; 34 35 configureFlags = [ 36 - "--with-banner-add=/NixOS.org" 37 "--disable-missing" "--disable-native-texlive-build" 38 "--enable-shared" # "--enable-cxx-runtime-hack" # static runtime 39 "--enable-tex-synctex"
··· 33 ''; 34 35 configureFlags = [ 36 + "--with-banner-add=/nixos.org" 37 "--disable-missing" "--disable-native-texlive-build" 38 "--enable-shared" # "--enable-cxx-runtime-hack" # static runtime 39 "--enable-tex-synctex"
+1 -1
pkgs/top-level/all-packages.nix
··· 9283 9284 pdftoipe = callPackage ../tools/graphics/pdftoipe { }; 9285 9286 - pdfminer = with python3Packages; toPythonApplication pdfminer; 9287 9288 pdf-quench = callPackage ../applications/misc/pdf-quench { }; 9289
··· 9283 9284 pdftoipe = callPackage ../tools/graphics/pdftoipe { }; 9285 9286 + pdfminer = with python3Packages; toPythonApplication pdfminer-six; 9287 9288 pdf-quench = callPackage ../applications/misc/pdf-quench { }; 9289
+1
pkgs/top-level/python-aliases.nix
··· 97 pam = python-pam; # added 2020-09-07. 98 PasteDeploy = pastedeploy; # added 2021-10-07 99 pathpy = path; # added 2022-04-12 100 pep257 = pydocstyle; # added 2022-04-12 101 postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29 102 powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
··· 97 pam = python-pam; # added 2020-09-07. 98 PasteDeploy = pastedeploy; # added 2021-10-07 99 pathpy = path; # added 2022-04-12 100 + pdfminer = pdfminer-six; # added 2022-05-25 101 pep257 = pydocstyle; # added 2022-04-12 102 postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29 103 powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
+1 -1
pkgs/top-level/python-packages.nix
··· 6256 6257 pdfkit = callPackage ../development/python-modules/pdfkit { }; 6258 6259 - pdfminer = callPackage ../development/python-modules/pdfminer_six { }; 6260 6261 pdfposter = callPackage ../development/python-modules/pdfposter { }; 6262
··· 6256 6257 pdfkit = callPackage ../development/python-modules/pdfkit { }; 6258 6259 + pdfminer-six = callPackage ../development/python-modules/pdfminer-six { }; 6260 6261 pdfposter = callPackage ../development/python-modules/pdfposter { }; 6262