forked from jan-leila/nix-config
		
	fix: fixed pkg dependencies for panoramax
This commit is contained in:
		
							parent
							
								
									1b1a3f7219
								
							
						
					
					
						commit
						3bee0c7402
					
				
					 13 changed files with 632 additions and 39 deletions
				
			
		
							
								
								
									
										49
									
								
								modules/common-modules/pkgs/python/pyexiv2.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								modules/common-modules/pkgs/python/pyexiv2.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,49 @@ | |||
| { | ||||
|   lib, | ||||
|   fetchFromGitHub, | ||||
|   buildPythonPackage, | ||||
|   exiv2, | ||||
|   boost, | ||||
|   pybind11, | ||||
|   setuptools, | ||||
|   ... | ||||
| }: let | ||||
|   pname = "pyexiv2"; | ||||
|   version = "2.15.3"; | ||||
| in | ||||
|   buildPythonPackage { | ||||
|     inherit pname version; | ||||
| 
 | ||||
|     pyproject = true; | ||||
|     build-system = [setuptools]; | ||||
| 
 | ||||
|     src = fetchFromGitHub { | ||||
|       owner = "LeoHsiao1"; | ||||
|       repo = "pyexiv2"; | ||||
|       rev = "v${version}"; | ||||
|       sha256 = "sha256-83bFMaoXncvhRJNcCgkkC7B29wR5pjuLO/EdkQdqxxo="; | ||||
|     }; | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|       exiv2 | ||||
|       boost | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ | ||||
|       pybind11 | ||||
|     ]; | ||||
| 
 | ||||
|     # Skip tests as they may require specific test images | ||||
|     doCheck = false; | ||||
| 
 | ||||
|     # Disable runtime dependencies check initially | ||||
|     dontCheckRuntimeDeps = true; | ||||
| 
 | ||||
|     meta = with lib; { | ||||
|       description = "Python binding to the library exiv2"; | ||||
|       homepage = "https://github.com/LeoHsiao1/pyexiv2"; | ||||
|       license = licenses.gpl3Plus; | ||||
|       maintainers = []; | ||||
|       platforms = platforms.linux; | ||||
|     }; | ||||
|   } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue