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