libshumate: 1.3.beta → 1.3.0
https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.3.beta...1.3.0 Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
@@ -22,21 +22,16 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libshumate";
|
||||
version = "1.3.beta";
|
||||
version = "1.3.0";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = "devdoc"; # demo app
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libshumate/${lib.versions.majorMinor finalAttrs.version}/libshumate-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-VMOsrq0FRul8tMY6++U8ydK2irVCT/g/B7HZIWuuKys=";
|
||||
hash = "sha256-giem6Cgc3hIjKJT++Ddg1E+maznvAzxh7ZNKhsbcddQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://gitlab.gnome.org/GNOME/libshumate/-/issues/81
|
||||
./json-glib-192-newline-escape.patch
|
||||
];
|
||||
|
||||
depsBuildBuild = [
|
||||
# required to find native gi-docgen when cross compiling
|
||||
pkg-config
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/tests/vector-expression.c b/tests/vector-expression.c
|
||||
index 9e258fb..59d1d67 100644
|
||||
--- a/tests/vector-expression.c
|
||||
+++ b/tests/vector-expression.c
|
||||
@@ -592,7 +592,7 @@ test_vector_expression_formatted_string ()
|
||||
node = json_from_string ("[\"format\",\
|
||||
\"Hello \",\
|
||||
[\"concat\", \"world\", \"!\"], {\"font-scale\": 0.1},\
|
||||
- \"\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
|
||||
+ \"\\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
|
||||
null,\
|
||||
\"test\"\
|
||||
]", &error);
|
||||
Reference in New Issue
Block a user