diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2019-06-03 14:01:33 -0700 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2019-06-03 14:04:17 -0700 |
commit | d45df08851161dcd4b210e3b90d0bc030d4cb334 (patch) | |
tree | 3f53e4e51d22761c353982b972049c5a83fedeaa | |
parent | 3cf7515ceb6da18dfa72b03aa8981e362c6b5067 (diff) |
add wtype; updates
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/alacritty/metadata.nix | 6 | ||||
-rw-r--r-- | pkgs/wtype/default.nix | 35 | ||||
-rw-r--r-- | pkgs/wtype/metadata.nix | 5 | ||||
-rwxr-xr-x | update.sh | 2 |
6 files changed, 49 insertions, 4 deletions
@@ -36,7 +36,8 @@ Packages from this overlay are regularly updated and built against `nixos-unstab | pkgs/wf-recorder | [2019-05-22 13:40](https://github.com/ammen99/wf-recorder/commits/43fb1c25a80ac1e498b4e4db9c28ebd3def5804a) | | pkgs/gebaar-libinput | [2019-04-05 13:27](https://github.com/Coffee2CodeNL/gebaar-libinput/commits/c18c8bd73e79aaf1211bd88bf9cff808273cf6d6) | | pkgs/i3status-rust | [2019-05-29 16:40](https://github.com/greshake/i3status-rust/commits/96e932d98da673fd8ff2dfb92b86db5a3ef71a27) | -| pkgs/alacritty | [2019-06-03 15:18](https://github.com/jwilm/alacritty/commits/3156517c70db3c127688ffec43a9bdd59d06dfab) | +| pkgs/alacritty | [2019-06-03 20:01](https://github.com/jwilm/alacritty/commits/3931fb6fbce728c33b4ae2d1e604f181a7246fe0) | +| pkgs/wtype | [2019-05-30 23:01](https://github.com/atx/wtype/commits/157ae8fb7bc4235d1dd87dde479eecfc2a17665f) | <!--pkgs--> </details> @@ -94,6 +95,7 @@ in wayfire # wayfire WM wf-config # wayfire config manager + wtype # xdotool, but for wayland ]; } ``` diff --git a/default.nix b/default.nix index 724bfb7..cda4903 100644 --- a/default.nix +++ b/default.nix @@ -35,6 +35,7 @@ waylandPkgs = rec { glpaper = pkgs.callPackage ./pkgs/glpaper {}; wlrobs = pkgs.callPackage ./pkgs/wlrobs {}; + wtype = pkgs.callPackage ./pkgs/wtype {}; alacritty = pkgs.callPackage ./pkgs/alacritty { inherit (pkgs.xorg) libXcursor libXxf86vm libXi libxcb; diff --git a/pkgs/alacritty/metadata.nix b/pkgs/alacritty/metadata.nix index d287905..47240d6 100644 --- a/pkgs/alacritty/metadata.nix +++ b/pkgs/alacritty/metadata.nix @@ -1,5 +1,5 @@ { - rev = "3156517c70db3c127688ffec43a9bdd59d06dfab"; - sha256 = "1vj69fpdycd1apgn6p5b0xkyq7f39pgb9ip8raadyd9p3lmipbw0"; - revdate = "2019-06-03T15:18:45Z"; + rev = "3931fb6fbce728c33b4ae2d1e604f181a7246fe0"; + sha256 = "0zf0il0v001h6kzyqc3nhxp983zmb9lj7434gql9zjzzi9y27zsi"; + revdate = "2019-06-03T20:01:26Z"; } diff --git a/pkgs/wtype/default.nix b/pkgs/wtype/default.nix new file mode 100644 index 0000000..dc63a94 --- /dev/null +++ b/pkgs/wtype/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub +, pkgconfig, cmake, extra-cmake-modules +, wayland, wayland-protocols + +}: + +let + metadata = import ./metadata.nix; +in +stdenv.mkDerivation rec { + name = "wtype-${version}"; + version = metadata.rev; + + src = fetchFromGitHub { + owner = "atx"; + repo = "wtype"; + rev = metadata.rev; + sha256 = metadata.sha256; + }; + + nativeBuildInputs = [ pkgconfig cmake extra-cmake-modules ]; + buildInputs = [ + wayland wayland-protocols + ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "High-level Wayland compositor library based on wlroots"; + homepage = "https://git.sr.ht/~bl4ckb0ne/wltrunk"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ colemickens ]; + }; +} diff --git a/pkgs/wtype/metadata.nix b/pkgs/wtype/metadata.nix new file mode 100644 index 0000000..a947e74 --- /dev/null +++ b/pkgs/wtype/metadata.nix @@ -0,0 +1,5 @@ +{ + rev = "157ae8fb7bc4235d1dd87dde479eecfc2a17665f"; + sha256 = "08z3bz732csrj721z5zihbz05ipxfqidsfsc2rfg39mlimrhl088"; + revdate = "2019-05-30T23:01:38Z"; +} @@ -63,6 +63,8 @@ update "pkgs/i3status-rust" "greshake" "i3status-rust" "master" update "pkgs/alacritty" "jwilm" "alacritty" "master" +update "pkgs/wtype" "atx" "wtype" "master" + # update README.md set +x replace="$(printf "<!--pkgs-->")" |