Merge pull request #227087 from Aleksanaa/gtklock-plugins
gtklock-*-module: init at 2.0.{0,1}
This commit is contained in:
commit
b91b6e2654
4 changed files with 106 additions and 0 deletions
34
pkgs/tools/wayland/gtklock/playerctl-module.nix
Normal file
34
pkgs/tools/wayland/gtklock/playerctl-module.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, playerctl
|
||||
, libsoup
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtklock-playerctl-module";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jovanlanik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kzGgqFDTeKL6Pfjram7pqVcIm8Avxsvpn1qFrcpd8dw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gtk3 playerctl libsoup ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gtklock module adding power controls to the lockscreen";
|
||||
homepage = "https://github.com/jovanlanik/gtklock-powerbar-module";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
32
pkgs/tools/wayland/gtklock/powerbar-module.nix
Normal file
32
pkgs/tools/wayland/gtklock/powerbar-module.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtklock-powerbar-module";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jovanlanik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Ev6vjtvUSqP/+xTDRAqSYJ436WhZUtFRxSP7LoSK00w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gtk3 ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gtklock module adding power controls to the lockscreen";
|
||||
homepage = "https://github.com/jovanlanik/gtklock-powerbar-module";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
34
pkgs/tools/wayland/gtklock/userinfo-module.nix
Normal file
34
pkgs/tools/wayland/gtklock/userinfo-module.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, glib
|
||||
, accountsservice
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtklock-userinfo-module";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jovanlanik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-7dtw6GZ7l0fbTxRxMWH4yRj9Zqz9KB3acmwnF/8LALg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gtk3 glib accountsservice ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gtklock module adding user info to the lockscreen";
|
||||
homepage = "https://github.com/jovanlanik/gtklock-powerbar-module";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -30712,6 +30712,12 @@ with pkgs;
|
|||
|
||||
gtklock = callPackage ../tools/wayland/gtklock { };
|
||||
|
||||
gtklock-playerctl-module = callPackage ../tools/wayland/gtklock/playerctl-module.nix { };
|
||||
|
||||
gtklock-powerbar-module = callPackage ../tools/wayland/gtklock/powerbar-module.nix { };
|
||||
|
||||
gtklock-userinfo-module = callPackage ../tools/wayland/gtklock/userinfo-module.nix { };
|
||||
|
||||
guardian-agent = callPackage ../tools/networking/guardian-agent { };
|
||||
|
||||
gv = callPackage ../applications/misc/gv { };
|
||||
|
|
Loading…
Reference in a new issue