compton: add xwininfo dependency for compton-trans; clean up (#16877)

authored by Andrew Jamison and committed by Franz Pletz c6ba4cbd c09338d0

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