In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. This commit cleans up a huge chunk of these uses in //third_party Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			581 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			581 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  src = pkgs.fetchFromGitLab {
 | 
						|
    domain = "gitlab.common-lisp.net";
 | 
						|
    owner = "cl-smtp";
 | 
						|
    repo = "cl-smtp";
 | 
						|
    rev = "ed47d326fad867ee11323fa3a0f307b5d40e8f2b";
 | 
						|
    sha256 = "0vjjfapcrdc5671jz2d24h8zvpz7skq1x6pi9fvw6ls5sgms6fr0";
 | 
						|
  };
 | 
						|
 | 
						|
in depot.nix.buildLisp.library {
 | 
						|
  name = "cl-smtp";
 | 
						|
  deps = with depot.third_party.lisp; [
 | 
						|
    usocket
 | 
						|
    trivial-gray-streams
 | 
						|
    flexi-streams
 | 
						|
    cl-base64
 | 
						|
    cl-plus-ssl
 | 
						|
  ];
 | 
						|
 | 
						|
  srcs = map (f: src + ("/" + f)) [
 | 
						|
    "package.lisp"
 | 
						|
    "attachments.lisp"
 | 
						|
    "cl-smtp.lisp"
 | 
						|
    "mime-types.lisp"
 | 
						|
  ];
 | 
						|
}
 |