24 lines
		
	
	
		
			626 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			626 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { stdenv, fetchFromGitHub, rustPlatform }:
 | |
| 
 | |
| rustPlatform.buildRustPackage rec {
 | |
|   pname = "routinator";
 | |
|   version = "0.8.1";
 | |
| 
 | |
|   src = fetchFromGitHub {
 | |
|     owner = "NLnetLabs";
 | |
|     repo = pname;
 | |
|     rev = "v${version}";
 | |
|     sha256 = "sha256-yH43FPeMohN6zpzEcLpbFBvO8Wz4IjuWRmsE19C7NIA=";
 | |
|   };
 | |
| 
 | |
|   cargoSha256 = "14cbkvcvbjgc308lh1yj0715rnl035r5qwvfsip17xk5j3y8w1xr";
 | |
| 
 | |
|   meta = with stdenv.lib; {
 | |
|     description = "An RPKI Validator written in Rust";
 | |
|     homepage = "https://github.com/NLnetLabs/routinator";
 | |
|     license = licenses.bsd3;
 | |
|     maintainers = with maintainers; [ _0x4A6F ];
 | |
|     platforms = platforms.linux;
 | |
|   };
 | |
| }
 | 
