about summary refs log tree commit diff
path: root/pkgs/by-name/sw/sweet-folders/package.nix
blob: e4cd25ed8f51ce31391f2d93b4aba86321551b4c (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
{ lib
, stdenvNoCC
, fetchFromGitHub
}:

stdenvNoCC.mkDerivation {
  pname = "sweet-folders";
  version = "unstable-2023-03-18";

  src = fetchFromGitHub {
    owner = "EliverLara";
    repo = "Sweet-folders";
    rev = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
    hash = "sha256-QexfqXH5a1IEhKBRjWSMdrEvThvLRzd4M32Xti1DCGE=";
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/icons
    cp -r Sweet-* $out/share/icons/

    runHook postInstall
  '';

  meta = with lib; {
    description = "Folders icons for Sweet GTK theme";
    homepage = "https://github.com/EliverLara/Sweet-folders";
    maintainers = with maintainers; [ d3vil0p3r ];
    platforms = platforms.unix;
    license = licenses.gpl3Plus;
  };
}