query
On this page

fetchdarcs

pkgs.fetchdarcs

Functor
Docs pulled from | This Revision | 9 minutes ago

No reference documentation found yet.

Contribute now!


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.

{
      # Repository to fetch
      url,
      # Additional list of repositories specifying alternative download
      # location to be tried in order, if the prior repository failed to fetch.
      mirrors ? [ ],
      rev ? null,
      context ? null,
      outputHash ? lib.fakeHash,
      outputHashAlgo ? null,
      name ? "fetchdarcs",
    }:

    stdenvNoCC.mkDerivation {
      builder = ./builder.sh;
      nativeBuildInputs = [
        cacert
        darcs
      ];

      inherit outputHash outputHashAlgo;
      outputHashMode = "recursive";

      inherit
        rev
        context
        name
        ;

      repositories = [ url ] ++ mirrors;
    }