tint2: 17.0.2 -> 17.1.3, switch to fork, fix compatibility with glib >= 2.76

+15 -4
+15 -4
pkgs/applications/misc/tint2/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitLab 3 + , fetchpatch 3 4 , pkg-config 4 5 , cmake 5 6 , gettext ··· 24 25 25 26 stdenv.mkDerivation rec { 26 27 pname = "tint2"; 27 - version = "17.0.2"; 28 + version = "17.1.3"; 28 29 29 30 src = fetchFromGitLab { 30 - owner = "o9000"; 31 + owner = "nick87720z"; 31 32 repo = "tint2"; 32 33 rev = version; 33 - sha256 = "sha256-SqpAjclwu3HN07LAZgvXGzjMK6G+nYLDdl90o1+9aog="; 34 + hash = "sha256-9sEe/Gnj+FWLPbWBtfL1YlNNC12j7/KjQ40xdkaFJVQ="; 34 35 }; 35 36 37 + patches = [ 38 + # Fix crashes with glib >= 2.76 39 + # https://patchespromptly.com/glib2/ 40 + # https://gitlab.com/nick87720z/tint2/-/issues/4 41 + (fetchpatch { 42 + url = "https://gitlab.com/nick87720z/tint2/uploads/7de4501a4fa4fffa5ba8bb0fa3d19f78/glib.patch"; 43 + hash = "sha256-K547KYlRkVl1s2THi3ZCRuM447EFJwTqUEBjKQnV8Sc="; 44 + }) 45 + ]; 46 + 36 47 nativeBuildInputs = [ 37 48 pkg-config 38 49 cmake ··· 72 83 ''; 73 84 74 85 meta = with lib; { 75 - homepage = "https://gitlab.com/o9000/tint2"; 86 + homepage = "https://gitlab.com/nick87720z/tint2"; 76 87 description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)"; 77 88 license = licenses.gpl2Only; 78 89 platforms = platforms.linux;