diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-02-04 18:25:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 18:25:45 +0100 |
commit | 6c6601534a6d06249255ca45222f6ecbdf3f9ff6 (patch) | |
tree | 65b15e0a0a91a275928120ed3c5b8e12d3b99999 /pkgs/data | |
parent | d6fa7779f92252d3af1d4f0a260cd39da4ebe5ff (diff) | |
parent | 66e5900d88a8e6400c0737706a55ebc21dcaa46e (diff) |
Merge pull request #156600 from romildo/upd.graphite-kde-theme
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/themes/graphite-kde-theme/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/data/themes/graphite-kde-theme/default.nix b/pkgs/data/themes/graphite-kde-theme/default.nix new file mode 100644 index 0000000000000..b402c29922b07 --- /dev/null +++ b/pkgs/data/themes/graphite-kde-theme/default.nix @@ -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 ]; + }; +} |