forked from fediversity/fediversity
		
	add django-pydantic-field
This commit is contained in:
		
							parent
							
								
									cba66d1b8b
								
							
						
					
					
						commit
						438f7d280a
					
				
					 3 changed files with 36 additions and 0 deletions
				
			
		|  | @ -43,6 +43,7 @@ python3.pkgs.buildPythonPackage { | |||
|         django-compressor | ||||
|         django-debug-toolbar | ||||
|         django-libsass | ||||
|         django-pydantic-field | ||||
|         django_4 | ||||
|         setuptools | ||||
|       ]; | ||||
|  |  | |||
							
								
								
									
										34
									
								
								panel/nix/python-packages/django-pydantic-field/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								panel/nix/python-packages/django-pydantic-field/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| { | ||||
|   lib, | ||||
|   buildPythonPackage, | ||||
|   fetchFromGitHub, | ||||
|   django, | ||||
|   pydantic, | ||||
|   setuptools, | ||||
| }: | ||||
| 
 | ||||
| buildPythonPackage rec { | ||||
|   pname = "django-pydantic-field"; | ||||
|   version = "v0.3.12"; | ||||
|   pyproject = true; | ||||
| 
 | ||||
|   src = fetchFromGitHub { | ||||
|     owner = "surenkov"; | ||||
|     repo = pname; | ||||
|     rev = version; | ||||
|     hash = "sha256-rlnS67OGljWD8Sbyutb43txAH0jA2+8ju1ntSEP3whM="; | ||||
|   }; | ||||
| 
 | ||||
|   nativeBuildInputs = [ setuptools ]; | ||||
| 
 | ||||
|   propagatedBuildInputs = [ | ||||
|     django | ||||
|     pydantic | ||||
|   ]; | ||||
| 
 | ||||
|   meta = with lib; { | ||||
|     description = ""; | ||||
|     homepage = "https://github.com/${src.owner}/${pname}"; | ||||
|     license = licenses.mit; | ||||
|   }; | ||||
| } | ||||
|  | @ -58,6 +58,7 @@ INSTALLED_APPS = [ | |||
|     'django.contrib.sessions', | ||||
|     'django.contrib.messages', | ||||
|     'django.contrib.staticfiles', | ||||
|     'django_pydantic_field', | ||||
|     'debug_toolbar', | ||||
|     'compressor', | ||||
| ] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue