tinysparql: include upstream patch for sqlite float-related test fixes

Issue: https://gitlab.gnome.org/GNOME/tinysparql/-/work_items/496
Merge request: https://gitlab.gnome.org/GNOME/tinysparql/-/merge_requests/811
This commit is contained in:
whispers 2026-05-27 09:20:26 -04:00
commit f21fec3871
No known key found for this signature in database

View file

@ -2,6 +2,7 @@
stdenv,
lib,
fetchurl,
fetchpatch,
gettext,
meson,
mesonEmulatorHook,
@ -49,6 +50,18 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-z9RgIe4VFK1DXnFPeqHsenh8f1FqlPTHQ4iX7j1uyh4=";
};
patches = [
# sqlite changed the precision of float <-> text conversions, causing
# failures in the test suite. patch here until this appears in a release.
# https://gitlab.gnome.org/GNOME/tinysparql/-/work_items/496
# https://gitlab.gnome.org/GNOME/tinysparql/-/merge_requests/811
(fetchpatch {
name = "tinysparql-sqlite-double-value-precision.patch";
url = "https://gitlab.gnome.org/GNOME/tinysparql/-/commit/47d5bf9313d0ccb1feb7169eed9047d0e1597a39.patch";
hash = "sha256-k6eELZCEEtD8s7GiMckjTlf6QcAiUNY1Mraw7GROsm4=";
})
];
strictDeps = true;
depsBuildBuild = [