diff --git a/pkgs/by-name/sw/sweet-folders/package.nix b/pkgs/by-name/sw/sweet-folders/package.nix new file mode 100644 index 0000000000000..e4cd25ed8f51c --- /dev/null +++ b/pkgs/by-name/sw/sweet-folders/package.nix @@ -0,0 +1,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; + }; +}