summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-06-30 03:51:19 +0200
committerGitHub <noreply@github.com>2021-06-30 03:51:19 +0200
commit809c17294f0ed31160387c572a05a3982bed697a (patch)
tree007e82fb8d5e07e63fa418976cd11c8710bb4df4 /pkgs/applications/window-managers
parent52239d8807779a7308e77703c845ced38f915261 (diff)
parentd59a508701fca5b6cf090f19abfe35d4b41e03bb (diff)
downloadnixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar.gz
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar.bz2
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar.lz
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar.xz
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.tar.zst
nixpkgs-809c17294f0ed31160387c572a05a3982bed697a.zip
Merge pull request #128011 from alyssais/tinywl
tinywl: init at 0.14.0
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/tinywl/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/tinywl/default.nix b/pkgs/applications/window-managers/tinywl/default.nix
new file mode 100644
index 00000000000..ea8a92615a4
--- /dev/null
+++ b/pkgs/applications/window-managers/tinywl/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, wlroots, pkg-config
+, libxkbcommon, pixman, udev, wayland, wayland-protocols
+}:
+
+stdenv.mkDerivation {
+  pname = "tinywl";
+  inherit (wlroots) version src;
+
+  sourceRoot = "source/tinywl";
+
+  nativeBuildInputs = [ pkg-config ];
+  buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];
+
+  installPhase = ''
+    runHook preInstall
+    mkdir -p $out/bin
+    cp tinywl $out/bin
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl";
+    description = ''"minimum viable product" Wayland compositor based on wlroots.'';
+    maintainers = with maintainers; [ qyliss ];
+    license = licenses.cc0;
+    inherit (wlroots.meta) platforms;
+  };
+}