swayidle: 1.6 -> 1.7

This commit is contained in:
Michael Weiss 2021-08-17 12:14:14 +02:00
parent bc82909122
commit 4c56464099
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -5,20 +5,15 @@
stdenv.mkDerivation rec {
pname = "swayidle";
version = "1.6";
version = "1.7";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swayidle";
rev = version;
sha256 = "1nd3v8r9549lykdwh4krldfl59lzaspmmai5k1icy7dvi6kkr18r";
sha256 = "0ziya8d5pvvxg16jhy4i04pvq11bdvj68gz5q654ar4dldil17nn";
};
postPatch = ''
substituteInPlace meson.build \
--replace "version: '1.5'" "version: '${version}'"
'';
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ wayland wayland-protocols systemd ];