summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorTomasz Kontusz <tomasz.kontusz@gmail.com>2013-12-26 01:12:40 +0100
committerTomasz Kontusz <tomasz.kontusz@gmail.com>2013-12-26 01:22:24 +0100
commit37a3f2179988e3d6365c2c643d1692d7e6a35e48 (patch)
treed688bbec2d91d8bc22415e598843d6cb2608bfd5 /pkgs/applications/window-managers
parenta4462d9a032c6022b09039b71105a3ecb17295a6 (diff)
downloadnixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar.gz
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar.bz2
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar.lz
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar.xz
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.tar.zst
nixpkgs-37a3f2179988e3d6365c2c643d1692d7e6a35e48.zip
Bump compton to v0.1_beta2
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/compton/default.nix31
1 files changed, 19 insertions, 12 deletions
diff --git a/pkgs/applications/window-managers/compton/default.nix b/pkgs/applications/window-managers/compton/default.nix
index dc1622972ad..efa820b0b6a 100644
--- a/pkgs/applications/window-managers/compton/default.nix
+++ b/pkgs/applications/window-managers/compton/default.nix
@@ -1,17 +1,24 @@
-{ stdenv, fetchgit, pkgconfig, libXcomposite, libXfixes, libXdamage
-, libXrender, libXext }:
+{ stdenv, fetchurl, pkgconfig
+, dbus, libconfig, libdrm, libxml2, mesa, pcre
+, libXcomposite, libXfixes, libXdamage, libXinerama
+, libXrandr, libXrender, libXext }:
+
 stdenv.mkDerivation rec {
-  name = "compton-20120507";
-  src = fetchgit {
-    url = git://github.com/chjj/compton.git;
-    rev = "d52f7a06dbc55d92e061f976730952177edac739";
-    sha256 = "0f7600a841c4c77d181b54bc14cf7d90d0bad25aa5edbade320ca8b9946f14eb";
+
+  name = "compton-0.1_beta2";
+
+  src = fetchurl {
+    url = https://github.com/chjj/compton/releases/download/v0.1_beta2/compton-git-v0.1_beta2-2013-10-21.tar.xz;
+    sha256 = "1mpgn1d98dv66xs2j8gaxjiw26nzwl9a641lrday7h40g3k45g9v";
   };
-  buildInputs = [ pkgconfig libXcomposite libXfixes libXdamage libXrender libXext ];
+
+  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 = {
-    homepage = http://www.x.org/;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/chjj/compton/;
     description = "A fork of XCompMgr, a sample compositing manager for X servers";
     longDescription = ''
       A fork of XCompMgr, which is a  sample compositing manager for X servers
@@ -19,7 +26,7 @@ stdenv.mkDerivation rec {
       basic eye-candy effects. This fork adds additional features, such as additional
       effects, and a fork at a well-defined and proper place.
     '';
-    license = "bsd";
-    platforms = with stdenv.lib.platforms; linux;
+    license = licenses.mit;
+    platforms = platforms.linux;
   };
 }