about summary refs log tree commit diff
path: root/pkgs/by-name/kv/kvmarwaita/package.nix
blob: 012fd17e04c0106700617cad02967c73b76b76c2 (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
{ lib
, stdenvNoCC
, fetchFromGitHub
, unstableGitUpdater
}:

stdenvNoCC.mkDerivation {
  pname = "kvmarwaita";
  version = "0-unstable-2024-06-27";

  src = fetchFromGitHub {
    owner = "darkomarko42";
    repo = "KvMarwaita";
    rev = "3e5f62b8e23bde87f04aae157a453e380d6c5460";
    hash = "sha256-5hRqWQR1OZK7I5T8NV2D1i5yrifvWhHakgwGtdtQQPQ=";
  };

  installPhase = ''
    runHook preInstall
    mkdir -p $out/share/Kvantum/KvMarwaita
    cp -a Kv* $out/share/Kvantum/KvMarwaita/
    runHook postInstall
  '';

  passthru.updateScript = unstableGitUpdater { };

  meta = {
    description = "Marwaita theme for Kvantum";
    homepage = "https://github.com/darkomarko42/KvMarwaita";
    license = lib.licenses.gpl3Only;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ romildo ];
  };
}