summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-07-08 19:26:54 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-07-08 21:33:22 -0300
commit651beb2a23fb0ae7939c5e0d3c645f487fdaa448 (patch)
tree98992a8271c89ff570f7a056838597a912a67124 /pkgs/tools/wayland
parent02fb17b3f3ccca018afc6d61556e0e474f729267 (diff)
downloadnixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar.gz
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar.bz2
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar.lz
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar.xz
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.tar.zst
nixpkgs-651beb2a23fb0ae7939c5e0d3c645f487fdaa448.zip
wlay: init at unstable-2022-01-26
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/wlay/default.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/wlay/default.nix b/pkgs/tools/wayland/wlay/default.nix
new file mode 100644
index 00000000000..a766a49d25d
--- /dev/null
+++ b/pkgs/tools/wayland/wlay/default.nix
@@ -0,0 +1,57 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, extra-cmake-modules
+, glfw3
+, libX11
+, libXau
+, libXdmcp
+, libepoxy
+, libffi
+, libxcb
+, pkg-config
+, wayland
+, wayland-scanner
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "wlay";
+  version = "unstable-2022-01-26";
+
+  src = fetchFromGitHub {
+    owner = "atx";
+    repo = "wlay";
+    rev = "ed316060ac3ac122c0d3d8918293e19dfe9a6c90";
+    hash = "sha256-Lu+EyoDHiXK9QzD4jdwbllCOCl2aEU+uK6/KxC2AUGQ=";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [
+    cmake
+    pkg-config
+    wayland-scanner
+  ];
+
+  buildInputs = [
+    extra-cmake-modules
+    glfw3
+    libX11
+    libXau
+    libXdmcp
+    libepoxy
+    libffi
+    libxcb
+    wayland
+  ];
+
+  strictDeps = true;
+
+  meta = {
+    homepage = "https://github.com/atx/wlay";
+    description = "Graphical output management for Wayland";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    inherit (wayland.meta) platforms;
+  };
+})