I have been working for weeks now on packaging nglview for nixpkgs so that I can use it as a python dependency in one of my flakes. it took a lot of patience and was very exhausting overall. The installation instructions include some web-based package management systems, from which the corresponding packages must of course be loaded locally.