30 lines
		
	
	
		
			732 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			732 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   lib,
 | |
|   python3Packages,
 | |
|   fetchFromGitHub,
 | |
| }:
 | |
| python3Packages.buildPythonApplication {
 | |
|   pname = "fileinfo";
 | |
|   version = "0-unstable-2022-09-16";
 | |
|   format = "pyproject";
 | |
| 
 | |
|   src = fetchFromGitHub {
 | |
|     owner = "sdushantha";
 | |
|     repo = "fileinfo";
 | |
|     rev = "503f26189ad5043bad3fe71333dd5ba3ffbce485";
 | |
|     hash = "sha256-tEmCsR3LmTxeDZAbMvbIwqp/6uaGNUhgGlm18gdsnOw=";
 | |
|   };
 | |
| 
 | |
|   build-system = with python3Packages; [ setuptools ];
 | |
| 
 | |
|   dependencies = with python3Packages; [ requests ];
 | |
| 
 | |
|   meta = with lib; {
 | |
|     homepage = "https://github.com/sdushantha/fileinfo";
 | |
|     description = "File extension metadata lookup tool";
 | |
|     license = licenses.mit;
 | |
|     maintainers = with maintainers; [ h7x4 ];
 | |
|     mainProgram = "fileinfo";
 | |
|   };
 | |
| }
 | 
