This HTTP client has much fewer dependencies than some of the other ones I've seen, and it'll be good enough for my demo purposes.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # Portable URI library
 | |
| { pkgs, ... }:
 | |
| 
 | |
| let src = builtins.fetchGit {
 | |
|   url = "http://git.kpe.io/puri.git";
 | |
|   rev = "ef5afb9e5286c8e952d4344f019c1a636a717b97";
 | |
| };
 | |
| in pkgs.nix.buildLisp.library {
 | |
|   name = "puri";
 | |
|   srcs = [
 | |
|     (src + "/src.lisp")
 | |
|   ];
 | |
| }
 | |
| 
 | |
| 
 |