swaylock: 1.6 -> 1.7

This commit is contained in:
PedroHLC ☭ 2022-11-27 11:59:15 -03:00
parent 1a7fdc73b8
commit 19b3fa0a68
No known key found for this signature in database
GPG key ID: F5BFC029DA9A28CE

View file

@ -5,24 +5,15 @@
stdenv.mkDerivation rec {
pname = "swaylock";
version = "1.6";
version = "1.7";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaylock";
rev = version;
sha256 = "sha256-VVGgidmSQWKxZNx9Cd6z52apxpxVfmX3Ut/G9kzfDcY=";
hash = "sha256-xbcVsnE0DecC+g49NOBNpqPl5JTtuxUUc7KinKhi5TE=";
};
patches = [
# remove once when updating to 1.7
# https://github.com/swaywm/swaylock/pull/235
(fetchpatch {
url = "https://github.com/swaywm/swaylock/commit/5a1e6ad79aa7d79b32d36cda39400f3e889b8f8f.diff";
sha256 = "sha256-ZcZVImUzvng7sluC6q2B5UL8sVunLe4PIfc+tyw48RQ=";
})
];
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];