wpgtk: init at 5.7.4

This commit is contained in:
Melkor333 2018-10-12 14:18:44 +02:00
parent e5508a4f28
commit 5d53675c2f
3 changed files with 56 additions and 0 deletions

View file

@ -2686,6 +2686,11 @@
github = "melsigl";
name = "Melanie B. Sigl";
};
melkor333 = {
email = "samuel@ton-kunst.ch";
github = "melkor333";
name = "Samuel Ruprecht";
};
metabar = {
email = "softs@metabarcoding.org";
name = "Celine Mercier";

View file

@ -0,0 +1,49 @@
{ stdenv, python36Packages, fetchFromGitHub, pywal, feh, libxslt, imagemagick,
gobjectIntrospection, gtk3, wrapGAppsHook, gnome3 }:
python36Packages.buildPythonApplication rec {
pname = "wpgtk";
version = "5.7.4";
src = fetchFromGitHub {
owner = "deviantfero";
repo = "wpgtk";
rev = "${version}";
sha256 = "0c0kmc18lbr7nk3hh44hai9z06lfsgwxnjdv02hpjwrxg40zh726";
};
pythonPath = [
python36Packages.pygobject3
python36Packages.pillow
pywal
imagemagick
];
buildInputs = [
wrapGAppsHook
gtk3
gobjectIntrospection
gnome3.adwaita-icon-theme
libxslt
];
# The $HOME variable must be set to build the package. A "permission denied" error will occur otherwise
preBuild = ''
export HOME=$(pwd)
'';
meta = with stdenv.lib; {
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.
INFO: To work properly, this tool needs "programs.dconf.enable = true" on nixos or dconf installed. A reboot may be required after installing dconf.
'';
homepage = https://github.com/deviantfero/wpgtk;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.melkor333 ];
};
}

View file

@ -6252,6 +6252,8 @@ with pkgs;
wolf-shaper = callPackage ../applications/audio/wolf-shaper { };
wpgtk = callPackage ../tools/X11/wpgtk { };
wring = nodePackages.wring;
wrk = callPackage ../tools/networking/wrk { };