38 lines
		
	
	
		
			899 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			899 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   lib,
 | |
|   rustPlatform,
 | |
|   fetchFromGitHub,
 | |
|   pkg-config,
 | |
|   openssl,
 | |
|   nix-update-script,
 | |
| }:
 | |
| 
 | |
| rustPlatform.buildRustPackage rec {
 | |
|   pname = "reindeer";
 | |
|   version = "2025.06.02.00";
 | |
| 
 | |
|   src = fetchFromGitHub {
 | |
|     owner = "facebookincubator";
 | |
|     repo = "reindeer";
 | |
|     tag = "v${version}";
 | |
|     hash = "sha256-bKsMR3ubAfeZNVA3Q7RpDmaD9UlZUkVWTi5zevytOj0=";
 | |
|   };
 | |
| 
 | |
|   useFetchCargoVendor = true;
 | |
|   cargoHash = "sha256-PNCcTztLMt0d8L+tcvOgl4y85Zs4CJR6fDehUImNu6Y=";
 | |
| 
 | |
|   nativeBuildInputs = [ pkg-config ];
 | |
| 
 | |
|   buildInputs = [ openssl ];
 | |
| 
 | |
|   passthru.updateScript = nix-update-script { };
 | |
| 
 | |
|   meta = with lib; {
 | |
|     description = "Reindeer is a tool which takes Rust Cargo dependencies and generates Buck build rules";
 | |
|     mainProgram = "reindeer";
 | |
|     homepage = "https://github.com/facebookincubator/reindeer";
 | |
|     license = with licenses; [ mit ];
 | |
|     maintainers = with maintainers; [ nickgerace ];
 | |
|   };
 | |
| }
 | 
