mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
commit
7f8750b1fe
@ -1,13 +1,13 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, substituteAll, swaybg
|
{ lib, stdenv, fetchFromGitHub, substituteAll, swaybg
|
||||||
, meson, ninja, pkg-config, wayland-scanner, scdoc
|
, meson, ninja, pkg-config, wayland-scanner, scdoc
|
||||||
, wayland, libxkbcommon, pcre, json_c, libevdev
|
, wayland, libxkbcommon, pcre2, json_c, libevdev
|
||||||
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
|
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
|
||||||
, wlroots, wayland-protocols, libdrm
|
, wlroots_0_16, wayland-protocols, libdrm
|
||||||
, nixosTests
|
, nixosTests
|
||||||
# Used by the NixOS module:
|
# Used by the NixOS module:
|
||||||
, isNixOS ? false
|
, isNixOS ? false
|
||||||
|
|
||||||
, enableXWayland ? true
|
, enableXWayland ? true, xorg
|
||||||
, systemdSupport ? stdenv.isLinux
|
, systemdSupport ? stdenv.isLinux
|
||||||
, dbusSupport ? true
|
, dbusSupport ? true
|
||||||
, dbus
|
, dbus
|
||||||
@ -23,13 +23,13 @@ let sd-bus-provider = if systemdSupport then "libsystemd" else "basu"; in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sway-unwrapped";
|
pname = "sway-unwrapped";
|
||||||
version = "1.7";
|
version = "1.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "swaywm";
|
owner = "swaywm";
|
||||||
repo = "sway";
|
repo = "sway";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0ss3l258blyf2d0lwd7pi7ga1fxfj8pxhag058k7cmjhs3y30y5l";
|
hash = "sha256-r5qf50YK0Wl0gFiFdSE/J6ZU+D/Cz32u1mKzOqnIuJ0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -59,12 +59,14 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wayland libxkbcommon pcre json_c libevdev
|
wayland libxkbcommon pcre2 json_c libevdev
|
||||||
pango cairo libinput libcap pam gdk-pixbuf librsvg
|
pango cairo libinput libcap pam gdk-pixbuf librsvg
|
||||||
wayland-protocols libdrm
|
wayland-protocols libdrm
|
||||||
(wlroots.override { inherit enableXWayland; })
|
(wlroots_0_16.override { inherit enableXWayland; })
|
||||||
] ++ lib.optionals dbusSupport [
|
] ++ lib.optionals dbusSupport [
|
||||||
dbus
|
dbus
|
||||||
|
] ++ lib.optionals enableXWayland [
|
||||||
|
xorg.xcbutilwm
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags =
|
mesonFlags =
|
||||||
|
Loading…
Reference in New Issue
Block a user