1{ stdenv, fetchFromGitHub, asciidoc, dbus, docbook_xml_dtd_45,
2 docbook_xml_xslt, libconfig, libdrm, libxml2, libxslt, mesa, pcre,
3 pkgconfig, libXcomposite, libXdamage, libXext, libXfixes, libXinerama,
4 libXrandr, libXrender }:
5
6stdenv.mkDerivation {
7 name = "compton-git-2015-04-20";
8
9 src = fetchFromGitHub {
10 owner = "chjj";
11 repo = "compton";
12 rev = "b1889c1245e6f47eedfae6063100d5a16f584e2b";
13 sha256 = "0brnbidxi7wg08yiwgnijzcyqv5lnkd74xzfymvb0i7pgy465vaf";
14 };
15
16 buildInputs = [
17 asciidoc
18 dbus
19 docbook_xml_dtd_45
20 docbook_xml_xslt
21 libXcomposite
22 libXdamage
23 libXext
24 libXfixes
25 libXinerama
26 libXrandr
27 libXrender
28 libconfig
29 libdrm
30 libxml2
31 libxslt
32 mesa
33 pcre
34 pkgconfig
35 ];
36
37 installFlags = "PREFIX=$(out)";
38
39 meta = with stdenv.lib; {
40 description =
41 "A fork of XCompMgr, a sample compositing manager for X servers (git version)";
42 homepage = https://github.com/chjj/compton/;
43 license = licenses.mit;
44 longDescription = ''
45 A fork of XCompMgr, which is a sample compositing manager for X
46 servers supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE
47 extensions. It enables basic eye-candy effects. This fork adds
48 additional features, such as additional effects, and a fork at a
49 well-defined and proper place.
50 '';
51 maintainer = maintainers.ertes;
52 platforms = platforms.linux;
53 };
54}