From 1f1e075fb19cfddf9bbf4f2107c1f03ff7990b8d Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 3 May 2019 22:08:35 +0200 Subject: [PATCH] swayidle: 1.2 -> 1.3 --- pkgs/applications/window-managers/sway/idle.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/sway/idle.nix b/pkgs/applications/window-managers/sway/idle.nix index 86af7fc629a0..0b8ad55d574e 100644 --- a/pkgs/applications/window-managers/sway/idle.nix +++ b/pkgs/applications/window-managers/sway/idle.nix @@ -5,15 +5,19 @@ stdenv.mkDerivation rec { name = "swayidle-${version}"; - version = "1.2"; + version = "1.3"; src = fetchFromGitHub { owner = "swaywm"; repo = "swayidle"; rev = version; - sha256 = "0b65flajwn2i6k2kdxxgw25w7ikzzmm595f4j5x1wac1rb0yah9w"; + sha256 = "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v"; }; + postPatch = '' + sed -iE "s/version: '1\.2',/version: '${version}',/" meson.build + ''; + nativeBuildInputs = [ meson ninja pkgconfig scdoc ]; buildInputs = [ wayland wayland-protocols systemd ];