2015-04-21 22:42:43 +01:00
|
|
|
{ stdenv, fetchFromGitHub, asciidoc, dbus, docbook_xml_dtd_45,
|
2018-02-24 13:12:44 +00:00
|
|
|
docbook_xml_xslt, libconfig, libdrm, libxml2, libxslt, libGLU_combined, pcre,
|
2015-04-21 22:42:43 +01:00
|
|
|
pkgconfig, libXcomposite, libXdamage, libXext, libXfixes, libXinerama,
|
2016-07-19 08:31:09 +01:00
|
|
|
libXrandr, libXrender, xwininfo }:
|
2015-04-21 22:42:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-08-21 06:19:00 +01:00
|
|
|
name = "compton-git-2016-08-10";
|
2015-04-21 22:42:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chjj";
|
|
|
|
repo = "compton";
|
2016-08-21 06:19:00 +01:00
|
|
|
rev = "f1cd308cde0f1e1f21ec2ac8f16a3c873fa22d3a";
|
|
|
|
sha256 = "1ky438d1rsg4ylkcp60m82r0jck8rks3gfa869rc63k37p2nfn8p";
|
2015-04-21 22:42:43 +01:00
|
|
|
};
|
|
|
|
|
2016-04-29 14:14:36 +01:00
|
|
|
nativeBuildInputs = [
|
2015-04-21 22:42:43 +01:00
|
|
|
asciidoc
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xml_xslt
|
2016-04-29 14:14:36 +01:00
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dbus
|
2015-04-21 22:42:43 +01:00
|
|
|
libXcomposite
|
|
|
|
libXdamage
|
|
|
|
libXext
|
|
|
|
libXfixes
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
libconfig
|
|
|
|
libdrm
|
|
|
|
libxml2
|
|
|
|
libxslt
|
2018-02-24 13:12:44 +00:00
|
|
|
libGLU_combined
|
2015-04-21 22:42:43 +01:00
|
|
|
pcre
|
|
|
|
];
|
|
|
|
|
2016-07-19 08:31:09 +01:00
|
|
|
propagatedBuildInputs = [ xwininfo ];
|
|
|
|
|
2015-04-21 22:42:43 +01:00
|
|
|
installFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description =
|
|
|
|
"A fork of XCompMgr, a sample compositing manager for X servers (git version)";
|
|
|
|
homepage = https://github.com/chjj/compton/;
|
|
|
|
license = licenses.mit;
|
|
|
|
longDescription = ''
|
|
|
|
A fork of XCompMgr, which is a sample compositing manager for X
|
|
|
|
servers supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE
|
2016-07-19 08:31:09 +01:00
|
|
|
extensions. It enables basic eye-candy effects. This fork adds
|
2015-04-21 22:42:43 +01:00
|
|
|
additional features, such as additional effects, and a fork at a
|
|
|
|
well-defined and proper place.
|
|
|
|
'';
|
2016-11-20 17:05:18 +00:00
|
|
|
maintainers = [ maintainers.ertes ];
|
2015-04-21 22:42:43 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|