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
				
			
		
							
								
								
									
										48
									
								
								modules/common-modules/pkgs/python/pygeoif.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								modules/common-modules/pkgs/python/pygeoif.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,48 @@ | |||
| { | ||||
|   lib, | ||||
|   fetchPypi, | ||||
|   buildPythonPackage, | ||||
|   setuptools, | ||||
|   wheel, | ||||
|   typing-extensions, | ||||
|   ... | ||||
| }: let | ||||
|   pname = "pygeoif"; | ||||
|   version = "1.5.1"; | ||||
| in | ||||
|   buildPythonPackage { | ||||
|     inherit pname version; | ||||
| 
 | ||||
|     pyproject = true; | ||||
| 
 | ||||
|     src = fetchPypi { | ||||
|       inherit pname version; | ||||
|       hash = "sha256-8nprah7Lh66swrUbzFnKeb5w7RKgEE3oYBR4shPdXYE="; | ||||
|     }; | ||||
| 
 | ||||
|     build-system = [ | ||||
|       setuptools | ||||
|       wheel | ||||
|     ]; | ||||
| 
 | ||||
|     dependencies = [ | ||||
|       typing-extensions | ||||
|     ]; | ||||
| 
 | ||||
|     # Skip tests as they may require specific setup | ||||
|     doCheck = false; | ||||
| 
 | ||||
|     # Disable runtime dependencies check | ||||
|     dontCheckRuntimeDeps = true; | ||||
| 
 | ||||
|     # Basic imports check | ||||
|     pythonImportsCheck = ["pygeoif"]; | ||||
| 
 | ||||
|     meta = with lib; { | ||||
|       description = "A basic implementation of the __geo_interface__"; | ||||
|       homepage = "https://github.com/cleder/pygeoif"; | ||||
|       license = licenses.lgpl21Plus; | ||||
|       maintainers = []; | ||||
|       platforms = platforms.all; | ||||
|     }; | ||||
|   } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue