3
0
Fork 0
forked from mirrors/nixpkgs

layan-kde: init at 2022-02-13

This commit is contained in:
José Romildo 2022-03-09 10:01:59 -03:00
parent 9222b68380
commit 568cd1bf7b
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ stdenv
, lib
, fetchFromGitHub
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "layan-kde";
version = "2022-02-13";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "09z90g13l26v23nwr8n5bapwldp3hhdrdikynvm4vvb7qsvb4vrp";
};
postPatch = ''
patchShebangs install.sh
substituteInPlace install.sh \
--replace '$HOME/.local' $out \
--replace '$HOME/.config' $out/share
'';
installPhase = ''
runHook preInstall
name= ./install.sh --dest $out/share/themes
mkdir -p $out/share/sddm/themes
cp -a sddm/Layan* $out/share/sddm/themes/
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
meta = with lib; {
description = "A flat Design theme for KDE Plasma desktop";
homepage = "https://github.com/vinceliuice/Layan-kde";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}

View file

@ -23843,6 +23843,8 @@ with pkgs;
layan-gtk-theme = callPackage ../data/themes/layan-gtk-theme { };
layan-kde = callPackage ../data/themes/layan-kde { };
lato = callPackage ../data/fonts/lato {};
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};