From a4e976c752280612fc2402e54a13b873c2801450 Mon Sep 17 00:00:00 2001 From: Ertugrul Söylemez Date: Tue, 21 Apr 2015 23:42:43 +0200 Subject: Added compton-git, the Git version of compton. --- pkgs/applications/window-managers/compton/git.nix | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pkgs/applications/window-managers/compton/git.nix (limited to 'pkgs/applications/window-managers/compton/git.nix') diff --git a/pkgs/applications/window-managers/compton/git.nix b/pkgs/applications/window-managers/compton/git.nix new file mode 100644 index 00000000000..18325ccc1b4 --- /dev/null +++ b/pkgs/applications/window-managers/compton/git.nix @@ -0,0 +1,55 @@ +{ stdenv, fetchFromGitHub, asciidoc, dbus, docbook_xml_dtd_45, + docbook_xml_xslt, libconfig, libdrm, libxml2, libxslt, mesa, pcre, + pkgconfig, libXcomposite, libXdamage, libXext, libXfixes, libXinerama, + libXrandr, libXrender }: + +stdenv.mkDerivation { + name = "compton-git-2015-04-20"; + + src = fetchFromGitHub { + owner = "chjj"; + repo = "compton"; + rev = "b1889c1245e6f47eedfae6063100d5a16f584e2b"; + sha256 = "0brnbidxi7wg08yiwgnijzcyqv5lnkd74xzfymvb0i7pgy465vaf"; + }; + + buildInputs = [ + asciidoc + dbus + docbook_xml_dtd_45 + docbook_xml_xslt + libXcomposite + libXdamage + libXext + libXfixes + libXinerama + libXrandr + libXrender + libconfig + libdrm + libxml2 + libxslt + mesa + pcre + pkgconfig + ]; + + buildFlagsArray = ["CFLAGS=-O3 -fomit-frame-pointer"]; + installFlags = "PREFIX=$(out)"; + + meta = with stdenv.lib; { + description = + "A fork of XCompMgr, a sample compositing manager for X servers (git version)"; + homepage = https://github.com/chjj/compton/; + license = licenses.mit; + longDescription = '' + 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. + ''; + maintainer = maintainers.ertes; + platforms = platforms.linux; + }; +} -- cgit 1.4.1 From 60c18ca58614e807898e407a059f998f8d863f14 Mon Sep 17 00:00:00 2001 From: Ertugrul Söylemez Date: Thu, 23 Apr 2015 22:04:28 +0200 Subject: compton: Removed unnecessary optimisation flags. --- pkgs/applications/window-managers/compton/default.nix | 1 - pkgs/applications/window-managers/compton/git.nix | 1 - 2 files changed, 2 deletions(-) (limited to 'pkgs/applications/window-managers/compton/git.nix') diff --git a/pkgs/applications/window-managers/compton/default.nix b/pkgs/applications/window-managers/compton/default.nix index efa820b0b6a..7efacafd6a1 100644 --- a/pkgs/applications/window-managers/compton/default.nix +++ b/pkgs/applications/window-managers/compton/default.nix @@ -14,7 +14,6 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig dbus libconfig libdrm libxml2 mesa pcre libXcomposite libXfixes libXdamage libXinerama libXrandr libXrender libXext ]; - buildFlagsArray = ["CFLAGS=-O3 -fomit-frame-pointer"]; installFlags = "PREFIX=$(out)"; meta = with stdenv.lib; { diff --git a/pkgs/applications/window-managers/compton/git.nix b/pkgs/applications/window-managers/compton/git.nix index 18325ccc1b4..be2586c9e27 100644 --- a/pkgs/applications/window-managers/compton/git.nix +++ b/pkgs/applications/window-managers/compton/git.nix @@ -34,7 +34,6 @@ stdenv.mkDerivation { pkgconfig ]; - buildFlagsArray = ["CFLAGS=-O3 -fomit-frame-pointer"]; installFlags = "PREFIX=$(out)"; meta = with stdenv.lib; { -- cgit 1.4.1