mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
8bde521f6b
commit
f21fec3871
1 changed files with 13 additions and 0 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue