Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 51 lines 1.3 kB view raw
1{ fetchFromGitHub 2, gitUpdater 3, lib 4, stdenvNoCC 5}: 6 7stdenvNoCC.mkDerivation { 8 pname = "sweet-nova"; 9 version = "unstable-2023-04-02"; 10 11 src = fetchFromGitHub { 12 owner = "EliverLara"; 13 repo = "Sweet"; 14 rev = "8a5d5a7d975567b5ae101b9f9d436fb1db2d9b24"; 15 hash = "sha256-FVcXBxcS5oFsvAUDcwit7EIfgIQznl8AYYxqQ797ddU="; 16 }; 17 18 buildPhase = '' 19 runHook preBuild 20 cd kde 21 mkdir -p aurorae/themes 22 mv aurorae/Sweet-Dark aurorae/themes/Sweet-Dark 23 mv aurorae/Sweet-Dark-transparent aurorae/themes/Sweet-Dark-transparent 24 rm aurorae/.shade.svg 25 mv colorschemes color-schemes 26 mkdir -p plasma/look-and-feel 27 mv look-and-feel plasma/look-and-feel/com.github.eliverlara.sweet 28 mv sddm sddm-Sweet 29 mkdir -p sddm/themes 30 mv sddm-Sweet sddm/themes/Sweet 31 mv cursors icons 32 runHook postBuild 33 ''; 34 35 installPhase = '' 36 runHook preInstall 37 install -d $out/share 38 cp -r Kvantum aurorae color-schemes icons konsole plasma sddm $out/share 39 runHook postInstall 40 ''; 41 42 passthru.updateScript = gitUpdater { }; 43 44 meta = with lib; { 45 description = "A dark and colorful, blurry theme for the KDE Plasma desktop"; 46 homepage = "https://github.com/EliverLara/Sweet"; 47 license = licenses.gpl3Only; 48 maintainers = [ maintainers.dr460nf1r3 ]; 49 platforms = platforms.all; 50 }; 51}