Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
917 B
Nix
47 lines
917 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
gtk3,
|
|
playerctl,
|
|
libsoup_3,
|
|
gtklock,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gtklock-playerctl-module";
|
|
version = "4.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jovanlanik";
|
|
repo = "gtklock-playerctl-module";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-YlnZxp06Bb8eIgZhCvbiX6jgnNuGoSv4wx0N4AD1V7o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
playerctl
|
|
libsoup_3
|
|
];
|
|
|
|
passthru.tests.testModule = gtklock.testModule finalAttrs.finalPackage;
|
|
|
|
meta = {
|
|
description = "Gtklock module adding media player controls to the lockscreen";
|
|
homepage = "https://github.com/jovanlanik/gtklock-playerctl-module";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|