2016-07-19 08:31:09 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, libconfig, libdrm, libxml2, mesa, pcre,
|
|
|
|
libXcomposite, libXfixes, libXdamage, libXinerama, libXrandr, libXrender,
|
|
|
|
libXext, xwininfo }:
|
2013-12-26 00:12:40 +00:00
|
|
|
|
2012-06-08 11:16:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-26 00:12:40 +00:00
|
|
|
name = "compton-0.1_beta2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/chjj/compton/releases/download/v0.1_beta2/compton-git-v0.1_beta2-2013-10-21.tar.xz;
|
|
|
|
sha256 = "1mpgn1d98dv66xs2j8gaxjiw26nzwl9a641lrday7h40g3k45g9v";
|
2012-06-08 11:16:46 +01:00
|
|
|
};
|
2013-12-26 00:12:40 +00:00
|
|
|
|
2016-07-19 08:31:09 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
dbus
|
|
|
|
libconfig
|
|
|
|
libdrm
|
|
|
|
libxml2
|
|
|
|
mesa
|
|
|
|
pcre
|
|
|
|
libXcomposite
|
|
|
|
libXfixes
|
|
|
|
libXdamage
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
libXext
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xwininfo ];
|
|
|
|
|
2012-06-08 11:16:46 +01:00
|
|
|
installFlags = "PREFIX=$(out)";
|
2013-12-26 00:12:40 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/chjj/compton/;
|
2012-06-08 11:16:46 +01:00
|
|
|
description = "A fork of XCompMgr, a sample compositing manager for X servers";
|
|
|
|
longDescription = ''
|
2016-07-19 08:31:09 +01:00
|
|
|
A fork of XCompMgr, which is a sample compositing manager for X
|
|
|
|
servers supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE
|
|
|
|
extensions. It enables basic eye-candy effects. This fork adds
|
|
|
|
additional features, such as additional effects, and a fork at a
|
|
|
|
well-defined and proper place.
|
2012-06-08 11:16:46 +01:00
|
|
|
'';
|
2013-12-26 00:12:40 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2012-06-08 11:16:46 +01:00
|
|
|
};
|
|
|
|
}
|