summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-02-16 00:27:54 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-02-16 12:37:40 -0300
commite6070d1e084df2baeb2e2d028b71f86888d57a26 (patch)
tree611c6e35cde5bcb9570973bfbde230ed79e4d919 /pkgs/tools/wayland
parente72435ba8ebc12a548224e4a522c5306007da0f4 (diff)
wl-clipboard: rename from tools/misc to tools/wayland
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/wl-clipboard/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/wl-clipboard/default.nix b/pkgs/tools/wayland/wl-clipboard/default.nix
new file mode 100644
index 000000000000..0c94e98335f8
--- /dev/null
+++ b/pkgs/tools/wayland/wl-clipboard/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkg-config
+, wayland
+, wayland-protocols
+}:
+
+stdenv.mkDerivation rec {
+ pname = "wl-clipboard";
+ version = "2.0.0";
+
+ src = fetchFromGitHub {
+ owner = "bugaevc";
+ repo = "wl-clipboard";
+ rev = "v${version}";
+ sha256 = "0c4w87ipsw09aii34szj9p0xfy0m00wyjpll0gb0aqmwa60p0c5d";
+ };
+
+ nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ];
+ buildInputs = [ wayland ];
+
+ meta = with lib; {
+ homepage = "https://github.com/bugaevc/wl-clipboard";
+ description = "Command-line copy/paste utilities for Wayland";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ dywedir ];
+ platforms = platforms.linux;
+ };
+}