Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / lisp-modules / import / api.lisp
blobea5f3bcc19347e864af23e6025086863f25f1d20
1 (defpackage org.lispbuilds.nix/api
2 (:documentation "Public interface of org.lispbuilds.nix")
3 (:use :cl)
4 (:export
5 :import-lisp-packages
6 :database->nix-expression))
8 (in-package org.lispbuilds.nix/api)
10 (defgeneric import-lisp-packages (repository database)
11 (:documentation
12 "Import Lisp packages (ASDF systems) from repository (Quicklisp,
13 Ultralisp etc.) into a package database."))
15 (defgeneric database->nix-expression (database outfile)
16 (:documentation
17 "Generate a nix expression from the package database and write it
18 into outfile."))