diff --git a/pkgs/data/themes/kde-gruvbox/default.nix b/pkgs/data/themes/kde-gruvbox/default.nix new file mode 100644 index 000000000000..e0f478a53cbe --- /dev/null +++ b/pkgs/data/themes/kde-gruvbox/default.nix @@ -0,0 +1,32 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "kde-gruvbox"; + version = "unstable-2015-08-09"; + + src = fetchFromGitHub { + owner = "printesoi"; + repo = pname; + rev = "2dd95283076d7194345a460edb3630cfd020759c"; + sha256 = "sha256-ppAeEfwoHZg7XEj3zGc+uq4Z6hUgJNM2EjuDsc8pFQo="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/{plasma/desktoptheme,yakuake/kns_skins} + cp -R color-schemes konsole $out/share + cp -R plasma5/gruvbox $out/share/plasma/desktoptheme + cp -R yakuake/breeze-gruvbox-dark $out/share/yakuake/kns_skins + + runHook postInstall + ''; + + meta = with lib; { + description = "A suite of themes for KDE applications that match the retro gruvbox colorscheme"; + homepage = "https://github.com/printesoi/kde-gruvbox"; + license = licenses.mit; + maintainers = [ maintainers.ymarkus ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 982122bf59ed..356fcb58f9b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25477,6 +25477,8 @@ with pkgs; kaidan = libsForQt5.callPackage ../applications/networking/instant-messengers/kaidan { }; + kde-gruvbox = callPackage ../data/themes/kde-gruvbox { }; + kdeltachat = libsForQt5.callPackage ../applications/networking/instant-messengers/kdeltachat { }; kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix { };