diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2019-05-03 22:05:07 +0200 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2019-05-03 22:16:21 +0200 |
commit | d43ea14abb6098e0d5ec0bda877925b7422f1d04 (patch) | |
tree | 8f6d1713d332da724cc77710a330a0321793a9fe /pkgs/applications/window-managers/sway | |
parent | 77537f45fa667e77ac4c36483c768e76978b7c1f (diff) |
swaylock: 1.3 -> 1.4
Diffstat (limited to 'pkgs/applications/window-managers/sway')
-rw-r--r-- | pkgs/applications/window-managers/sway/lock.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/sway/lock.nix b/pkgs/applications/window-managers/sway/lock.nix index a275e411c6e3..a7505e141688 100644 --- a/pkgs/applications/window-managers/sway/lock.nix +++ b/pkgs/applications/window-managers/sway/lock.nix @@ -5,19 +5,23 @@ stdenv.mkDerivation rec { name = "swaylock-${version}"; - version = "1.3"; + version = "1.4"; src = fetchFromGitHub { owner = "swaywm"; repo = "swaylock"; rev = version; - sha256 = "093nv1y9wyg48rfxhd36qdljjry57v1vkzrlc38mkf6zvsq8j7wb"; + sha256 = "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982"; }; + postPatch = '' + sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build + ''; + nativeBuildInputs = [ meson ninja pkgconfig scdoc ]; buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ]; - mesonFlags = [ "-Dswaylock-version=${version}" + mesonFlags = [ "-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled" ]; |