self: super: {
  caskaydia-cove-nerd-font = let
    version = "2.2.2";
    name = "caskaydia-cove-nerd-font-${version}";
  in
    super.fetchzip {
      inherit name;
      url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/CascadiaCode.zip";

      stripRoot = false;

      postFetch = ''
        mkdir -p $out/share/{fonts/opentype,doc/${name}}
        mv $out/*.otf $out/share/fonts/opentype
        mv $out/*.md $out/share/doc/${name}
        mv $out/LICENSE* $out/share/doc/${name}
      '';

      sha256 = "sha256-mKdhBsVeuvHhRG8RopcJQ6QDC25OMwUjs0S8Lw5LBzc=";
    };

  fira-code-nerd-font = let
    version = "2.2.2";
    name = "fira-code-nerd-font-${version}";
  in
    super.fetchzip {
      inherit name;
      url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/FiraCode.zip";

      stripRoot = false;

      postFetch = ''
        mkdir -p $out/share/{fonts/truetype,doc/${name}}
        mv $out/*.ttf $out/share/fonts/truetype
        mv $out/*.md $out/share/doc/${name}
        mv $out/LICENSE* $out/share/doc/${name}
      '';

      sha256 = "sha256-Woc/BRYzXP8ODudD/3LDn295Ba0yzfcJyVCoGxVYqgk=";
    };

  noto-nerd-font = let
    version = "2.2.2";
    name = "noto-nerd-font-${version}";
  in
    super.fetchzip {
      inherit name;
      url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/Noto.zip";

      stripRoot = false;

      postFetch = ''
        mkdir -p $out/share/{fonts/truetype,doc/${name}}
        mv $out/*.ttf $out/share/fonts/truetype
        mv $out/*.md $out/share/doc/${name}
        mv $out/LICENSE* $out/share/doc/${name}
      '';

      sha256 = "sha256-qoXLq9LLoQ4Nw0R/hiGK6nPSpx2n2Agxxf4nyXESf3M=";
    };
}
