Change-Id: Ieac5bb499a9c3281ed8b9de8cf4551e5eea6f2b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4761 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			554 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			554 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# A simple SMTP relay without the kitchen sink.
 | 
						|
{ pkgs, lib, ... }:
 | 
						|
 | 
						|
pkgs.buildGoModule rec {
 | 
						|
  pname = "smtprelay";
 | 
						|
  version = "1.7.0";
 | 
						|
  vendorSha256 = "00nb81hdg5pv5l0q7w5lv08dv4v72vml7jha351frani0gpg27pn";
 | 
						|
 | 
						|
  src = pkgs.fetchFromGitHub {
 | 
						|
    owner = "decke";
 | 
						|
    repo = "smtprelay";
 | 
						|
    rev = "v${version}";
 | 
						|
    sha256 = "0js18xhk64g0g82dx8ii8vhbbssj3pxf1hqv1zadnckdgwfwlj2r";
 | 
						|
  };
 | 
						|
 | 
						|
  meta = with lib; {
 | 
						|
    description = "Simple Golang SMTP relay/proxy server";
 | 
						|
    homepage = https://github.com/decke/smtprelay;
 | 
						|
    license = licenses.mit;
 | 
						|
  };
 | 
						|
}
 |