From 8e6a74e957d6ae6e48fc8da19e90c44489f5a19f Mon Sep 17 00:00:00 2001 From: gnxlxnxx <25820499+gnxlxnxx@users.noreply.github.com> Date: Fri, 3 Apr 2020 13:02:28 +0200 Subject: [PATCH 1/2] swaylock-effects: init at v1.6-0 --- .../window-managers/sway/lock-effects.nix | 40 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/window-managers/sway/lock-effects.nix diff --git a/pkgs/applications/window-managers/sway/lock-effects.nix b/pkgs/applications/window-managers/sway/lock-effects.nix new file mode 100644 index 000000000000..e07080497f43 --- /dev/null +++ b/pkgs/applications/window-managers/sway/lock-effects.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchFromGitHub, + meson, ninja, pkgconfig, scdoc, + wayland, wayland-protocols, libxkbcommon, + cairo, gdk-pixbuf, pam +}: + +stdenv.mkDerivation rec { + pname = "swaylock-effects"; + version = "v1.6-0"; + + src = fetchFromGitHub { + owner = "mortie"; + repo = "swaylock-effects"; + rev = version; + sha256 = "15lshqq3qj9m3yfac65hjcciaf9zdfh3ir7hgh0ach7gpi3rbk13"; + + }; + + postPatch = '' + sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build + ''; + + nativeBuildInputs = [ meson ninja pkgconfig scdoc ]; + buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ]; + + mesonFlags = [ + "-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled" + ]; + + meta = with stdenv.lib; { + description = "Screen locker for Wayland"; + longDescription = '' + swaylock-effects is a screen locking utility for Wayland compositors. + ''; + inherit (src.meta) homepage; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ gnxlxnxx ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3bbbb74c2b7b..ce38e6572bee 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19923,6 +19923,8 @@ in swaylock-fancy = callPackage ../applications/window-managers/sway/lock-fancy.nix { }; + swaylock-effects = callPackage ../applications/window-managers/sway/lock-effects.nix { }; + waybar = callPackage ../applications/misc/waybar { pulseSupport = config.pulseaudio or false; }; From d55ac884eaabb9bebc202d44e03deca57351bff7 Mon Sep 17 00:00:00 2001 From: gnxlxnxx <25820499+gnxlxnxx@users.noreply.github.com> Date: Fri, 3 Apr 2020 13:03:09 +0200 Subject: [PATCH 2/2] maintainers add gnxlxnxx --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f0a00b4e39e5..bcebb66d883a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2839,6 +2839,12 @@ githubId = 12064730; name = "Alex Ivanov"; }; + gnxlxnxx = { + email = "gnxlxnxx@web.de"; + github = "gnxlxnxx"; + githubId = 25820499; + name = "Roman Kretschmer"; + }; goibhniu = { email = "cillian.deroiste@gmail.com"; github = "cillianderoiste";