From 7fe4f29d680475303a41b71f261eef0ec6fff717 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 9 May 2022 12:01:30 +0200 Subject: [PATCH] swaylock-effects: 1.6-3 -> unstable-2021-10-21 To remain in sync with upstream `swaywm/swaylock`. Fixes a few issues including: * Ability to use `--screenshot`. * No more inverse colors. --- .../window-managers/sway/lock-effects.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/window-managers/sway/lock-effects.nix b/pkgs/applications/window-managers/sway/lock-effects.nix index 9e919d3f88e..219e2c2421c 100644 --- a/pkgs/applications/window-managers/sway/lock-effects.nix +++ b/pkgs/applications/window-managers/sway/lock-effects.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchFromGitHub -, fetchpatch , meson , ninja , pkg-config @@ -16,22 +15,15 @@ stdenv.mkDerivation rec { pname = "swaylock-effects"; - version = "1.6-3"; + version = "unstable-2021-10-21"; src = fetchFromGitHub { owner = "mortie"; repo = "swaylock-effects"; - rev = "v${version}"; - sha256 = "sha256-71IX0fC4xCPP6pK63KtvDMb3KoP1rw/Iz3S7BgiLSpg="; + rev = "a8fc557b86e70f2f7a30ca9ff9b3124f89e7f204"; + sha256 = "sha256-GN+cxzC11Dk1nN9wVWIyv+rCrg4yaHnCePRYS1c4JTk="; }; - patches = [ - (fetchpatch { - url = "https://github.com/mortie/swaylock-effects/commit/dfff235b09b475e79d75a040a0307a359974d360.patch"; - sha256 = "t8Xz2wRSBlwGtkpWZyIGWX7V/y0P1r/50P8MfauMh4c="; - }) - ]; - postPatch = '' sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build ''; @@ -53,6 +45,6 @@ stdenv.mkDerivation rec { inherit (src.meta) homepage; license = licenses.mit; platforms = platforms.linux; - maintainers = with maintainers; [ gnxlxnxx ]; + maintainers = with maintainers; [ gnxlxnxx ma27 ]; }; }