mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
Merge pull request #84178 from gnxlxnxx/master
swaylock-effects: init at v1.6-0
This commit is contained in:
commit
c7b9c4e104
@ -2839,6 +2839,12 @@
|
|||||||
githubId = 12064730;
|
githubId = 12064730;
|
||||||
name = "Alex Ivanov";
|
name = "Alex Ivanov";
|
||||||
};
|
};
|
||||||
|
gnxlxnxx = {
|
||||||
|
email = "gnxlxnxx@web.de";
|
||||||
|
github = "gnxlxnxx";
|
||||||
|
githubId = 25820499;
|
||||||
|
name = "Roman Kretschmer";
|
||||||
|
};
|
||||||
goibhniu = {
|
goibhniu = {
|
||||||
email = "cillian.deroiste@gmail.com";
|
email = "cillian.deroiste@gmail.com";
|
||||||
github = "cillianderoiste";
|
github = "cillianderoiste";
|
||||||
|
40
pkgs/applications/window-managers/sway/lock-effects.nix
Normal file
40
pkgs/applications/window-managers/sway/lock-effects.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -19923,6 +19923,8 @@ in
|
|||||||
|
|
||||||
swaylock-fancy = callPackage ../applications/window-managers/sway/lock-fancy.nix { };
|
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 {
|
waybar = callPackage ../applications/misc/waybar {
|
||||||
pulseSupport = config.pulseaudio or false;
|
pulseSupport = config.pulseaudio or false;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user