unit class CompUnit::Repository::Panda  
   does CompUnit::Repository;

my $prev-repo = $*REPO.repo-chain[*-1];
$prev-repo.next-repo = CompUnit::Repository::Panda.new;

method need(
   CompUnit::DependencySpecification $spec,  
   CompUnit::PrecompilationRepository $precomp
) {  
   run('panda', 'install', $spec.short-name);
   $prev-repo.next-repo = CompUnit::Repository;
   LEAVE {
       $prev-repo.next-repo = self;
   }
   $*REPO.need($spec)
}

method id() { 'panda' }
method loaded() { [] }
method path-spec() { 'panda#' }

~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
~                                                                                                                                                                                                  
                                                                                                                                                                               22,0-1        All