| 
									
										
										
										
											2021-01-25 09:26:54 +01:00
										 |  |  | { lib, fetchPypi, buildPythonPackage, python, text-unidecode }: | 
					
						
							| 
									
										
										
										
											2017-05-02 21:17:48 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |     pname = "python-slugify"; | 
					
						
							| 
									
										
										
										
											2020-07-31 10:56:45 +02:00
										 |  |  |     version = "4.0.1"; | 
					
						
							| 
									
										
										
										
											2017-05-02 21:17:48 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  |     src = fetchPypi { | 
					
						
							|  |  |  |       inherit pname version; | 
					
						
							| 
									
										
										
										
											2020-07-31 10:56:45 +02:00
										 |  |  |       sha256 = "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270"; | 
					
						
							| 
									
										
										
										
											2017-05-02 21:17:48 -07:00
										 |  |  |     }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-25 13:07:03 +02:00
										 |  |  |     propagatedBuildInputs = [ text-unidecode ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     checkPhase = ''
 | 
					
						
							|  |  |  |       ${python.interpreter} test.py | 
					
						
							|  |  |  |     '';
 | 
					
						
							| 
									
										
										
										
											2017-05-02 21:17:48 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  |     meta = with lib; { | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |       homepage = "https://github.com/un33k/python-slugify"; | 
					
						
							| 
									
										
										
										
											2017-05-02 21:17:48 -07:00
										 |  |  |       description = "A Python Slugify application that handles Unicode"; | 
					
						
							|  |  |  |       license = licenses.mit; | 
					
						
							|  |  |  |       platforms = platforms.all; | 
					
						
							|  |  |  |       maintainers = with maintainers; [ vrthra ]; | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  | } |