3 # gitweb example, snapshot support is optional in gitweb
4 { repo, rev, name ? "source"
5 , ... # For hash agility
8 url = "https://repo.or.cz/${repo}.git/snapshot/${rev}.tar.gz";
9 meta.homepage = "https://repo.or.cz/${repo}.git/";
10 } // removeAttrs args [ "repo" "rev" ]) // { inherit rev; }