diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-11-14 15:57:43 -0800 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-11-14 15:59:00 -0800 |
commit | 259ea264a5511ddd55aa51179c418a4501e54372 (patch) | |
tree | 7f00e6b4444d02ebc0bcb942ed146875070583b9 | |
parent | c0c49aec5894ea2857ae8e8c401961b504bc11e9 (diff) |
wl-clipboard: add package
Signed-off-by: Cole Mickens <cole.mickens@gmail.com>
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/wl-clipboard/default.nix | 32 | ||||
-rw-r--r-- | pkgs/wl-clipboard/metadata.nix | 5 | ||||
-rwxr-xr-x | update.sh | 1 |
5 files changed, 41 insertions, 1 deletions
@@ -32,13 +32,14 @@ This overlay is built and (somewhat) tested against `nixos-unstable`. | pkgs/redshift-wayland | [2018-11-07 12:03](https://github.com/minus7/redshift/commits/420d0d534c9f03abc4d634a7d3d7629caf29b4b6) | | pkgs/bspwc | [2018-10-19 05:58](https://github.com/Bl4ckb0ne/bspwc/commits/6a8ba7bc17146544f6e0446f473ff290e77e3256) | | pkgs/waybox | [2018-10-06 13:44](https://github.com/wizbright/waybox/commits/24669f24f6ce41f99088483f5c55c41498a57662) | +| pkgs/wl-clipboard | [2018-11-13 06:19](https://github.com/bugaevc/wl-clipboard/commits/48c2aed5ed7afe58100751f39e1b9ca05e946570) | | pkgs/wmfocus | [2018-11-01 11:17](https://github.com/svenstaro/wmfocus/commits/d6f5ff88b7fb5d2eedde3c5989ae49a656ac5adb) | | pkgs/i3status-rust | [2018-11-12 05:55](https://github.com/greshake/i3status-rust/commits/b198b11e4b02b1a3b20fbfca103c35040435ad08) | <!--pkgs--> </details><br/> -Auto-update script last run: <!--update-->2018-11-14 15:27<!--update-->. +Auto-update script last run: <!--update-->2018-11-14 15:58<!--update-->. ## Usage diff --git a/default.nix b/default.nix index d325afa..363200d 100644 --- a/default.nix +++ b/default.nix @@ -22,6 +22,7 @@ waylandPkgs = { }; bspwc = pkgs.callPackage ./pkgs/bspwc {}; waybox = pkgs.callPackage ./pkgs/waybox {}; + wl-clipboard = pkgs.callPackage ./pkgs/wl-clipboard {}; # i3-related wmfocus = pkgs.callPackage ./pkgs/wmfocus {}; diff --git a/pkgs/wl-clipboard/default.nix b/pkgs/wl-clipboard/default.nix new file mode 100644 index 0000000..3a7ad4b --- /dev/null +++ b/pkgs/wl-clipboard/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub +, meson, ninja, pkgconfig +, wayland, wayland-protocols +}: + +let + metadata = import ./metadata.nix; +in +stdenv.mkDerivation rec { + name = "wl-clipboard-${version}"; + version = metadata.rev; + + src = fetchFromGitHub { + owner = "bugaevc"; + repo = "wl-clipboard"; + rev = version; + sha256 = metadata.sha256; + }; + + nativeBuildInputs = [ pkgconfig meson ninja ]; + buildInputs = [ wayland wayland-protocols ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Select a region in a Wayland compositor"; + homepage = https://github.com/bugaevc/wl-clipboard; + #license = licenses.mit; # TODO none listed + platforms = platforms.linux; + maintainers = with maintainers; [ colemickens ]; + }; +} diff --git a/pkgs/wl-clipboard/metadata.nix b/pkgs/wl-clipboard/metadata.nix new file mode 100644 index 0000000..693e05e --- /dev/null +++ b/pkgs/wl-clipboard/metadata.nix @@ -0,0 +1,5 @@ +{ + rev = "48c2aed5ed7afe58100751f39e1b9ca05e946570"; + sha256 = "03h6ajcc30w6928bkd4h6xfj4iy2359ww6hdlybq8mr1zwmb2h0q"; + revdate = "2018-11-13T14:19:12Z"; +} @@ -52,6 +52,7 @@ update "pkgs/wf-config" "WayfireWM" "wf-config" "master" update "pkgs/redshift-wayland" "minus7" "redshift" "wayland" update "pkgs/bspwc" "Bl4ckb0ne" "bspwc" "master" update "pkgs/waybox" "wizbright" "waybox" "master" +update "pkgs/wl-clipboard" "bugaevc" "wl-clipboard" "master" # i3-related update "pkgs/wmfocus" "svenstaro" "wmfocus" "master" |