Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 10 lines 340 B view raw
1{ fetchzip }: 2 3# gitweb example, snapshot support is optional in gitweb 4{ repo, rev, name ? "source" 5, ... # For hash agility 6}@args: fetchzip ({ 7 inherit name; 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; }