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.
This commit is contained in:
Maximilian Bosch 2022-05-09 12:01:30 +02:00
parent cd88784000
commit 7fe4f29d68
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

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