[Query]: How to incorporate Emacs packages from Github


I am trying to install emacs with “emacs-application-framework”, an emacs package, using home-manager. However, this packages does not exist in the current list of emacs packages on nixpkgs repository. I am interested in learning in general how to install emacs packages that are directly from github.


Exemple :

  ghcid-el = emacsPackages.trivialBuild {
    pname = "ghcid";
    src = fetchurl {
      url = 
      sha256 =