mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
bdc000263a
This is to enable a smooth migration to the new one.
19 lines
565 B
Common Lisp
19 lines
565 B
Common Lisp
(defpackage org.lispbuilds.nix/api
|
|
(:documentation "Public interface of org.lispbuilds.nix")
|
|
(:use :cl)
|
|
(:export
|
|
:import-lisp-packages
|
|
:database->nix-expression))
|
|
|
|
(in-package org.lispbuilds.nix/api)
|
|
|
|
(defgeneric import-lisp-packages (repository database)
|
|
(:documentation
|
|
"Import Lisp packages (ASDF systems) from repository (Quicklisp,
|
|
Ultralisp etc.) into a package database."))
|
|
|
|
(defgeneric database->nix-expression (database outfile)
|
|
(:documentation
|
|
"Generate a nix expression from the package database and write it
|
|
into outfile."))
|