Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
82fda16
auto-patchelf: add support for __structuredAttrs
Dec 7, 2023
efe033a
auto-patchelf: improve deprecation check by searching all elements
Dec 14, 2023
16dcac4
Test __structuredAttrs support in autoPatchelf
yannham Dec 20, 2023
eab95d4
Merge pull request #275923 from NixOS/backport-272752-to-staging-23.11
symphorien Jan 6, 2024
f0ba6bc
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 7, 2024
3e154fe
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 8, 2024
c127bbb
shared-mime-info: 2.3 -> 2.4
trofi Nov 16, 2023
85090ea
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 9, 2024
7e02fa3
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 10, 2024
9cc3559
readline: 8.2p1 -> 8.2p7
trofi Nov 22, 2023
2aa04fd
gtk3: 3.24.38 → 3.24.39
jtojnar Dec 20, 2023
9027e2f
Merge pull request #280090 from NixOS/backport-269128-to-staging-23.11
Ericson2314 Jan 10, 2024
1bfb213
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 11, 2024
0d807a5
readline: Get rid of temporary patch downgrade #280145 on staging-23.11
Ericson2314 Jan 11, 2024
22c419f
Merge branch 'staging-next-23.11' into staging-23.11
wegank Jan 11, 2024
d66d5de
Merge pull request #280149 from obsidiansystems/readline-windows-stop…
Ericson2314 Jan 11, 2024
2507a4c
redis: 7.2.3 -> 7.2.4
LeSuisse Jan 10, 2024
005ea44
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 12, 2024
e497ab9
pipewire: 1.0.0 -> 1.0.1
r-ryantm Jan 12, 2024
d3a44fb
Merge pull request #280441 from NixOS/backport-280413-to-staging-23.11
K900 Jan 12, 2024
32a3b1b
libzip: backport patch for pkgconfig file
hmenke Jan 11, 2024
859094a
llvmPackages_{15,16,17,git}.libcxx: fix darwin link flags
Jan 3, 2024
9574691
Merge pull request #280104 from NixOS/backport-275702-to-staging-23.11
amaxine Jan 12, 2024
3ca0064
Merge pull request #280518 from NixOS/backport-278945-to-staging-23.11
RaitoBezarius Jan 12, 2024
e2424d6
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 13, 2024
8b31ce8
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 14, 2024
673f28f
libdrm: 2.4.117 -> 2.4.118
trofi Nov 22, 2023
19879dd
python3Packages.fonttools: add patch for CVE-2023-45139
risicle Jan 14, 2024
4224418
python311Packages.jinja2: 3.1.2 -> 3.1.3
mweinelt Jan 10, 2024
4d5cc57
Merge pull request #280372 from NixOS/backport-280117-to-staging-23.11
risicle Jan 14, 2024
72b4450
python311Packages.afdko: fix tests due to new year
K900 Jan 7, 2024
362a9cf
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 15, 2024
45c2245
Merge pull request #280957 from risicle/ris-afdko-tests-r23.11
NickCao Jan 15, 2024
5a98e91
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 16, 2024
4cbafce
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 17, 2024
f66248c
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 18, 2024
f05cd38
imagemagick: 7.1.1-25 -> 7.1.1-26
dotlambda Jan 8, 2024
aa4f4c0
gnutls: 3.8.2 -> 3.8.3
vcunat Jan 17, 2024
484b3f8
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 19, 2024
d958e1f
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 19, 2024
e815480
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 20, 2024
c4365e5
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 20, 2024
771eada
emacs: 29.1 -> 29.2
jian-lin Jan 18, 2024
fed9f18
Merge pull request #282259 from NixOS/backport-281789-to-staging-23.11
jian-lin Jan 20, 2024
8ee66d1
bluez: cherry-pick upstream fix for devices not pairing sometimes
K900 Dec 3, 2023
ad00a52
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 21, 2024
920b31c
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 21, 2024
7cd6c7a
Merge pull request #281666 from NixOS/backport-279687-to-staging-23.11
dotlambda Jan 21, 2024
5d583b4
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 22, 2024
733572f
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 22, 2024
2b7747f
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 23, 2024
4acf50e
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 23, 2024
8323301
nix: fix installCheckPhase crashes on Darwin
jfroche Jan 23, 2024
a016726
Merge pull request #283264 from NixOS/backport-283182-to-staging-23.11
lovesegfault Jan 23, 2024
aec8bc5
Merge pull request #281775 from NixOS/backport-281471-to-staging-23.11
risicle Jan 23, 2024
6b1366b
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 24, 2024
36eae2e
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 24, 2024
b5e0781
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 25, 2024
65fef4b
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 25, 2024
3e1c808
alsa-ucm-conf: apply patch to fix SplitPCM: Device argument may not b…
Sporesirius Dec 8, 2023
b09108a
Merge pull request #283705 from NixOS/backport-272991-to-staging-23.11
Jan 25, 2024
2125e3f
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 26, 2024
b641051
Merge staging-next-23.11 into staging-23.11
github-actions[bot] Jan 26, 2024
47c352d
Merge #279619: shared-mime-info: 2.3 -> 2.4
vcunat Jan 26, 2024
2b6df1d
Merge #280451: libzip: backport patch for pkgconfig file
vcunat Jan 26, 2024
6efaf6b
Merge #280869: libdrm: 2.4.117 -> 2.4.118
vcunat Jan 26, 2024
095ff7f
Merge #280917: python3Packages.fonttools: add patch for CVE-2023-45139
vcunat Jan 26, 2024
eb920e5
Merge #280921: python311Packages.jinja2: 3.1.2 -> 3.1.3
vcunat Jan 26, 2024
fb69d74
Merge branch 'staging-23.11' into staging-next-23.11
vcunat Jan 26, 2024
f723572
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 27, 2024
8b390e2
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 28, 2024
5652edd
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 29, 2024
a3144d9
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 30, 2024
0c09326
Merge release-23.11 into staging-next-23.11
github-actions[bot] Jan 31, 2024
7574439
Merge release-23.11 into staging-next-23.11
github-actions[bot] Feb 1, 2024
8772f17
Merge branch 'release-23.11' into staging-next-23.11
vcunat Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkgs/applications/editors/emacs/sources.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ in

emacs29 = import ./make-emacs.nix (mkArgs {
pname = "emacs";
version = "29.1";
version = "29.2";
variant = "mainline";
rev = "29.1";
hash = "sha256-3HDCwtOKvkXwSULf3W7YgTz4GV8zvYnh2RrL28qzGKg=";
rev = "29.2";
hash = "sha256-qSQmQzVyEGSr4GAI6rqnEwBvhl09D2D8MNasHqZQPL8=";
});

emacs28-macport = import ./make-emacs.nix (mkArgs {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ in

stdenv.mkDerivation (finalAttrs: {
pname = "imagemagick";
version = "7.1.1-25";
version = "7.1.1-26";

src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = finalAttrs.version;
hash = "sha256-HKDeeh8DNj0y7wS4DqctXhmNaOqZ02JeBXRFrEpH0M4=";
hash = "sha256-diJhCRDT0SbAYZdBPoxZJWlrUW2Nz4/d7H0Nnybw0Yw=";
};

outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
Expand Down
31 changes: 22 additions & 9 deletions pkgs/build-support/setup-hooks/auto-patchelf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,30 @@ autoPatchelf() {
esac
done

readarray -td' ' ignoreMissingDepsArray < <(echo -n "$autoPatchelfIgnoreMissingDeps")
if [ "$autoPatchelfIgnoreMissingDeps" == "1" ]; then
echo "autoPatchelf: WARNING: setting 'autoPatchelfIgnoreMissingDeps" \
"= true;' is deprecated and will be removed in a future release." \
"Use 'autoPatchelfIgnoreMissingDeps = [ \"*\" ];' instead." >&2
ignoreMissingDepsArray=( "*" )
if [ -n "$__structuredAttrs" ]; then
local ignoreMissingDepsArray=( "${autoPatchelfIgnoreMissingDeps[@]}" )
local appendRunpathsArray=( "${appendRunpaths[@]}" )
local runtimeDependenciesArray=( "${runtimeDependencies[@]}" )
local patchelfFlagsArray=( "${patchelfFlags[@]}" )
else
readarray -td' ' ignoreMissingDepsArray < <(echo -n "$autoPatchelfIgnoreMissingDeps")
local appendRunpathsArray=($appendRunpaths)
local runtimeDependenciesArray=($runtimeDependencies)
local patchelfFlagsArray=($patchelfFlags)
fi

local appendRunpathsArray=($appendRunpaths)
local runtimeDependenciesArray=($runtimeDependencies)
local patchelfFlagsArray=($patchelfFlags)
# Check if ignoreMissingDepsArray contains "1" and if so, replace it with
# "*", printing a deprecation warning.
for dep in "${ignoreMissingDepsArray[@]}"; do
if [ "$dep" == "1" ]; then
echo "autoPatchelf: WARNING: setting 'autoPatchelfIgnoreMissingDeps" \
"= true;' is deprecated and will be removed in a future release." \
"Use 'autoPatchelfIgnoreMissingDeps = [ \"*\" ];' instead." >&2
ignoreMissingDepsArray=( "*" )
break
fi
done

@pythonInterpreter@ @autoPatchelfScript@ \
${norecurse:+--no-recurse} \
--ignore-missing "${ignoreMissingDepsArray[@]}" \
Expand Down
12 changes: 11 additions & 1 deletion pkgs/by-name/al/alsa-ucm-conf/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, fetchpatch }:

stdenv.mkDerivation rec {
pname = "alsa-ucm-conf";
Expand All @@ -9,6 +9,16 @@ stdenv.mkDerivation rec {
hash = "sha256-nCHj8B/wC6p1jfF+hnzTbiTrtBpr7ElzfpkQXhbyrpc=";
};

patches = [
(fetchpatch {
# ToDo: Remove this patch in the next package upgrade
# Fixes SplitPCM to make some audio devices work with alsa-ucm-conf v1.2.10 again
name = "alsa-ucm-conf-splitpcm-device-argument-fix.patch";
url = "https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6.patch";
hash = "sha256-8WE4+uhi4W7cCSZYmL7uFpcHJ9muX09UkGXyZIpEd9I=";
})
];

dontBuild = true;

installPhase = ''
Expand Down
11 changes: 2 additions & 9 deletions pkgs/data/misc/shared-mime-info/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitLab
, fetchpatch
, meson
, ninja
, pkg-config
Expand All @@ -14,7 +13,7 @@

stdenv.mkDerivation rec {
pname = "shared-mime-info";
version = "2.3";
version = "2.4";

outputs = [ "out" "dev" ];

Expand All @@ -23,15 +22,9 @@ stdenv.mkDerivation rec {
owner = "xdg";
repo = pname;
rev = version;
sha256 = "sha256-cEfknRVtOJykEO9Iqlb0UoiayYtu+ugvmmZqAD5cGnE=";
hash = "sha256-5eyMkfSBUOD7p8woIYTgz5C/L8uQMXyr0fhL0l23VMA=";
};

patches = [
# Submitted upstream at
# https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/211
./fix-clang-warnings.patch
];

nativeBuildInputs = [
meson
ninja
Expand Down
31 changes: 0 additions & 31 deletions pkgs/data/misc/shared-mime-info/fix-clang-warnings.patch

This file was deleted.

8 changes: 8 additions & 0 deletions pkgs/development/compilers/llvm/15/libcxx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ stdenv.mkDerivation rec {
hash = "sha256-AaM9A6tQ4YAw7uDqCIV4VaiUyLZv+unwcOqbakwW9/k=";
relative = "libcxx";
})
# fix for https://github.com/NixOS/nixpkgs/issues/269548
# https://github.com/llvm/llvm-project/pull/77218
(fetchpatch {
name = "darwin-system-libcxxabi-link-flags.patch";
url = "https://github.com/llvm/llvm-project/commit/c5b89b29ee6e3c444a355fd1cf733ce7ab2e316a.patch";
hash = "sha256-LNoPg1KCoP8RWxU/AzHR52f4Dww24I9BGQJedMhFxyQ=";
relative = "libcxx";
})
] ++ lib.optionals stdenv.hostPlatform.isMusl [
../../libcxx-0001-musl-hacks.patch
];
Expand Down
10 changes: 9 additions & 1 deletion pkgs/development/compilers/llvm/16/libcxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, llvm_meta
, monorepoSrc, runCommand
, monorepoSrc, runCommand, fetchpatch
, cmake, ninja, python3, fixDarwinDylibNames, version
, cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi
, libcxxabi, libcxxrt, libunwind
Expand Down Expand Up @@ -47,6 +47,14 @@ stdenv.mkDerivation rec {

patches = [
./gnu-install-dirs.patch
# fix for https://github.com/NixOS/nixpkgs/issues/269548
# https://github.com/llvm/llvm-project/pull/77218
(fetchpatch {
name = "darwin-system-libcxxabi-link-flags.patch";
url = "https://github.com/llvm/llvm-project/commit/c5b89b29ee6e3c444a355fd1cf733ce7ab2e316a.patch";
hash = "sha256-LNoPg1KCoP8RWxU/AzHR52f4Dww24I9BGQJedMhFxyQ=";
relative = "libcxx";
})
];

postPatch = ''
Expand Down
13 changes: 12 additions & 1 deletion pkgs/development/compilers/llvm/17/libcxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, llvm_meta
, monorepoSrc, runCommand
, monorepoSrc, runCommand, fetchpatch
, cmake, ninja, python3, fixDarwinDylibNames, version
, cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi
, libcxxabi, libcxxrt, libunwind
Expand Down Expand Up @@ -45,6 +45,17 @@ stdenv.mkDerivation rec {
chmod -R u+w .
'';

patches = [
# fix for https://github.com/NixOS/nixpkgs/issues/269548
# https://github.com/llvm/llvm-project/pull/77218
(fetchpatch {
name = "darwin-system-libcxxabi-link-flags.patch";
url = "https://github.com/llvm/llvm-project/commit/c5b89b29ee6e3c444a355fd1cf733ce7ab2e316a.patch";
hash = "sha256-LNoPg1KCoP8RWxU/AzHR52f4Dww24I9BGQJedMhFxyQ=";
relative = "libcxx";
})
];

postPatch = ''
cd ../runtimes
'';
Expand Down
13 changes: 12 additions & 1 deletion pkgs/development/compilers/llvm/git/libcxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, llvm_meta
, monorepoSrc, runCommand
, monorepoSrc, runCommand, fetchpatch
, cmake, ninja, python3, fixDarwinDylibNames, version
, cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi
, libcxxabi, libcxxrt, libunwind
Expand Down Expand Up @@ -45,6 +45,17 @@ stdenv.mkDerivation rec {
chmod -R u+w .
'';

patches = [
# fix for https://github.com/NixOS/nixpkgs/issues/269548
# https://github.com/llvm/llvm-project/pull/77218
(fetchpatch {
name = "darwin-system-libcxxabi-link-flags.patch";
url = "https://github.com/llvm/llvm-project/commit/c5b89b29ee6e3c444a355fd1cf733ce7ab2e316a.patch";
hash = "sha256-LNoPg1KCoP8RWxU/AzHR52f4Dww24I9BGQJedMhFxyQ=";
relative = "libcxx";
})
];

postPatch = ''
cd ../runtimes
'';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gnutls/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ in

stdenv.mkDerivation rec {
pname = "gnutls";
version = "3.8.2";
version = "3.8.3";

src = fetchurl {
url = "mirror://gnupg/gnutls/v${lib.versions.majorMinor version}/gnutls-${version}.tar.xz";
hash = "sha256-52XlAW/6m53SQ+NjoEYNV3B0RE7iSRJn2y6WycKt73c=";
hash = "sha256-90/FlUsn1Oxt+7Ed6ph4iLWxJCiaNwOvytoO5SD0Fz4=";
};

outputs = [ "bin" "dev" "out" "man" "devdoc" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gtk/3.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ in

stdenv.mkDerivation (finalAttrs: {
pname = "gtk+3";
version = "3.24.38";
version = "3.24.39";

outputs = [ "out" "dev" ] ++ lib.optional withIntrospection "devdoc";
outputBin = "dev";
Expand All @@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
inherit (finalAttrs) version;
in fetchurl {
url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
sha256 = "sha256-zhHezwGLJb3YUFVEpPhyQoVOyIvgVNmt5fOiBETdjuc=";
sha256 = "sha256-HKw+VmubLzZTpFjAjC3N/cqfkIA3rAPJ2FZLQpV3jXk=";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libdrm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

stdenv.mkDerivation rec {
pname = "libdrm";
version = "2.4.117";
version = "2.4.118";

src = fetchurl {
url = "https://dri.freedesktop.org/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-ooiNaePrHIp3rcCKdaYPuuAfDSCNJvA00aEuNiNhJCs=";
hash = "sha256-p3e9hfK1/JxX+IbIIFgwBXgxfK/bx30Kdp1+mpVnq4g=";
};

outputs = [ "out" "dev" "bin" ];
Expand Down
10 changes: 10 additions & 0 deletions pkgs/development/libraries/libzip/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib, stdenv
, cmake
, fetchpatch2
, fetchurl
, perl
, zlib
Expand All @@ -24,6 +25,15 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-lmmuXf46xbOJdTbchGaodMjPLA47H90I11snOIQpk2M=";
};

patches = [
# https://github.com/nih-at/libzip/issues/404
(fetchpatch2 {
name = "Check-for-zstd_TARGET-before-using-it-in-a-regex.patch";
url = "https://github.com/nih-at/libzip/commit/c719428916b4d19e838f873b1a177b126a080d61.patch";
hash = "sha256-4ksbXEM8kNvs3wtbIaXLEQNSKaxl0es/sIg0EINaTHE=";
})
];

outputs = [ "out" "dev" "man" ];

nativeBuildInputs = [ cmake perl groff ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/pipewire/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ let

self = stdenv.mkDerivation rec {
pname = "pipewire";
version = "1.0.0";
version = "1.0.1";

outputs = [
"out"
Expand All @@ -97,7 +97,7 @@ let
owner = "pipewire";
repo = "pipewire";
rev = version;
sha256 = "sha256-mfnMluxJAxDbB6JlIM6HJ0zg7e1q3ia3uFbht6zeHCk=";
sha256 = "sha256-rvf0sZRgDDLcqroLg7hcMUqXD/4JT+3lBRX6/m+3Ry8=";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/readline/8.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ stdenv.mkDerivation rec {
})
(fetchpatch {
name = "0003-fd_set.patch";
url = "https://github.com/msys2/MINGW-packages/raw/90e7536e3b9c3af55c336d929cfcc32468b2f135/mingw-w64-readline/0003-fd_set.patch";
url = "https://github.com/msys2/MINGW-packages/raw/35830ab27e5ed35c2a8d486961ab607109f5af50/mingw-w64-readline/0003-fd_set.patch";
stripLen = 1;
hash = "sha256-MlsX5JYp1PHD25uuVnDKJWEquegUN3dkj9fhjQX51/M=";
hash = "sha256-UiaXZRPjKecpSaflBMCphI2kqOlcz1JkymlCrtpMng4=";
})
(fetchpatch {
name = "0004-locale.patch";
Expand Down
6 changes: 6 additions & 0 deletions pkgs/development/libraries/readline/readline-8.2-patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

patch: [
(patch "001" "1xxgfgr6hn3ads8m8xsrdi1kbx1f3s69k0danpd9x4haqhg7zydv")
(patch "002" "0ly0siy6qy3l7hv12847adpfa34yq1w4qz9qkw6vrxv25j106rg0")
(patch "003" "1c5cwvvkx9mfmpaapymq9cavmzh4fnagkjlchsqx4vml8sx8gx94")
(patch "004" "1b15sndx9v5vj3x1f3h73099nlagknx4rbfpd5ldrbw2xgm2wmvr")
(patch "005" "16ac25jz1a1mgkpfp1sydqf6qpsfh0s0dcmrnjpqbhg5va3s6av2")
(patch "006" "18gmh6y3klh0vv28cyqz4is3rlb32pl7f1kf5r482kfjq3w5zd67")
(patch "007" "1xmnpahs983n4w0gn3j0wr8nh1dpva33yj7fvfmhm46ph2wsa4ar")
]
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/fonttools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, pythonOlder
, isPyPy
, fetchFromGitHub
, fetchpatch
, setuptools-scm
, fs
, lxml
Expand Down Expand Up @@ -36,6 +37,14 @@ buildPythonPackage rec {
hash = "sha256-fcFFJi9Hr0m74LwFIhhhm/bMfxepAvg4/ymU53MmsPg=";
};

patches = [
(fetchpatch {
name = "CVE-2023-45139.patch";
url = "https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c.patch";
hash = "sha256-29OB21B8S4hGZlvNJnOTYTFAmEii+z5oK6tycoK3PXc=";
})
];

nativeBuildInputs = [ setuptools-scm ];

passthru.optional-dependencies = let
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/jinja2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

buildPythonPackage rec {
pname = "Jinja2";
version = "3.1.2";
version = "3.1.3";
outputs = [ "out" ] ++ lib.optional enableDocumentation "doc";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-MTUacCpAip51laj8YVD8P0O7a/fjGXcMvA2535Q36FI=";
hash = "sha256-rIvWVE1Lssl5K/OhWegLuo/afwfoG8Ou1WVDLVklupA=";
};

patches = lib.optionals enableDocumentation [ ./patches/import-order.patch ];
Expand Down
Loading