2024-01-05 17:46:42 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, python3Packages
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2024-01-05 17:46:42 +00:00
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "labwc-gtktheme";
|
2024-02-07 16:35:31 +00:00
|
|
|
version = "0-unstable-2022-07-17";
|
2024-01-05 17:46:42 +00:00
|
|
|
pyproject = false;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "labwc";
|
|
|
|
repo = "labwc-gtktheme";
|
|
|
|
rev = "0eb103701775ecd3aa4d517f42dede4f56381241";
|
|
|
|
hash = "sha256-aeF6unzR9bqaKXkqOHlGrMdPx3xXCtig58tKVliUO4g=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2024-01-05 17:46:42 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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; [ AndersonTorres romildo ];
|
|
|
|
};
|
|
|
|
}
|