query
On this page

fetchFromRepoOrCz

pkgs.fetchFromRepoOrCz

Functor
Docs pulled from | This Revision | 29 minutes ago


Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.

Noogle detected

This is a Functor

Learn about functors

Implementation

The following is the current implementation of this function.

{
  repo,
  rev,
  name ? repoRevToNameMaybe repo rev "repoorcz",
  ... # For hash agility
}@args:
fetchzip (
  {
    inherit name;
    url = "https://repo.or.cz/${repo}.git/snapshot/${rev}.tar.gz";
    meta.homepage = "https://repo.or.cz/${repo}.git/";
  }
  // removeAttrs args [
    "repo"
    "rev"
  ]
)
// {
  inherit rev;
}