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
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
gobject-introspection,
|
|
gtk3,
|
|
python3Packages,
|
|
wrapGAppsHook3,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "labwc-gtktheme";
|
|
version = "0-unstable-2025-02-11";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "labwc";
|
|
repo = "labwc-gtktheme";
|
|
rev = "619fa316702a6c21a0d974d7cf3dde0b82f9f64b";
|
|
hash = "sha256-mhpN8H42dJwc+3os3I48mmAWQJQCrO4yjbuMPTmHbsI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
];
|
|
|
|
pythonPath = with python3Packages; [
|
|
pygobject3
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin
|
|
cp -a labwc-gtktheme.py $out/bin/labwc-gtktheme
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/labwc/labwc-gtktheme";
|
|
description = "Create a labwc theme based on current Gtk theme";
|
|
mainProgram = "labwc-gtktheme";
|
|
license = lib.licenses.gpl2Only;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ romildo ];
|
|
};
|
|
}
|