Merge pull request #156600 from romildo/upd.graphite-kde-theme
This commit is contained in:
commit
6c6601534a
2 changed files with 43 additions and 0 deletions
41
pkgs/data/themes/graphite-kde-theme/default.nix
Normal file
41
pkgs/data/themes/graphite-kde-theme/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "graphite-kde-theme";
|
||||||
|
version = "unstable-2022-01-22";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vinceliuice";
|
||||||
|
repo = pname;
|
||||||
|
rev = "d60a26533b104d6d2251c5187a402f3f35ecbdf7";
|
||||||
|
sha256 = "0cry5s3wr0frpchc0hx97r9v6r3v6rvln7l1hb3znn8npkr4mssi";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
patchShebangs install.sh
|
||||||
|
|
||||||
|
substituteInPlace install.sh \
|
||||||
|
--replace '$HOME/.local' $out \
|
||||||
|
--replace '$HOME/.config' $out/share
|
||||||
|
|
||||||
|
name= ./install.sh --dest $out/share/themes
|
||||||
|
|
||||||
|
mkdir -p $out/share/sddm/themes
|
||||||
|
cp -a sddm/Graphite $out/share/sddm/themes/
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A flat Design theme for KDE Plasma desktop";
|
||||||
|
homepage = "https://github.com/vinceliuice/Graphite-kde-theme";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = [ maintainers.romildo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -23744,6 +23744,8 @@ with pkgs;
|
||||||
|
|
||||||
graphite-gtk-theme = callPackage ../data/themes/graphite { };
|
graphite-gtk-theme = callPackage ../data/themes/graphite { };
|
||||||
|
|
||||||
|
graphite-kde-theme = callPackage ../data/themes/graphite-kde-theme { };
|
||||||
|
|
||||||
greybird = callPackage ../data/themes/greybird { };
|
greybird = callPackage ../data/themes/greybird { };
|
||||||
|
|
||||||
gruvbox-dark-gtk = callPackage ../data/themes/gruvbox-dark-gtk { };
|
gruvbox-dark-gtk = callPackage ../data/themes/gruvbox-dark-gtk { };
|
||||||
|
|
Loading…
Reference in a new issue