2024-05-15 01:36:40 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
qtbase,
|
|
|
|
qtsvg,
|
|
|
|
qtgraphicaleffects,
|
|
|
|
qtquickcontrols2,
|
|
|
|
wrapQtAppsHook,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchFromGitHub,
|
2024-05-15 00:19:56 +02:00
|
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "tokyo-night-sddm";
|
|
|
|
version = "1..0";
|
|
|
|
dontBuild = true;
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rototrash";
|
|
|
|
repo = "tokyo-night-sddm";
|
|
|
|
rev = "320c8e74ade1e94f640708eee0b9a75a395697c6";
|
|
|
|
sha256 = "sha256-JRVVzyefqR2L3UrEK2iWyhUKfPMUNUnfRZmwdz05wL0=";
|
|
|
|
};
|
2024-05-15 01:36:40 +02:00
|
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
2024-05-15 00:19:56 +02:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
qtbase
|
|
|
|
qtsvg
|
|
|
|
qtgraphicaleffects
|
|
|
|
qtquickcontrols2
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/sddm/themes
|
|
|
|
cp -aR $src $out/share/sddm/themes/tokyo-night-sddm
|
|
|
|
'';
|
|
|
|
}
|