depot/third_party/nixpkgs/pkgs/data/themes/kde-gruvbox/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

32 lines
916 B
Nix

{ 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;
};
}