tint2: 17.0.2 -> 17.1.3, switch to fork, fix compatibility with glib >= 2.76
This commit is contained in:
parent
600367d178
commit
f3d335e9be
1 changed files with 15 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, fetchpatch
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, cmake
|
, cmake
|
||||||
, gettext
|
, gettext
|
||||||
|
@ -24,15 +25,25 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tint2";
|
pname = "tint2";
|
||||||
version = "17.0.2";
|
version = "17.1.3";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "o9000";
|
owner = "nick87720z";
|
||||||
repo = "tint2";
|
repo = "tint2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-SqpAjclwu3HN07LAZgvXGzjMK6G+nYLDdl90o1+9aog=";
|
hash = "sha256-9sEe/Gnj+FWLPbWBtfL1YlNNC12j7/KjQ40xdkaFJVQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix crashes with glib >= 2.76
|
||||||
|
# https://patchespromptly.com/glib2/
|
||||||
|
# https://gitlab.com/nick87720z/tint2/-/issues/4
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.com/nick87720z/tint2/uploads/7de4501a4fa4fffa5ba8bb0fa3d19f78/glib.patch";
|
||||||
|
hash = "sha256-K547KYlRkVl1s2THi3ZCRuM447EFJwTqUEBjKQnV8Sc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
cmake
|
cmake
|
||||||
|
@ -72,7 +83,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://gitlab.com/o9000/tint2";
|
homepage = "https://gitlab.com/nick87720z/tint2";
|
||||||
description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)";
|
description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue