2023-05-10 22:36:27 +00:00
{ fetchpatch , fetchurl }:
let
2023-05-10 22:51:34 +00:00
fetchpatch' = {
saneCommit ? null ,
prUrl ? null ,
2023-05-24 23:08:12 +00:00
hash ? null ,
title ? null ,
2023-05-10 22:51:34 +00:00
} :
let
url = if prUrl != null then
# prUrl takes precedence over any specific commit
" ${ prUrl } . d i f f "
else
" h t t p s : / / g i t . u n i n s a n e . o r g / c o l i n / n i x p k g s / c o m m i t / ${ saneCommit } . d i f f "
;
2023-05-24 23:08:12 +00:00
in fetchpatch (
{ inherit url ; }
// ( if hash != null then { inherit hash ; } else { } )
// ( if title != null then { name = title ; } else { } )
) ;
2023-05-10 22:36:27 +00:00
in [
2022-10-25 13:31:18 +00:00
2023-01-21 04:48:57 +00:00
# splatmoji: init at 1.2.0
2023-05-10 22:51:34 +00:00
( fetchpatch' {
saneCommit = " 7 5 1 4 9 0 3 9 b 6 e a f 5 7 d 8 a 9 2 1 6 4 e 9 0 a a b 2 0 e b 5 d 8 9 1 9 6 " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 1 1 8 7 4 " ;
hash = " s h a 2 5 6 - f f t c t C x 1 N / P 7 y L T R x s H Y L H b X + g V / l F p W r W C T t Z 2 L 1 C w = " ;
2023-01-21 04:48:57 +00:00
} )
2023-02-14 10:19:32 +00:00
# (fetchpatch {
# # stdenv: fix cc for pseudo-crosscompilation
# # closed because it breaks pkgsStatic (as of 2023/02/12)
# url = "https://github.com/NixOS/nixpkgs/pull/196497.diff";
# hash = "sha256-eTwEbVULYjmOW7zUFcTUqvBZqUFjHTKFhvmU2m3XQeo=";
# })
2022-12-20 03:10:05 +00:00
./2022-12-19-i2p-aarch64.patch
2023-01-31 05:17:34 +00:00
# fix for CMA memory leak in mesa: <https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198>
2023-03-03 13:40:48 +00:00
# fixed in mesa 22.3.6: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21330/diffs>
2023-01-31 05:17:34 +00:00
# only necessary on aarch64.
# it's a revert of nixpkgs commit dcf630c172df2a9ecaa47c77f868211e61ae8e52
2023-03-06 11:36:00 +00:00
# ./2023-01-30-mesa-cma-leak.patch
# upgrade to 22.3.6 instead
2023-03-28 06:03:20 +00:00
# ./2023-02-28-mesa-22.3.6.patch
2023-01-31 05:17:34 +00:00
2023-03-04 22:26:09 +00:00
# fix qt6.qtbase and qt6.qtModule to cross-compile.
# unfortunately there's some tangle that makes that difficult to do via the normal `override` facilities
./2023-03-03-qtbase-cross-compile.patch
2023-03-05 06:30:29 +00:00
# let ccache cross-compile
2023-03-28 06:03:20 +00:00
# TODO: why doesn't this apply?
# ./2023-03-04-ccache-cross-fix.patch
2023-03-10 05:19:21 +00:00
2023-04-12 02:44:37 +00:00
# 2023-04-11: bambu-studio: init at unstable-2023-01-11
2023-05-10 22:51:34 +00:00
( fetchpatch' {
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 0 6 4 9 5 " ;
2023-04-12 02:44:37 +00:00
hash = " s h a 2 5 6 - R b Q z A t F T r 7 N r k 2 Y B c H p K Q M Y o P l F M V S X N l 9 6 B / l k K l u Q = " ;
} )
2023-05-12 05:55:28 +00:00
# update to newer lemmy-server.
# should be removable when > 0.17.2 releases?
# removing this now causes:
# INFO lemmy_server::code_migrations: No Local Site found, creating it.
# Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "local_site_site_id_key", context: "SpanTrace" }
# though perhaps this error doesn't occur on fresh databases (idk).
2023-04-30 00:47:38 +00:00
./2023-04-29-lemmy.patch
2023-05-10 22:51:34 +00:00
( fetchpatch' {
2023-05-24 23:08:12 +00:00
title = " c a r g o - d o c s e t : i n i t a t 0 . 3 . 1 " ;
2023-05-10 22:51:34 +00:00
saneCommit = " 5 a 0 9 e 8 4 c 6 1 5 9 c e 5 4 5 0 2 9 4 8 3 3 8 4 5 8 0 7 0 8 b c 0 4 c 0 8 f " ;
2023-05-10 23:30:03 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 3 1 1 8 8 " ;
2023-05-10 22:36:27 +00:00
hash = " s h a 2 5 6 - Z 1 H O p s 3 w / W v x A i y U A H W s z K q w S 9 E w A 6 r f 4 X f g P G p + 2 s Q = " ;
} )
2023-05-16 06:04:29 +00:00
( fetchpatch' {
2023-05-24 23:08:12 +00:00
title = " n i x o s / l e m m y : s u p p o r t n g i n x " ;
2023-05-16 06:04:29 +00:00
saneCommit = " 4 c 8 6 d b 6 d c b 7 8 7 9 5 a c 9 b b 5 1 4 d 9 c 7 7 9 f d 5 9 1 0 7 0 b 2 3 " ;
hash = " s h a 2 5 6 - G 7 j G h S P U p 9 B M x h 2 y T z o 0 K U U V a b M J e Z 2 8 Y T A + 0 i P l d R I = " ;
} )
2023-05-15 11:01:02 +00:00
( fetchpatch' {
2023-05-24 23:08:12 +00:00
title = " f e e d b a c k d : 0 . 1 . 0 - > 0 . 2 . 0 " ;
2023-05-15 19:42:28 +00:00
saneCommit = " a 0 1 8 6 a 5 7 8 2 7 0 8 a 6 4 0 c d 6 e a a d 6 e 9 7 4 2 b 9 c c c e b e 9 d " ;
hash = " s h a 2 5 6 - f 8 h e 7 p Q o w 4 f Z k T V V q U / A 5 K g o v Z A 7 m 7 M c c R Q N T n D x w 5 o = " ;
2023-05-15 11:01:02 +00:00
} )
2023-05-15 22:08:09 +00:00
# (fetchpatch' {
# # phoc: 0.25.0 -> 0.27.0
# # TODO: move wayland-scanner & glib to nativeBuildInputs
# # TODO: once i press power button to screen blank, power doesn't reactivate phoc
2023-05-15 23:30:29 +00:00
# # sus commits:
# # - all lie between 0.25.0 .. 0.26.0
# # - 25d65b9e6ebde26087be6414e41cf516599c3469 2023/03/12 phosh-private: Forward key release as well
# # idle inhibit 2023/03/14
# # - 20e7b26af16e9d9c22cba4550f922b90b80b6df6
# # - b081ef963154c7c94a6ab33376a712b3efe17545
# # screen blank fix (NOPE: this one is OK)
# # - 37542bb80be8a7746d2ccda0c02048dd92fac7af 2023/03/11
2023-05-15 22:08:09 +00:00
# saneCommit = "12e89c9d26b7a1a79f6b8b2f11fce0dd8f4d5197";
# hash = "sha256-IJNBVr2xAwQW4SAJvq4XQYW4D5tevvd9zRrgXYmm38g=";
# })
# (fetchpatch' {
# # phosh: 0.25.1 -> 0.27.0
# # TODO: fix Calls:
# # > Failed to get emergency contacts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Calls was not provided by any .service files
# saneCommit = "c8fa213c7cb357c0ca0d5bea66278362a47caeb8";
# hash = "sha256-I8IZ8fjJstmcIXEN622/A1w2uHDACwXFl1WbXTWOyi4=";
# })
2023-05-15 19:42:28 +00:00
# (fetchpatch' {
# # phosh-mobile-settings: 0.23.1 -> 0.27.0
# # branch: pr/sane/phosh-mobile-settings-0.27.0
# # TODO: fix feedback section
# # > Settings schema 'org.gtk.gtk4.Settings.FileChooser' is not installed
# # ^ is that provided by nautilus?
# saneCommit = "8952f79699d3b0d72d9f6efb022e826175b143a6";
# hash = "sha256-myKKMt5cZhC0mfPhEsNjwKjaIYICj5LBJqV01HghYUg=";
# })
2023-05-15 11:01:02 +00:00
2023-04-21 19:41:42 +00:00
# 2023-04-20: perl: fix modules for compatibility with miniperl
# (fetchpatch {
# url = "https://github.com/NixOS/nixpkgs/pull/225640.diff";
# hash = "sha256-MNG8C0OgdPnFQ8SF2loiEhXJuP2z4n9pkXr8Zh4X7QU=";
# })
2023-05-18 11:07:36 +00:00
( fetchpatch' {
2023-05-24 23:08:12 +00:00
title = " c o n k y : 1 . 1 3 . 1 - > 1 . 1 8 . 0 " ;
2023-05-18 11:07:36 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 1 7 2 2 4 " ;
hash = " s h a 2 5 6 - + g 3 X h m B t / u d h b B D i V y f W n f X K v Z T v D u r l v P b l Q 9 H Y p 3 s = " ;
} )
2023-05-24 03:57:35 +00:00
# (fetchpatch' {
2023-05-24 23:08:12 +00:00
# title = "hare-json: init at unstable-2023-01-31";
# saneCommit = "260f9c6ac4e3564acbceb46aa4b65fbb652f8e23";
# hash = "sha256-bjLKANo0+zaxugJlEk1ObPqRHWOKptD7dXB+/xzsYqA=";
2023-05-24 03:57:35 +00:00
# })
2023-05-24 05:52:17 +00:00
# (fetchpatch' {
2023-05-24 23:08:12 +00:00
# title = "hare-ev: init at unstable-2022-12-29";
# saneCommit = "4058200a407c86c5d963bc49b608aa1a881cbbf2";
# hash = "sha256-wm1aavbCfxBhcOXh4EhFO4u0LrA9tNr0mSczHUK8mQU=";
2023-05-24 05:52:17 +00:00
# })
# (fetchpatch' {
2023-05-24 23:08:12 +00:00
# title = "bonsai: init at 1.0.0";
# saneCommit = "65d37294d939384e8db400ea82d25ce8b4ad6897";
# hash = "sha256-2easgOtJfzvVcz/3nt3lo1GKLLotrM4CkBRyTgIAhHU=";
2023-05-24 05:52:17 +00:00
# })
2023-05-23 01:02:35 +00:00
( fetchpatch' {
2023-05-24 23:08:12 +00:00
title = " b o n s a i : i n i t a t 1 . 0 . 0 " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 3 3 8 9 2 " ;
hash = " s h a 2 5 6 - 9 X K P N g 7 T e w i c f b M g i A S p Y y s T s 5 a d u I V P + 4 o n z + n o c / 0 = " ;
2023-05-23 01:02:35 +00:00
} )
2023-06-01 09:19:45 +00:00
# make alsa-project members overridable
./2023-05-31-toplevel-alsa.patch
2023-06-08 05:11:06 +00:00
# qt6 qtwebengine: specify `python` as buildPackages
./2023-06-02-qt6-qtwebengine-cross.patch
2023-06-08 08:26:45 +00:00
# Jellyfin: don't build via `libsForQt5.callPackage`
./2023-06-06-jellyfin-no-libsForQt5-callPackage.patch
2022-10-09 01:21:38 +00:00
# for raspberry pi: allow building u-boot for rpi 4{,00}
# TODO: remove after upstreamed: https://github.com/NixOS/nixpkgs/pull/176018
# (it's a dupe of https://github.com/NixOS/nixpkgs/pull/112677 )
./02-rpi4-uboot.patch
2022-11-20 12:25:59 +00:00
# ./07-duplicity-rich-url.patch
2022-06-23 23:03:58 +00:00
]