16 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# MD5 hash implementation
 | 
						|
{ pkgs, ... }:
 | 
						|
 | 
						|
with pkgs.nix;
 | 
						|
 | 
						|
let src = pkgs.third_party.fetchFromGitHub {
 | 
						|
  owner = "pmai";
 | 
						|
  repo = "md5";
 | 
						|
  rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
 | 
						|
  sha256 = "0lzip6b6xg7gd70xl1xmqp24fvxqj6ywjnz9lmx7988zpj20nhl2";
 | 
						|
};
 | 
						|
in buildLisp.library {
 | 
						|
  name = "md5";
 | 
						|
  deps = [ (buildLisp.bundled "sb-rotate-byte") ];
 | 
						|
  srcs = [ (src + "/md5.lisp") ];
 | 
						|
}
 |