Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
41 lines
847 B
Nix
41 lines
847 B
Nix
{
|
|||
lib,
|
|||
stdenv,
|
|||
fetchFromGitHub,
|
|||
meson,
|
|||
ninja,
|
|||
pkg-config,
|
|||
gtk3,
|
|||
gtklock,
|
|||
}:
|
|||
|
|||
stdenv.mkDerivation (finalAttrs: {
|
|||
pname = "gtklock-powerbar-module";
|
|||
version = "4.0.0";
|
|||
|
|||
src = fetchFromGitHub {
|
|||
owner = "jovanlanik";
|
|||
repo = "gtklock-powerbar-module";
|
|||
rev = "v${finalAttrs.version}";
|
|||
hash = "sha256-Zakdta1i0o7S2AbHydlonnh5OMGVgGjB2H/AiHgQT9A=";
|
|||
};
|
|||
|
|||
nativeBuildInputs = [
|
|||
meson
|
|||
ninja
|
|||
pkg-config
|
|||
];
|
|||
|
|||
buildInputs = [ gtk3 ];
|
|||
|
|||
passthru.tests.testModule = gtklock.testModule finalAttrs.finalPackage;
|
|||
|
|||
meta = {
|
|||
description = "Gtklock module adding power controls to the lockscreen";
|
|||
homepage = "https://github.com/jovanlanik/gtklock-powerbar-module";
|
|||
license = lib.licenses.gpl3Only;
|
|||
maintainers = with lib.maintainers; [ aleksana ];
|
|||
platforms = lib.platforms.linux;
|
|||
};
|
|||
})
|