@@ -0,0 +1,49 @@
1+{ stdenv, python36Packages, fetchFromGitHub, pywal, feh, libxslt, imagemagick,
2+ gobjectIntrospection, gtk3, wrapGAppsHook, gnome3 }:
4+python36Packages.buildPythonApplication rec {
8+ src = fetchFromGitHub {
9+ owner = "deviantfero";
12+ sha256 = "0c0kmc18lbr7nk3hh44hai9z06lfsgwxnjdv02hpjwrxg40zh726";
16+ python36Packages.pygobject3
17+ python36Packages.pillow
26+ gnome3.adwaita-icon-theme
30+ # The $HOME variable must be set to build the package. A "permission denied" error will occur otherwise
35+ meta = with stdenv.lib; {
36+ description = "Template based wallpaper/colorscheme generator and manager";
38+ In short, wpgtk is a colorscheme/wallpaper manager with a template system attached which lets you create templates from any textfile and will replace keywords on it on the fly, allowing for great styling and theming possibilities.
40+ wpgtk uses pywal as its colorscheme generator, but builds upon it with a UI and other features, such as the abilty to mix and edit the colorschemes generated and save them with their respective wallpapers, having light and dark themes, hackable and fast GTK+ theme made specifically for wpgtk and custom keywords and values to replace in templates.
42+ INFO: To work properly, this tool needs "programs.dconf.enable = true" on nixos or dconf installed. A reboot may be required after installing dconf.
44+ homepage = https://github.com/deviantfero/wpgtk;
45+ license = licenses.gpl2;
46+ platforms = platforms.linux;
47+ maintainers = [ maintainers.melkor333 ];