about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorVasiliy Solovey <miltador@yandex.ua>2017-03-26 21:22:52 +0300
committerVasiliy Solovey <miltador@yandex.ua>2017-03-26 21:39:58 +0300
commiteef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47 (patch)
treee521fd4102fccc8c5d543ad25552baa271935134 /pkgs/applications/window-managers
parentaa0fb8f8efbc21843fcab97d30005669ebe6464e (diff)
downloadnixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar.gz
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar.bz2
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar.lz
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar.xz
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.tar.zst
nixlib-eef066d05ca4f3236cee0d9ac92e7ccc5c4d6a47.zip
way-cooler: init at 0.5.2
Diffstat (limited to 'pkgs/applications/window-managers')
-rwxr-xr-xpkgs/applications/window-managers/way-cooler/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/way-cooler/default.nix b/pkgs/applications/window-managers/way-cooler/default.nix
new file mode 100755
index 000000000000..d9d84e834304
--- /dev/null
+++ b/pkgs/applications/window-managers/way-cooler/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig
+, wayland, xwayland, wlc, dbus_libs, dbus_glib, cairo, libxkbcommon }:
+
+with rustPlatform;
+
+buildRustPackage rec {
+  name = "way-cooler-${version}";
+  version = "0.5.2";
+
+  src = fetchFromGitHub {
+    owner = "way-cooler";
+    repo = "way-cooler";
+    rev = "v${version}";
+    sha256 = "10s01x54kwjm2c85v57i6g3pvj5w3wpkjblj036mmd865fla1brb";
+  };
+
+  depsSha256 = "1k5xbw2zhm5z650mxdbxixr90im53wlpjdvq2pbnx2snqm84idlc";
+
+  buildInputs = [ wlc dbus_libs dbus_glib cairo libxkbcommon ];
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  meta = with stdenv.lib; {
+    description = "Customizable Wayland compositor (window manager)";
+    longDescription = ''
+      Way Cooler is a customizable tiling window manager written in Rust
+      for Wayland and configurable using Lua. It is heavily inspired by
+      the tiling and extensibility of both i3 and awesome. While Lua is
+      used for the configuration, like awesome, extensions for Way Cooler
+      are implemented as totally separate client programs using D-Bus.
+      This means that you can use virtually any language to extend the
+      window manager, with much better guarantees about interoperability
+      between extensions.
+    '';
+    homepage = http://way-cooler.org/;
+    license = with licenses; [ mit ];
+    maintainers = [ maintainers.miltador ];
+    platforms = platforms.all;
+  };
+}