Merge pull request #258431 from pbsds/stabilize-patches

This commit is contained in:
Artturi 2023-10-19 03:02:46 +03:00 committed by GitHub
commit 5a1cc0e11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 56 additions and 27 deletions

View File

@ -30,8 +30,9 @@ stdenv.mkDerivation {
];
patches = [
# https://github.com/paulnasca/paulstretch_cpp/pull/12
(fetchpatch {
url = "https://github.com/paulnasca/paulstretch_cpp/pull/12.patch";
url = "https://github.com/paulnasca/paulstretch_cpp/commit/d8671b36135fe66839b11eadcacb474cc8dae0d1.patch";
sha256 = "0lx1rfrs53afkiz1drp456asqgj5yv6hx3lkc01165cv1jsbw6q4";
})
];

View File

@ -26,8 +26,9 @@ stdenv.mkDerivation rec {
patches = [
(fetchpatch {
# https://github.com/autotrace/autotrace/pull/105
name = "imagemagick7-support.patch";
url = "https://github.com/autotrace/autotrace/pull/105.patch";
url = "https://github.com/autotrace/autotrace/compare/170488e1871d50aad7a800b901e33ded7d31773a...c26a2a059926c595a00839c8d9961e9381206579.patch";
hash = "sha256-Q82LRF/BsJ/Ii2s+7yaYHs9agMKYVYIMnbwqz8P92s0=";
})
];

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation {
# Fix dbus interface headers. See
# https://github.com/davidbrazdil/volnoti/pull/10
(fetchpatch {
url = "https://github.com/davidbrazdil/volnoti/pull/10.patch";
url = "https://github.com/davidbrazdil/volnoti/commit/623ad8ea5c3ac8720d00a2ced4b6163aae38c119.patch";
sha256 = "046zfdjmvhb7jrsgh04vfgi35sgy1zkrhd3bzdby3nvds1wslfam";
})
];

View File

@ -20,8 +20,9 @@ stdenv.mkDerivation rec {
# https://github.com/neomutt/neomutt/issues/3773#issuecomment-1493295144
./fix-open-very-large-mailbox.patch
(fetchpatch {
# https://github.com/neomutt/neomutt/pull/3933
name = "disable-incorrect-tests.patch";
url = "https://github.com/neomutt/neomutt/pull/3933.patch";
url = "https://github.com/neomutt/neomutt/compare/f624551b86cdb53224b5b48304a808ca2815111e...a9a1d99e6c0fdf367188125451300fa89d3e801a.patch";
hash = "sha256-Plei063T8XyXF4/7/nAb6/4OyXz72vBAXHwls9WL1vM=";
excludes = [".github/workflows/macos.yml"];
})

View File

@ -16,8 +16,9 @@ let
patches = [
# gradle 7 support
# https://github.com/freenet/fred/pull/827
(fetchpatch {
url = "https://github.com/freenet/fred/pull/827.patch";
url = "https://github.com/freenet/fred/commit/8991303493f2c0d9933f645337f0a7a5a979e70a.patch";
sha256 = "sha256-T1zymxRTADVhhwp2TyB+BC/J4gZsT/CUuMrT4COlpTY=";
})
];

View File

@ -19,13 +19,13 @@ stdenv.mkDerivation rec {
# https://github.com/vprover/vampire/pull/54
(fetchpatch {
name = "fix-apple-cygwin-defines.patch";
url = "https://github.com/vprover/vampire/pull/54.patch";
url = "https://github.com/vprover/vampire/commit/b4bddd3bcac6a7688742da75c369b7b3213f6d1c.patch";
sha256 = "0i6nrc50wlg1dqxq38lkpx4rmfb3lf7s8f95l4jkvqp0nxa20cza";
})
# https://github.com/vprover/vampire/pull/55
(fetchpatch {
name = "fix-wait-any.patch";
url = "https://github.com/vprover/vampire/pull/55.patch";
url = "https://github.com/vprover/vampire/commit/6da10eabb333aec54cdf13833ea33cb851159543.patch";
sha256 = "1pwfpwpl23bqsgkmmvw6bnniyvp5j9v8l3z9s9pllfabnfcrcz9l";
})
];

View File

@ -23,13 +23,15 @@ buildGoModule rec {
patches = [
# Fix `fish` completions
# https://github.com/github/hub/pull/3036
(fetchpatch {
url = "https://github.com/github/hub/pull/3036.patch";
url = "https://github.com/github/hub/commit/439b7699e79471fc789929bcdea2f30bd719963e.patch";
hash = "sha256-pR/OkGa2ICR4n1pLNx8E2UTtLeDwFtXxeeTB94KFjC4=";
})
# Fix `bash` completions
# https://github.com/github/hub/pull/2948
(fetchpatch {
url = "https://github.com/github/hub/pull/2948.patch";
url = "https://github.com/github/hub/commit/64b291006f208fc7db1d5be96ff7db5535f1d853.patch";
hash = "sha256-jGFFIvSKEIpTQY0Wz63cqciUk25MzPHv5Z1ox8l7wmo=";
})
];

View File

@ -116,7 +116,7 @@ in stdenv.mkDerivation {
# Remove with the next release: https://github.com/xbmc/xbmc/pull/23453
(fetchpatch {
name = "Fix fmt10 compat";
url = "https://github.com/xbmc/xbmc/pull/23453.patch";
url = "https://github.com/xbmc/xbmc/compare/acca69baa2eae65123e78ee2f77249181725ef5d...26c164a28cfd18ceef7a1f2bbba5bf8a4a5a750c.patch";
hash = "sha256-zMUparbQ8gfgeXj8W3MDmPi5OgLNz/zGCJINU7H6Rx0=";
})
];

View File

@ -21,7 +21,8 @@ buildNpmPackage {
# Remove after next release
patches = [
(fetchpatch {
url = "https://github.com/OpenAsar/arrpc/pull/50.patch";
# https://github.com/OpenAsar/arrpc/pull/50
url = "https://github.com/OpenAsar/arrpc/commit/7fa6c90204450eb3952ce9cddfecb0a5ba5e4313.patch";
hash = "sha256-qFlrbe2a4x811wpmWUcGDe2CPlt9x3HI+/t0P2v4kPc=";
})
];

View File

@ -254,7 +254,9 @@ self: super: {
# Fix ghc-9.6.x build errors.
libmpd = appendPatch
(pkgs.fetchpatch { url = "https://github.com/vimus/libmpd-haskell/pull/138.patch";
# https://github.com/vimus/libmpd-haskell/pull/138
(pkgs.fetchpatch { url = "https://github.com/vimus/libmpd-haskell/compare/95d3b3bab5858d6d1f0e079d0ab7c2d182336acb...5737096a339edc265a663f51ad9d29baee262694.patch";
name = "vimus-libmpd-haskell-pull-138.patch";
sha256 = "sha256-CvvylXyRmoCoRJP2MzRwL0SBbrEzDGqAjXS+4LsLutQ=";
})
super.libmpd;
@ -264,8 +266,9 @@ self: super: {
editedCabalFile = null;
buildDepends = drv.buildDepends or [] ++ [ self.HUnit ];
patches = [(pkgs.fetchpatch {
# https://github.com/jgoerzen/configfile/pull/12
name = "ConfigFile-pr-12.patch";
url = "https://github.com/jgoerzen/configfile/pull/12.patch";
url = "https://github.com/jgoerzen/configfile/compare/d0a2e654be0b73eadbf2a50661d00574ad7b6f87...83ee30b43f74d2b6781269072cf5ed0f0e00012f.patch";
sha256 = "sha256-b7u9GiIAd2xpOrM0MfILHNb6Nt7070lNRIadn2l3DfQ=";
})];
}) super.ConfigFile;

View File

@ -25,8 +25,10 @@ stdenv.mkDerivation rec {
patches = [
# modernise cmake files, also fixes them for multiple outputs
# https://github.com/uclouvain/openjpeg/pull/1424
(fetchpatch {
url = "https://github.com/uclouvain/openjpeg/pull/1424.patch";
name = "uclouvain-openjpeg-pull-1424.patch";
url = "https://github.com/uclouvain/openjpeg/compare/52927287402a9f7353de8854c88f931051211e2f...9d4f70cfe99626f82f9c8dcbf45f07709e3511b2.patch";
sha256 = "sha256-CxVRt1u4HVOMUjWiZ2plmZC29t/zshCpSY+N4Wlrlvg=";
})
# fix cmake files cross compilation

View File

@ -16,8 +16,10 @@ buildPythonPackage rec {
patches = [
# Fixes a bug with markdown>2.4
# https://github.com/wnielson/markdown-macros/pull/1
(fetchpatch {
url = "https://github.com/wnielson/markdown-macros/pull/1.patch";
name = "wnielson-markdown-macros-pull-1.patch";
url = "https://github.com/wnielson/markdown-macros/commit/e38cba9acb6789cc128f6fe9ca427ba71815a20f.patch";
sha256 = "17njbgq2srzkf03ar6yn92frnsbda3g45cdi529fdh0x8mmyxci0";
})
];

View File

@ -19,9 +19,10 @@ buildPythonPackage rec {
patches = [
# Fixes a TypeError on Python 3.11
# (see https://github.com/pympler/pympler/issues/148)
# https://github.com/pympler/pympler/pull/149
(fetchpatch {
name = "${pname}-python-3.11-compat.patch";
url = "https://github.com/pympler/pympler/pull/149.patch";
url = "https://github.com/pympler/pympler/commit/0fd8ad8da39207bd0dcb28bdac0407e04744c965.patch";
hash = "sha256-6MK0AuhVhQkUzlk29HUh1+mSbfsVTBJ1YBtYNIFhh7U=";
})
];

View File

@ -11,7 +11,9 @@ buildPythonPackage rec {
# remove with 1.2.6
patches = [ (fetchpatch {
url = "https://github.com/errbotio/rocket/pull/1.patch";
# https://github.com/errbotio/rocket/pull/1
name = "errbotio-rocket-pull-1.patch";
url = "https://github.com/errbotio/rocket/compare/f1a52fe17164f83bccce5e6a1935fc5071c2265f...d69adcd49de5d78bd80f952a2ee31e6a0bac4e3d.patch";
sha256 = "1s668yv5b86b78vbqwhcl44k2l16c9bhk3199yy9hayf0vkxnwif";
}) ];

View File

@ -26,8 +26,9 @@ buildPythonPackage rec {
patches = [
# See: https://review.openstack.org/#/c/608382/
# https://github.com/openstack/sqlalchemy-migrate/pull/18
(fetchpatch {
url = "https://github.com/openstack/sqlalchemy-migrate/pull/18.patch";
url = "https://github.com/openstack/sqlalchemy-migrate/commit/a5d69a17d9354ec1a792493280f96484740cf7ff.patch";
sha256 = "1qyfq2m7w7xqf0r9bc2x42qcra4r9k9l9g1jy5j0fvlb6bvvjj07";
})
./python3.11-comp.diff

View File

@ -15,9 +15,11 @@ buildPythonPackage rec {
patches = [
# fix build with python 3.9
# https://github.com/freach/udatetime/pull/33
(fetchpatch {
url = "https://github.com/freach/udatetime/pull/33.patch";
sha256 = "02wm7ivkv1viqn2wflgd10dgpddfqfrwacmrldigb1mwb79n554j";
name = "freach-udatetime-pull-33.patch";
url = "https://github.com/freach/udatetime/compare/75a07891426364f8bf0b44305b00bb1dd90534ae...2cfbc92cb274a80476a45c6c0d387c19e77a9f6e.patch";
sha256 = "pPskJnie+9H3qKqf8X37sxB+CH3lpkj7IYl8HfiuV/4=";
})
];

View File

@ -48,8 +48,10 @@ stdenv.mkDerivation rec {
patches = [
# support for love11
# https://github.com/Stabyourself/orthorobot/pull/3
(fetchpatch {
url = "https://github.com/Stabyourself/orthorobot/pull/3.patch";
name = "Stabyourself-orthorobot-pull-3.patch";
url = "https://github.com/Stabyourself/orthorobot/compare/48f07423950b29a94b04aefe268f2f951f55b62e...05856ba7dbf1bb86d0f16a5f511d8ee9f2176015.patch";
sha256 = "sha256-WHHP6QM7R5eEkVF+J2pGNnds/OKRIRXyon85wjd3GXI=";
})
];

View File

@ -16,12 +16,14 @@ stdenv.mkDerivation rec {
patches = [
(fetchpatch {
url = "https://github.com/intel/numatop/pull/54.patch";
# https://github.com/intel/numatop/pull/54
url = "https://github.com/intel/numatop/compare/eab0ac5253c5843aa0f0ac36e2eec7612207711b...c1001fd926c24eae2d40729492e07270ce133b72.patch";
sha256 = "sha256-TbMLv7TT9T8wE4uJ1a/AroyPPwrwL0eX5IBLsh9GTTM=";
name = "fix-string-operations.patch";
})
(fetchpatch {
url = "https://github.com/intel/numatop/pull/64.patch";
# https://github.com/intel/numatop/pull/64
url = "https://github.com/intel/numatop/commit/635e2ce2ccb1ac793cc276a7fcb8a92b1ffefa5d.patch";
sha256 = "sha256-IevbSFJRTS5iQ5apHOVXzF67f3LJaW6j7DySFmVuyiM=";
name = "fix-format-strings-mvwprintw.patch";
})

View File

@ -13,8 +13,10 @@ stdenv.mkDerivation rec {
patches = [
# fix with openssl 3.x
# https://github.com/OpenSC/pam_p11/pull/22
(fetchpatch {
url = "https://github.com/OpenSC/pam_p11/pull/22.patch";
name = "OpenSC-pam_p11-pull-22.patch";
url = "https://github.com/OpenSC/pam_p11/compare/cd4eba2e921e1c2f93cde71922a76af99376246c...debd4f7acfaf998cfe4002e0be5c35ad9a9591b5.patch";
excludes = [ ".github/build.sh" ];
hash = "sha256-bm/agnBgvrr8L8yoGK4gzBqOGgsNWf9NIgcNJG7proE=";
})

View File

@ -17,8 +17,9 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# Makefile prefix, otherwise `/usr` prefix is enforced
# https://github.com/Sound-Linux-More/sacd/pull/1
(fetchpatch {
url = "https://github.com/Sound-Linux-More/sacd/pull/1.patch";
url = "https://github.com/Sound-Linux-More/sacd/commit/a72def4fab234bcd68b444cf7447a8876b4e2ce8.patch";
name = "makefile-prefix.patch";
sha256 = "0a7r4x0yqpg6l4vr84dq4wbrypabqm4vvcjv91am068gqjiw6w64";
})

View File

@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec {
# FIXME: remove this patch after https://github.com/AOSC-Dev/ciel-rs/pull/16 is merged
(fetchpatch {
name = "use-canonicalize-path-to-find-libexec.patch";
url = "https://github.com/AOSC-Dev/ciel-rs/pull/16.patch";
url = "https://github.com/AOSC-Dev/ciel-rs/commit/17f41538ed1057e855540f5abef7faf6ea4abf5c.patch";
sha256 = "sha256-ELK2KpOuoBS774apomUIo8q1eXYs/FX895G7eBdgOQg=";
})
];

View File

@ -35,7 +35,9 @@ in
# TODO: remove patch when PR is merged.
patches = [
(fetchpatch {
url = "https://github.com/cloudflare/certmgr/pull/51.patch";
# https://github.com/cloudflare/certmgr/pull/51
name = "cloudflare-certmgr-pull-51.patch";
url = "https://github.com/cloudflare/certmgr/compare/232e0adf8379db28ab74c46e0dd3eddb3cd8f2ea...55c595a4a2dc871726b3c8337469daf5597718a3.patch";
sha256 = "0jhsw159d2mgybvbbn6pmvj4yqr5cwcal5fjwkcn9m4f4zlb6qrs";
})
];