Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 316ad9625648
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf7e7127c56a
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 10, 2018

  1. wpgtk: init at 5.7.4

    Melkor333 committed Nov 10, 2018
    Copy the full SHA
    5d53675 View commit details

Commits on Nov 11, 2018

  1. Merge pull request #48270 from Melkor333/wpgtk

    wpgtk: init at 5.7.4
    jtojnar authored Nov 11, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf7e712 View commit details
Showing with 56 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +49 −0 pkgs/tools/X11/wpgtk/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2691,6 +2691,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";
49 changes: 49 additions & 0 deletions pkgs/tools/X11/wpgtk/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -6250,6 +6250,8 @@ with pkgs;

wolf-shaper = callPackage ../applications/audio/wolf-shaper { };

wpgtk = callPackage ../tools/X11/wpgtk { };

wring = nodePackages.wring;

wrk = callPackage ../tools/networking/wrk { };