Emacs, EMMS and TagLib

Normally I install Emacs packages using EmacsWithPackages as described in the manual.
However, emms is not enabled with TagLib.

Apparently, there was an EMMS package with TagLib support in nixpkgs, but it has been removed?

My question: how can I make EMMS work with TagLib - the NixOS way?

Created the following file:

# { stdenv, fetchurl }:

{ pkgs ? import <nixpkgs> { }, lib ? import <nixpkgs/lib>, ... }:

pkgs.stdenv.mkDerivation {
  name = "emms-taglib";
  src = pkgs.fetchurl {
    url = "ftp://ftp.gnu.org/gnu/emms/emms-5.4.tar.gz";
    sha256 = "1nd7sb6pva7qb1ki6w0zhd6zvqzd7742kaqi0f3v4as5jh09l6nr";
  };

  buildInputs = [ pkgs.taglib ];
  buildPhase = "make emms-print-metadata";
  installPhase = ''
    mkdir -p $out/bin
    cp src/emms-print-metadata $out/bin
  '';

  meta = with lib; {
    description = "EMMS TagLib shim";
    homepage = "https://www.gnu.org/software/emms/";
    license = licenses.gpl3Plus;
    #   maintainers = with maintainers; [ your-name-here ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}

This works
but it would be nice if this is somehow integrated in emacs-with-packages e.g. when you install epkgs.emms that is will also create the shim