a31af5233c
These functions are not very useful—as far as I'm aware at least—, are not implemented very efficiently and totally untested. Remove them for now. See also r/8978. Change-Id: If9d277b460c3ed728a171bc29dd626c4c5fc0313 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12868 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
45 lines
997 B
Nix
45 lines
997 B
Nix
# Copyright (C) 2021 by the TVL Authors
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
{ depot, pkgs, ... }:
|
|
|
|
depot.nix.buildLisp.library {
|
|
name = "mime4cl";
|
|
|
|
deps = [
|
|
depot.third_party.lisp.flexi-streams
|
|
depot.third_party.lisp.npg
|
|
depot.third_party.lisp.trivial-gray-streams
|
|
depot.third_party.lisp.qbase64
|
|
{ sbcl = depot.nix.buildLisp.bundled "sb-posix"; }
|
|
];
|
|
|
|
srcs = [
|
|
./ex-sclf.lisp
|
|
./package.lisp
|
|
./endec.lisp
|
|
./streams.lisp
|
|
./mime.lisp
|
|
./address.lisp
|
|
];
|
|
|
|
tests = {
|
|
name = "mime4cl-tests";
|
|
|
|
srcs = [
|
|
./test/rt.lisp
|
|
./test/package.lisp
|
|
(pkgs.writeText "nix-samples.lisp" ''
|
|
(in-package :mime4cl-tests)
|
|
|
|
;; override auto discovery which doesn't work in the nix store
|
|
(defvar *samples-directory* (pathname "${./test/samples}/"))
|
|
'')
|
|
./test/temp-file.lisp
|
|
./test/endec.lisp
|
|
./test/address.lisp
|
|
./test/mime.lisp
|
|
];
|
|
|
|
expression = "(rtest:do-tests)";
|
|
};
|
|
}
|