Merge pull request #134420 from primeos/swayidle

swayidle: 1.6 -> 1.7
This commit is contained in:
Michael Weiss 2021-08-19 11:01:38 +02:00 committed by GitHub
commit 42d2ba8d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];