git.iko.soy/typeable/nixpkgs
on master help sign in
tint2: 0.14.6 -> 15.1
commitee88bd3424a96d3c6f98a809d535666aa0f3de63 authorJosé Romildo Malaquias <malaquias@gmail.com> dateWed 20 Sep 2017, 06:35 (9 years ago) parentadd7faf
1 file changed+6−9
pkgs/applications/misc/tint2/default.nix+6−9
pkgs/applications/misc/tint2/default.nix+6−9
@@ -1,18 +1,18 @@
11{ stdenv, fetchFromGitLab, pkgconfig, cmake, gettext, cairo, pango, pcre
2−, glib , imlib2, gtk2, libXinerama , libXrender, libXcomposite, libXdamage
3−, libX11 , libXrandr, librsvg, libpthreadstubs , libXdmcp
4−, libstartup_notification , hicolor_icon_theme, wrapGAppsHook
2+, glib, imlib2, gtk2, libXinerama, libXrender, libXcomposite, libXdamage
3+, libX11, libXrandr, librsvg, libpthreadstubs, libXdmcp
4+, libstartup_notification, hicolor_icon_theme, wrapGAppsHook
55}:
66
77stdenv.mkDerivation rec {
88 name = "tint2-${version}";
9− version = "0.14.6";
9+ version = "15.1";
1010
1111 src = fetchFromGitLab {
1212 owner = "o9000";
1313 repo = "tint2";
1414 rev = version;
15− sha256 = "0v7i8araj85cbl45icinvmsz5741cx2ybjgkx72m3xfcb9fqg69l";
15+ sha256 = "16mpvknibbqy0vjgkwig7g8i6rivm14ipd7ixvqydgcj7wibn0b7";
1616 };
1717
1818 enableParallelBuilding = true;
@@ -23,11 +23,8 @@ stdenv.mkDerivation rec {
2323 libXcomposite libXdamage libX11 libXrandr librsvg libpthreadstubs
2424 libXdmcp libstartup_notification hicolor_icon_theme ];
2525
26− preConfigure = ''
26+ postPatch = ''
2727 substituteInPlace CMakeLists.txt --replace /etc $out/etc
28− '';
29−
30− prePatch = ''
3128 for f in ./src/launcher/apps-common.c \
3229 ./src/launcher/icon-theme-common.c \
3330 ./themes/*tint2rc