1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/tools/wayland/gtklock/powerbar-module.nix
2024-04-19 16:23:32 +00:00

33 lines
703 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, gtk3
}:
stdenv.mkDerivation rec {
pname = "gtklock-powerbar-module";
version = "3.0.0";
src = fetchFromGitHub {
owner = "jovanlanik";
repo = pname;
rev = "v${version}";
hash = "sha256-uqGWr3/PaXif+JuxqRDlvfeiVG2nbausfe5dZOHcm7o=";
};
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;
};
}