anchor.diff:    pname = "foot";
     inherit version;
   
  -  src = fetchzip {
  -    url = "https://codeberg.org/dnkl/${pname}/archive/${version}.tar.gz";
  +  src = fetchFromGitea {
  +    domain = "codeberg.org";
  +    owner = "dnkl";
  +    repo = pname;
  +    rev = version;
       sha256 = "1k0alz991cslls4926c5gq02pdq0vfw9jfpprh2a1vb59xgikv7h";
     };
   
  
positive.code:     export AR="${ar}"
    '';
  
    mesonFlags = [
      "--buildtype=release"
      "-Db_lto=true"
      "-Dterminfo-install-location=${placeholder "terminfo"}/share/terminfo"
    ];
  
negative.code: { stdenv
  , lib
  , fetchFromGitea
  , fetchurl
  , fetchpatch
  , runCommandNoCC
  