depot/third_party/nixpkgs/pkgs/data/themes/graphite-kde-theme/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

41 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 ];
};
}