3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #172159 from Ma27/bump-swaylock-effects

swaylock-effects: 1.6-3 -> unstable-2021-10-21
This commit is contained in:
Maximilian Bosch 2022-05-10 12:06:50 +02:00 committed by GitHub
commit 8df19f6483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, meson
, ninja
, pkg-config
@ -17,22 +16,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
'';
@ -55,6 +47,6 @@ stdenv.mkDerivation rec {
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ gnxlxnxx ];
maintainers = with maintainers; [ gnxlxnxx ma27 ];
};
}