mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-26 15:18:54 +01:00
34 lines
689 B
Nix
34 lines
689 B
Nix
{ lib, qtbase, qtsvg
|
|
, qtgraphicaleffects
|
|
, qtquickcontrols2
|
|
, wrapQtAppsHook
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
}:
|
|
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=";
|
|
};
|
|
nativeBuildInputs = [
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
qtbase
|
|
qtsvg
|
|
qtgraphicaleffects
|
|
qtquickcontrols2
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/sddm/themes
|
|
cp -aR $src $out/share/sddm/themes/tokyo-night-sddm
|
|
'';
|
|
}
|