3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/wpgtk/default.nix

52 lines
1.8 KiB
Nix
Raw Normal View History

{ lib, python3Packages, fetchFromGitHub, libxslt,
gobject-introspection, gtk3, wrapGAppsHook, gnome }:
2018-10-12 13:18:44 +01:00
python3Packages.buildPythonApplication rec {
2018-10-12 13:18:44 +01:00
pname = "wpgtk";
2020-07-07 22:03:32 +01:00
version = "6.1.3";
2018-10-12 13:18:44 +01:00
src = fetchFromGitHub {
owner = "deviantfero";
repo = "wpgtk";
2019-03-21 02:25:26 +00:00
rev = version;
2020-07-07 22:03:32 +01:00
sha256 = "1jv28ygsd6ifjb096w3pm50za6wi62y45ycbizwhv7x56lr6zx1v";
2018-10-12 13:18:44 +01:00
};
buildInputs = [
wrapGAppsHook
gtk3
gobject-introspection
gnome.adwaita-icon-theme
2018-10-12 13:18:44 +01:00
libxslt
];
propagatedBuildInputs = with python3Packages; [
pygobject3
pillow
pywal
];
2018-10-12 13:18:44 +01:00
# The $HOME variable must be set to build the package. A "permission denied" error will occur otherwise
preBuild = ''
export HOME=$(pwd)
'';
# No test exist
doCheck = false;
meta = with lib; {
2018-10-12 13:18:44 +01:00
description = "Template based wallpaper/colorscheme generator and manager";
longDescription = ''
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.
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.
2018-10-12 13:18:44 +01:00
INFO: To work properly, this tool needs "programs.dconf.enable = true" on nixos or dconf installed. A reboot may be required after installing dconf.
'';
2020-03-03 21:31:41 +00:00
homepage = "https://github.com/deviantfero/wpgtk";
2018-10-12 13:18:44 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.melkor333 ];
};
}