about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/themes/artim-dark/default.nix
blob: 9485f46b19a98664db0f13d916f3db64bf6ba753 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation rec{
  pname = "artim-dark";
  version = "unstable-2021-12-29";

  src = fetchFromGitHub {
    owner="Mrcuve0";
    repo="Aritim-Dark";
    rev = "99cd330a1ab4814260e28f15431e3338a1103668";
    hash = "sha256-xGnw5KpXbVyDdTuAkav1Hec6bitpZdPzZk0xv7WHTdY=";
  };

  dontBuild = true;
  installPhase = ''
    mkdir -p $out/share/plasma/desktoptheme
    cp -R KDE/plasmaTheme/Aritim-Dark* $out/share/plasma/desktoptheme
    mkdir -p $out/share/aurorae/themes
    cp -R KDE/auroraeTheme $out/share/aurorae/themes/Aritim-Dark
    mkdir -p $out/share/color-schemes
    cp -R KDE/colorScheme/*.colors $out/share/color-schemes
    mkdir -p $out/share/plasma/look-and-feel
    cp -R KDE/globalTheme $out/share/plasma/look-and-feel/Aritim-Dark
    mkdir -p $out/share/themes
    cp -R GTK $out/share/themes/Aritim-Dark
  '';

  meta = {
    description = "Dark theme deeply inspired by the Ayu Dark color palette";
    homepage = "https://github.com/Mrcuve0/Aritim-Dark";
    license = with lib.licenses; [ gpl3Only ];
    platforms = lib.platforms.unix;
    maintainers = [ lib.maintainers.pasqui23 ];
  };
}