depot/third_party/nixpkgs/pkgs/tools/wayland/gtklock/powerbar-module.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

32 lines
703 B
Nix

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