summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-06-04 01:32:04 +0300
committerArtturin <Artturin@artturin.com>2021-06-06 00:55:10 +0300
commit044053e28c51b0284d1ace43655f8292ad543167 (patch)
treefc113b8bfd79d9e2783de4e1359bf0e80c0e8002 /pkgs/tools/wayland
parent07759172ec997850eb73c937e2ecb12418cc426e (diff)
downloadnixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar.gz
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar.bz2
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar.lz
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar.xz
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.tar.zst
nixpkgs-044053e28c51b0284d1ace43655f8292ad543167.zip
wlrctl: init at 0.2.1
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/wlrctl/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/wlrctl/default.nix b/pkgs/tools/wayland/wlrctl/default.nix
new file mode 100644
index 00000000000..7cb54d381b0
--- /dev/null
+++ b/pkgs/tools/wayland/wlrctl/default.nix
@@ -0,0 +1,26 @@
+{ lib, stdenv, fetchFromSourcehut, meson, pkg-config, scdoc, ninja, libxkbcommon, wayland }:
+
+stdenv.mkDerivation rec {
+  pname = "wlrctl";
+  version = "0.2.1";
+
+  src = fetchFromSourcehut {
+    owner = "~brocellous";
+    repo = "wlrctl";
+    rev = "v${version}";
+    sha256 = "039cxc82k7x473n6d65jray90rj35qmfdmr390zy0c7ic7vn4b78";
+  };
+
+  nativeBuildInputs = [ meson pkg-config scdoc ninja ];
+  buildInputs = [ libxkbcommon wayland ];
+
+  NIX_CFLAGS_COMPILE = "-Wno-error=type-limits";
+
+  meta = with lib; {
+    description = "Command line utility for miscellaneous wlroots Wayland extensions";
+    homepage = "https://git.sr.ht/~brocellous/wlrctl";
+    license = licenses.mit;
+    maintainers = with maintainers; [ puffnfresh artturin ];
+    platforms = platforms.unix;
+  };
+}