2017-01-28 08:13:03 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkgconfig, asciidoc, docbook_xml_dtd_45
|
|
|
|
, docbook_xsl, libxslt, libxml2, makeWrapper
|
|
|
|
, dbus, libconfig, libdrm, mesa_noglu, pcre, libX11, libXcomposite, libXdamage
|
|
|
|
, libXinerama, libXrandr, libXrender, libXext, xwininfo }:
|
2013-12-26 00:12:40 +00:00
|
|
|
|
2012-06-08 10:16:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-01-28 08:13:03 +00:00
|
|
|
name = "compton-0.1_beta2.5";
|
2013-12-26 00:12:40 +00:00
|
|
|
|
2017-01-28 08:13:03 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chjj";
|
|
|
|
repo = "compton";
|
|
|
|
rev = "b7f43ee67a1d2d08239a2eb67b7f50fe51a592a8";
|
|
|
|
sha256 = "1p7ayzvm3c63q42na5frznq3rlr1lby2pdgbvzm1zl07wagqss18";
|
2012-06-08 10:16:46 +00:00
|
|
|
};
|
2013-12-26 00:12:40 +00:00
|
|
|
|
2016-07-19 07:31:09 +00:00
|
|
|
buildInputs = [
|
2017-01-28 08:13:03 +00:00
|
|
|
libX11
|
2016-07-19 07:31:09 +00:00
|
|
|
libXcomposite
|
|
|
|
libXdamage
|
|
|
|
libXrender
|
2017-01-28 08:13:03 +00:00
|
|
|
libXrandr
|
2016-07-19 07:31:09 +00:00
|
|
|
libXext
|
2017-01-28 08:13:03 +00:00
|
|
|
libXinerama
|
|
|
|
libdrm
|
|
|
|
pcre
|
|
|
|
libconfig
|
|
|
|
dbus
|
|
|
|
mesa_noglu
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
asciidoc
|
|
|
|
libxml2
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl
|
|
|
|
libxslt
|
|
|
|
makeWrapper
|
2016-07-19 07:31:09 +00:00
|
|
|
];
|
|
|
|
|
2017-01-28 08:13:03 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/compton-trans \
|
|
|
|
--prefix PATH : ${lib.makeBinPath [ xwininfo ]}
|
|
|
|
'';
|
2013-12-26 00:12:40 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/chjj/compton/;
|
2012-06-08 10:16:46 +00:00
|
|
|
description = "A fork of XCompMgr, a sample compositing manager for X servers";
|
|
|
|
longDescription = ''
|
2016-07-19 07:31:09 +00: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 10:16:46 +00:00
|
|
|
'';
|
2013-12-26 00:12:40 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2012-06-08 10:16:46 +00:00
|
|
|
};
|
|
|
|
}
|