SCLF is quite a big utility library (almost 3€ LOC) with limited portability (CMUCL, SBCL and CLISP to an extent). Continuing to maintain it is an unnecessary burden, as depot only uses a fraction of it which is now inlined into the respective users (mime4cl and mblog). In the future trimming down ex-sclf.lisp may make sense either by refactoring the code that uses it or by moving interesting utilities into e.g. klatre. Change-Id: I2e73825b6bfa372e97847f25c30731a5aad4a1b5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5922 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: sterni <sternenseemann@systemli.org>
		
			
				
	
	
		
			51 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			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.babel
 | 
						|
    depot.third_party.lisp.npg
 | 
						|
    depot.third_party.lisp.trivial-gray-streams
 | 
						|
  ];
 | 
						|
 | 
						|
  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)
 | 
						|
 | 
						|
        ;; missing from the tarball completely
 | 
						|
        (defvar *samples-directory* (pathname "/this/does/not/exist"))
 | 
						|
        ;; override auto discovery which doesn't work in store
 | 
						|
        (defvar *sample1-file* (pathname "${./test/sample1.msg}"))
 | 
						|
      '')
 | 
						|
      ./test/temp-file.lisp
 | 
						|
      ./test/endec.lisp
 | 
						|
      ./test/address.lisp
 | 
						|
      ./test/mime.lisp
 | 
						|
    ];
 | 
						|
 | 
						|
    expression = "(rtest:do-tests)";
 | 
						|
  };
 | 
						|
 | 
						|
  # limited by sclf
 | 
						|
  brokenOn = [
 | 
						|
    "ccl"
 | 
						|
    "ecl"
 | 
						|
  ];
 | 
						|
}
 |