2015-04-21 21:42:43 +00:00
|
|
|
{ stdenv, fetchFromGitHub, asciidoc, dbus, docbook_xml_dtd_45,
|
2018-07-17 20:11:16 +00:00
|
|
|
docbook_xsl, libconfig, libdrm, libxml2, libxslt, libGLU_combined, pcre,
|
2015-04-21 21:42:43 +00:00
|
|
|
pkgconfig, libXcomposite, libXdamage, libXext, libXfixes, libXinerama,
|
2016-07-19 07:31:09 +00:00
|
|
|
libXrandr, libXrender, xwininfo }:
|
2015-04-21 21:42:43 +00:00
|
|
|
|
2018-05-31 17:24:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "compton-git-${version}";
|
|
|
|
version = "2018-05-21";
|
2015-04-21 21:42:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-31 17:24:30 +00:00
|
|
|
owner = "yshui";
|
2015-04-21 21:42:43 +00:00
|
|
|
repo = "compton";
|
2018-05-31 17:24:30 +00:00
|
|
|
rev = "9b24550814b7c69065f90039b0a5d0a2281b9f81";
|
|
|
|
sha256 = "09nn0q9lgv59chfxljips0n8vnwwxi1yz6hmcsiggsl3zvpabpxl";
|
2015-04-21 21:42:43 +00:00
|
|
|
};
|
|
|
|
|
2016-04-29 13:14:36 +00:00
|
|
|
nativeBuildInputs = [
|
2015-04-21 21:42:43 +00:00
|
|
|
asciidoc
|
|
|
|
docbook_xml_dtd_45
|
2018-07-17 20:11:16 +00:00
|
|
|
docbook_xsl
|
2016-04-29 13:14:36 +00:00
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dbus
|
2015-04-21 21:42:43 +00: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 21:42:43 +00:00
|
|
|
pcre
|
|
|
|
];
|
|
|
|
|
2016-07-19 07:31:09 +00:00
|
|
|
propagatedBuildInputs = [ xwininfo ];
|
|
|
|
|
2015-04-21 21:42:43 +00:00
|
|
|
installFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description =
|
|
|
|
"A fork of XCompMgr, a sample compositing manager for X servers (git version)";
|
2018-05-31 17:24:30 +00:00
|
|
|
homepage = https://github.com/yshui/compton/;
|
2015-04-21 21:42:43 +00:00
|
|
|
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 07:31:09 +00:00
|
|
|
extensions. It enables basic eye-candy effects. This fork adds
|
2015-04-21 21:42:43 +00:00
|
|
|
additional features, such as additional effects, and a fork at a
|
|
|
|
well-defined and proper place.
|
|
|
|
'';
|
2018-05-31 17:24:30 +00:00
|
|
|
maintainers = [ maintainers.ertes maintainers.twey ];
|
2015-04-21 21:42:43 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|