{ stdenv, fetchFromGitHub, fontforge, nodejs, pnpm, lib, }: let pname = "tabler-icons"; version = "v3.24.0"; in stdenv.mkDerivation (finalAttrs: { inherit pname version; src = fetchFromGitHub { owner = "tabler"; repo = pname; rev = version; hash = "sha256-6v7strSKsxSmUGXRhapOlImsCj035AX1Td+IQHPs+7g="; }; buildInputs = [fontforge]; nativeBuildInputs = [ nodejs pnpm.configHook ]; pnpmDeps = pnpm.fetchDeps { inherit (finalAttrs) pname version src; hash = "sha256-/BB1FaMR06uwv3Za6+PWSWMPLtoRXRTqsZDV3DIgaxs="; }; # buildPhase = '' # runHook preBuild # npm run build:webfont # runHook postBuild # ''; installPhase = '' mkdir -p $out/useless_dir_just_check_contents mv .* $out/useless_dir_just_check_contents mv */ $out/useless_dir_just_check_contents ''; meta = { description = "A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects."; homepage = "https://tabler.io/icons"; license = lib.licenses.mit; maintainers = with lib.maintainers; [amadaluzia]; }; })