diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | bspwc/default.nix | 38 | ||||
-rw-r--r-- | bspwc/metadata.nix | 5 | ||||
-rw-r--r-- | default.nix | 1 | ||||
-rwxr-xr-x | update.sh | 2 |
5 files changed, 47 insertions, 2 deletions
@@ -23,12 +23,13 @@ This overlay is built and (somewhat) tested against `nixos-unstable`. | wayfire | [2018-11-01 03:05](https://github.com/WayfireWM/wayfire/commits/f634aff42ae8a29794d3977675a09e72832f2414) | | wf-config | [2018-10-22 00:05](https://github.com/WayfireWM/wf-config/commits/8f7046e6c67d4a277b0793b56ff6535f53997bc5) | | redshift-wayland | [2018-09-01 12:25](https://github.com/minus7/redshift/commits/a2177ed9942477868ccc514372f32a0fbcbe189e) | +| bspwc | [2018-10-19 05:58](https://github.com/Bl4ckb0ne/bspwc/commits/6a8ba7bc17146544f6e0446f473ff290e77e3256) | | wmfocus | [2018-11-01 11:17](https://github.com/svenstaro/wmfocus/commits/d6f5ff88b7fb5d2eedde3c5989ae49a656ac5adb) | | i3status-rust | [2018-11-02 08:41](https://github.com/greshake/i3status-rust/commits/2b3ccf48721b3944281ee44a7e7562083471062d) | | ripasso | [2018-10-25 16:45](https://github.com/cortex/ripasso/commits/a0e1d18320a17e3d6a1d5fc540591a139bcb63bf) | <!--pkgs--> -Auto-update script last run: <!--update-->2018-11-05 13:29<!--update-->. +Auto-update script last run: <!--update-->2018-11-05 13:59<!--update-->. Please open an issue if something is out of date. diff --git a/bspwc/default.nix b/bspwc/default.nix new file mode 100644 index 0000000..d499354 --- /dev/null +++ b/bspwc/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub +, meson, ninja, pkgconfig +, wlroots, wayland, wayland-protocols +, pixman, libxkbcommon +, libudev, mesa_noglu, libX11 # not mentioned in meson.build... +}: + +let + metadata = import ./metadata.nix; +in +stdenv.mkDerivation rec { + name = "bspwc-${version}"; + version = metadata.rev; + + src = fetchFromGitHub { + owner = "Bl4ckb0ne"; + repo = "bspwc"; + rev = version; + sha256 = metadata.sha256; + }; + + nativeBuildInputs = [ pkgconfig meson ninja ]; + buildInputs = [ + wlroots wayland wayland-protocols wlroots + pixman libxkbcommon libudev mesa_noglu libX11 + ]; + mesonFlags = [ "-Dauto_features=enabled" ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Wayland compositor based on BSPWM"; + homepage = "https://github.com/Bl4ckb0ne/bspwc"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ colemickens ]; + }; +} diff --git a/bspwc/metadata.nix b/bspwc/metadata.nix new file mode 100644 index 0000000..6d39631 --- /dev/null +++ b/bspwc/metadata.nix @@ -0,0 +1,5 @@ +{ + rev = "6a8ba7bc17146544f6e0446f473ff290e77e3256"; + sha256 = "14qvy5bdzrhv6h8qkkrhrxx0331msadi13hh783jgamqn67wq9yj"; + revdate = "2018-10-19T12:58:23Z"; +} diff --git a/default.nix b/default.nix index a06846a..198a682 100644 --- a/default.nix +++ b/default.nix @@ -20,6 +20,7 @@ swaypkgs = { inherit (pkgs.python3Packages) python pygobject3 pyxdg wrapPython; geoclue = pkgs.geoclue2; }; + bspwc = pkgs.callPackage ./bspwc {}; # i3-related wmfocus = pkgs.callPackage ./wmfocus {}; @@ -53,6 +53,7 @@ update "waybar" "Alexays" "waybar" "master" update "wayfire" "WayfireWM" "wayfire" "master" update "wf-config" "WayfireWM" "wf-config" "master" update "redshift-wayland" "minus7" "redshift" "wayland" +update "bspwc" "Bl4ckb0ne" "bspwc" "master" # i3-related update "wmfocus" "svenstaro" "wmfocus" "master" @@ -61,7 +62,6 @@ update "i3status-rust" "greshake" "i3status-rust" "master" # misc update "ripasso" "cortex" "ripasso" "master" -#update "bspwc" "Bl4ckb0ne" "bspwc" "master" #update "mahogany" "sdilts" "mahogany" "master" #update "tablecloth" "topisani" "tablecloth" "master" #update "trinkster" "Dreyri" "trinkster" "master" |