Giter VIP home page Giter VIP logo

package-index's Introduction

Package Index for Agda Libraries

This repository is an index of libraries for the package manager Agda-Pkg. I do the indexing manually at the moment, but this can change in the future. The number of libraries here is still small, and the libraries releases are not very often.

This is the structure of a library in this index:

└── standard-library
  ├── url
  └── versions
    ├── v1.4
    │ ├── sha1
    │ └── standard-library.agda-lib
    └── v0.5
      ├── sha1
      └── standard-library.agda-lib

This index is used by Agda-Pkg to install automatically the library you want.

$ pip3 install agda-pkg
$ apkg init
$ apkg --help

package-index's People

Contributors

apkgbot avatar jonaprieto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

package-index's Issues

Integrate with nixpkgs

We're currently improving the Agda infrastructure on nixpkgs. In the long run, we want to be able to reliably build interdependent Agda libraries in a reproducible way with nix. Currently the sources and revisions/versions are hardcoded in nix. There is some discussion whether and how to incorporate package-index with nixpkgs here: NixOS/nixpkgs#87903

ValueError: No file descriptor for the version c8c2600 of FiniteSets.

When trying to apkg init on a clean machine (with the latest version of agda-pkg), the following error raises:

$ apkg init     
Indexing libraries from https://github.com/agda/package-index.git
  Current version of the index: 232ddbdffdb21093529c03be71140b2c91353447
Traceback (most recent call last):
  File "/home/soimort/.local/bin/apkg", line 11, in <module>
    load_entry_point('agda-pkg==0.1.45', 'console_scripts', 'apkg')()
  File "/home/soimort/.local/lib/python3.8/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/soimort/.local/lib/python3.8/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/soimort/.local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/soimort/.local/lib/python3.8/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/soimort/.local/lib/python3.8/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/soimort/.local/lib/python3.8/site-packages/apkg/commands/init.py", line 95, in init
    info = version.readInfoFromLibFile()
  File "/home/soimort/.local/lib/python3.8/site-packages/apkg/service/database.py", line 276, in readInfoFromLibFile
    return readLibFile(self.getLibFilePath())
  File "/home/soimort/.local/lib/python3.8/site-packages/apkg/service/database.py", line 237, in getLibFilePath
    raise ValueError(" No file descriptor for the version {} of {}."
ValueError:  No file descriptor for the version c8c2600 of FiniteSets.

Obviously it was looking for a file under package-index/src/FiniteSets/versions/c8c2600/FiniteSets.agda-lib, which doesn't exist. (the actual filename is finiteSets.agda-lib.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.