summary refs log tree commit diff
path: root/pkgs/applications/misc/tint2
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-09-20 13:37:33 -0300
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-20 18:37:33 +0200
commit0c631248c198ee020cc98f659b0eedfb36a6f010 (patch)
treed5657385100e2855cde557f2536ade97297c033a /pkgs/applications/misc/tint2
parenta32d7e0c74465e685c997624b12d1582fda05fd9 (diff)
downloadnixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar.gz
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar.bz2
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar.lz
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar.xz
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.tar.zst
nixpkgs-0c631248c198ee020cc98f659b0eedfb36a6f010.zip
tint2: 16.4 -> 16.6.1 (#46994)
Diffstat (limited to 'pkgs/applications/misc/tint2')
-rw-r--r--pkgs/applications/misc/tint2/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/applications/misc/tint2/default.nix b/pkgs/applications/misc/tint2/default.nix
index 31ccdb3c7f5..c70503cbff2 100644
--- a/pkgs/applications/misc/tint2/default.nix
+++ b/pkgs/applications/misc/tint2/default.nix
@@ -6,13 +6,13 @@
 
 stdenv.mkDerivation rec {
   name = "tint2-${version}";
-  version = "16.4";
+  version = "16.6.1";
 
   src = fetchFromGitLab {
     owner = "o9000";
     repo = "tint2";
     rev = version;
-    sha256 = "1h9l45zimai2hqfcf2y98g4i03imhmvm3mlsld9x99i650kxr5jm";
+    sha256 = "1h5bn4vi7gffwi4mpwpn0s6vxvl44rn3m9b23w8q9zyz9v24flz7";
   };
 
   enableParallelBuilding = true;
@@ -24,20 +24,18 @@ stdenv.mkDerivation rec {
     libXdmcp libstartup_notification hicolor-icon-theme ];
 
   postPatch = ''
-    substituteInPlace CMakeLists.txt --replace /etc $out/etc
     for f in ./src/launcher/apps-common.c \
-             ./src/launcher/icon-theme-common.c \
-             ./themes/*tint2rc
+             ./src/launcher/icon-theme-common.c
     do
       substituteInPlace $f --replace /usr/share/ /run/current-system/sw/share/
     done
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = https://gitlab.com/o9000/tint2;
     description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)";
-    license = stdenv.lib.licenses.gpl2;
-    platforms = stdenv.lib.platforms.linux;
-    maintainers = [ stdenv.lib.maintainers.romildo ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.romildo ];
   };
 }