4 # cgit example, snapshot support is optional in cgit
5 { repo, rev, name ? "source"
6 , ... # For hash agility
9 url = "https://git.savannah.gnu.org/cgit/${repo}.git/snapshot/${repo}-${rev}.tar.gz";
10 meta.homepage = "https://git.savannah.gnu.org/cgit/${repo}.git/";
11 } // removeAttrs args [ "repo" "rev" ]) // { inherit rev; }