lol

libshumate: 1.1.3 → 1.2.1

https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.1.3...1.2.1

Enable the vector renderer by default when building (needs gperf, json-glib, protobufc)
https://github.com/GNOME/libshumate/blob/1.2.beta/shumate/vector/meson.build

fetch tarball instead of git repo

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>

authored by

Bobby Rong and committed by
Maxine Aubrey
7b2a4193 e19d84b2

+20 -8
+20 -8
pkgs/development/libraries/libshumate/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchFromGitLab 3 + , fetchurl 4 + , fetchpatch2 4 5 , gi-docgen 5 6 , meson 6 7 , ninja 7 8 , pkg-config 8 9 , vala 9 10 , gobject-introspection 11 + , gperf 10 12 , glib 11 13 , cairo 12 14 , sqlite 13 15 , libsoup_3 14 16 , gtk4 15 17 , libsysprof-capture 18 + , json-glib 19 + , protobufc 16 20 , xvfb-run 17 21 , gnome 18 22 }: 19 23 20 24 stdenv.mkDerivation rec { 21 25 pname = "libshumate"; 22 - version = "1.1.3"; 26 + version = "1.2.1"; 23 27 24 28 outputs = [ "out" "dev" "devdoc" ]; 25 29 outputBin = "devdoc"; # demo app 26 30 27 - src = fetchFromGitLab { 28 - domain = "gitlab.gnome.org"; 29 - owner = "GNOME"; 30 - repo = "libshumate"; 31 - rev = version; 32 - sha256 = "+h0dKLECtvfsxwD5aRTIgiNI9jG/tortUJYFiYMe60g="; 31 + src = fetchurl { 32 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 + hash = "sha256-EQXuB34hR/KgOc3fphb6XLlDiIPdlAQn4RaZ3NZUnBE="; 33 34 }; 34 35 36 + patches = [ 37 + (fetchpatch2 { 38 + # Fix tests https://gitlab.gnome.org/GNOME/libshumate/-/merge_requests/236 39 + url = "https://gitlab.gnome.org/GNOME/libshumate/-/commit/852615b0df2252ea67f4f82e9ace2fc2794467b3.patch"; 40 + hash = "sha256-Ksye3zNNYmzP4O+QFDVODXUkFJOLDVMEZNfGXwbxWhs="; 41 + }) 42 + ]; 43 + 35 44 depsBuildBuild = [ 36 45 # required to find native gi-docgen when cross compiling 37 46 pkg-config ··· 44 53 pkg-config 45 54 vala 46 55 gobject-introspection 56 + gperf 47 57 ]; 48 58 49 59 buildInputs = [ ··· 53 63 libsoup_3 54 64 gtk4 55 65 libsysprof-capture 66 + json-glib 67 + protobufc 56 68 ]; 57 69 58 70 nativeCheckInputs = [