From 12781302a75e19cd286fc7d4324b4680a58d579c Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sun, 14 Jan 2024 18:12:47 +0100 Subject: [PATCH] sweet-folders: init at unstable-2023-03-18 --- pkgs/by-name/sw/sweet-folders/package.nix | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/sw/sweet-folders/package.nix 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; + }; +}