2023-08-08 03:33:18 +02:00
|
|
|
{ stdenvNoCC
|
|
|
|
, fetchurl
|
|
|
|
, unar
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
2024-01-03 00:51:49 +01:00
|
|
|
pname = "fluent-icons";
|
2024-01-06 01:06:20 +01:00
|
|
|
version = "2024-01-02";
|
2023-08-08 03:33:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-01-03 00:51:49 +01:00
|
|
|
name = "Fluent Icons.zip";
|
2024-01-06 01:06:20 +01:00
|
|
|
url = "https://files.catbox.moe/1we56t.zip";
|
|
|
|
hash = "sha256-J530v9QRGv/c0PBYcCVpGSgqvirlx4eQzsP+Kqhft8A=";
|
2023-08-08 03:33:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unar ];
|
|
|
|
|
|
|
|
unpackPhase = /* bash */ ''
|
|
|
|
runHook preUnpack
|
|
|
|
|
|
|
|
cp "$src" $(stripHash "$src")
|
|
|
|
unar $(stripHash "$src")
|
|
|
|
|
|
|
|
runHook postUnpack
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = /* bash */ ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/eww
|
|
|
|
cp -r */ $out/share/eww
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-01-03 00:51:49 +01:00
|
|
|
homepage = "https://github.com/vinceliuice/Fluent-icon-theme";
|
|
|
|
description = "Fluent folder icons converted to png";
|
2023-08-08 03:33:18 +02:00
|
|
|
};
|
|
|
|
}
|