mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
42 lines
910 B
Nix
42 lines
910 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "graphite-kde-theme";
|
|
version = "2022-02-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0pnn5s1vfdgkpsy5sc838731ly1imi8pbyd4asibw4zi238l0nvf";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|