diff options
author | Hollow Man <hollowman@hollowman.ml> | 2021-11-19 01:44:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 18:44:59 +0100 |
commit | 479715923b1fde5b4abfd7851f88f1bf04f2e0db (patch) | |
tree | 47fb064e8c52dbd376c8b636a48d5d21065775e4 /pkgs/tools/misc/ibus-theme-tools | |
parent | e26132ed44e3b35518455da6729113a5a4f3e5ab (diff) |
ibus-theme-tools: init at 4.2.0 (#146361)
Diffstat (limited to 'pkgs/tools/misc/ibus-theme-tools')
-rw-r--r-- | pkgs/tools/misc/ibus-theme-tools/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ibus-theme-tools/default.nix b/pkgs/tools/misc/ibus-theme-tools/default.nix new file mode 100644 index 0000000000000..ee8a8719d1397 --- /dev/null +++ b/pkgs/tools/misc/ibus-theme-tools/default.nix @@ -0,0 +1,29 @@ +{ lib, python3Packages, fetchFromGitHub, gettext }: + +python3Packages.buildPythonApplication rec { + pname = "ibus-theme-tools"; + version = "4.2.0"; + + src = fetchFromGitHub { + owner = "openSUSE"; + repo = "IBus-Theme-Tools"; + rev = "v${version}"; + sha256 = "0i8vwnikwd1bfpv4xlgzc51gn6s18q58nqhvcdiyjzcmy3z344c2"; + }; + + buildInputs = [ gettext ]; + + propagatedBuildInputs = with python3Packages; [ tinycss2 pygobject3 ]; + + # No test. + doCheck = false; + + pythonImportsCheck = [ "ibus_theme_tools" ]; + + meta = with lib; { + description = "Generate the IBus GTK or GNOME Shell theme from existing themes"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ hollowman6 ]; + homepage = "https://github.com/openSUSE/IBus-Theme-Tools"; + }; +} |