gtklock-playerctl-module: init at 2.0.1

This commit is contained in:
aleksana 2023-04-21 00:14:03 +08:00
parent f7eeb48523
commit 7803ac3692
2 changed files with 36 additions and 0 deletions

View 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;
};
}

View File

@ -30361,6 +30361,8 @@ with pkgs;
gtklock = callPackage ../tools/wayland/gtklock { };
gtklock-playerctl-module = callPackage ../tools/wayland/gtklock/playerctl-module.nix { };
guardian-agent = callPackage ../tools/networking/guardian-agent { };
gv = callPackage ../applications/misc/gv { };