tint2 nixpkg

This commit is contained in:
Marius Rejdak 2013-12-22 17:20:17 +01:00 committed by Bjørn Forsman
parent 26b3d0ab50
commit 2da33b4ecf
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchurl, pkgconfig, cmake, pango, cairo, glib, imlib2, libXinerama
, libXrender, libXcomposite, libXdamage, libX11, libXrandr, gtk, libpthreadstubs
, libXdmcp
}:
stdenv.mkDerivation rec {
name = "tint2-${version}";
version = "0.11";
src = fetchurl {
url = "http://tint2.googlecode.com/files/${name}.tar.bz2";
sha256 = "07a74ag7lhc6706z34zvqj2ikyyl7wnzisfxpld67ljpc1m6w47y";
};
buildInputs = [ pkgconfig cmake pango cairo glib imlib2 libXinerama
libXrender libXcomposite libXdamage libX11 libXrandr gtk libpthreadstubs
libXdmcp
];
preConfigure = "substituteInPlace CMakeLists.txt --replace /etc $out/etc";
cmakeFlags = [
"-DENABLE_TINT2CONF=0"
];
meta = {
homepage = http://code.google.com/p/tint2;
license = stdenv.lib.licenses.gpl2;
description = "A simple panel/taskbar unintrusive and light (memory / cpu / aestetic)";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -8952,6 +8952,8 @@ let
timidity = callPackage ../tools/misc/timidity { };
tint2 = callPackage ../applications/misc/tint2 { };
tkcvs = callPackage ../applications/version-management/tkcvs { };
tla = callPackage ../applications/version-management/arch { };