diff options
author | Marius Rejdak <mariuswol@gmail.com> | 2013-12-22 17:20:17 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-12-29 23:35:46 +0100 |
commit | 2da33b4ecf12ac60b21a2aecd9d4d2d8dcc0e794 (patch) | |
tree | b0963a83ec8f206dc33faa099446b09da0d2a2a3 /pkgs/applications/misc/tint2 | |
parent | 26b3d0ab505cd109540ee89fec9385b79ff96069 (diff) |
tint2 nixpkg
Diffstat (limited to 'pkgs/applications/misc/tint2')
-rw-r--r-- | pkgs/applications/misc/tint2/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tint2/default.nix b/pkgs/applications/misc/tint2/default.nix new file mode 100644 index 0000000000000..9eb3ed13af581 --- /dev/null +++ b/pkgs/applications/misc/tint2/default.nix @@ -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; + }; +} |