| 
									
										
										
										
											2021-01-25 09:26:54 +01:00
										 |  |  | { lib | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  | , buildPythonPackage | 
					
						
							|  |  |  | , fetchPypi | 
					
						
							| 
									
										
										
										
											2020-11-05 20:47:09 +01:00
										 |  |  | , isPy27 | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  | , semantic-version | 
					
						
							|  |  |  | , setuptools | 
					
						
							|  |  |  | , setuptools_scm | 
					
						
							|  |  |  | , toml | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "setuptools-rust"; | 
					
						
							| 
									
										
										
										
											2020-12-14 17:12:36 +00:00
										 |  |  |   version = "0.11.6"; | 
					
						
							| 
									
										
										
										
											2020-11-05 20:47:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |   disabled = isPy27; | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							| 
									
										
										
										
											2020-12-14 17:12:36 +00:00
										 |  |  |     sha256 = "a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca"; | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nativeBuildInputs = [ setuptools_scm ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   propagatedBuildInputs = [ semantic-version setuptools toml ]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  |   meta = with lib; { | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  |     description = "Setuptools plugin for Rust support"; | 
					
						
							|  |  |  |     homepage = "https://github.com/PyO3/setuptools-rust"; | 
					
						
							| 
									
										
										
										
											2020-12-14 20:10:13 +01:00
										 |  |  |     changelog = "https://github.com/PyO3/setuptools-rust/releases/tag/v${version}"; | 
					
						
							| 
									
										
										
										
											2020-10-16 11:44:23 +02:00
										 |  |  |     license = licenses.mit; | 
					
						
							|  |  |  |     maintainers = with maintainers; [ danieldk ]; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |