summary refs log tree commit diff
path: root/pkgs/tools/X11/wmutils-core/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/X11/wmutils-core/default.nix')
-rw-r--r--pkgs/tools/X11/wmutils-core/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/X11/wmutils-core/default.nix b/pkgs/tools/X11/wmutils-core/default.nix
new file mode 100644
index 00000000000..62f6e65bc21
--- /dev/null
+++ b/pkgs/tools/X11/wmutils-core/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, libxcb }:
+
+stdenv.mkDerivation rec {
+  name = "wmutils-core-${version}";
+  version = "1.0";
+
+  src = fetchurl {
+    url = "https://github.com/wmutils/core/archive/v${version}.tar.gz";
+    sha256 = "10vn56rbrjykcrjr06ki4qc12sri1ywrcvm89nmxlqhkxx4i239p";
+  };
+
+  buildInputs = [ libxcb ];
+
+  installFlags = [ "PREFIX=$(out)" ];
+
+  meta = with stdenv.lib; {
+    description = "Set of window manipulation tools";
+    homepage = https://github.com/wmutils/core;
+    license = licenses.isc;
+    platforms = platforms.unix;
+  };
+}