mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
91a708c123
Now the icons follow the monokai color scheme.
41 lines
751 B
Nix
41 lines
751 B
Nix
{ stdenvNoCC
|
|
, fetchurl
|
|
, unar
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "fluent-icons";
|
|
version = "2024-01-02";
|
|
|
|
src = fetchurl {
|
|
name = "Fluent Icons.zip";
|
|
url = "https://files.catbox.moe/1we56t.zip";
|
|
hash = "sha256-J530v9QRGv/c0PBYcCVpGSgqvirlx4eQzsP+Kqhft8A=";
|
|
};
|
|
|
|
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 = {
|
|
homepage = "https://github.com/vinceliuice/Fluent-icon-theme";
|
|
description = "Fluent folder icons converted to png";
|
|
};
|
|
}
|