| 
									
										
										
										
											2019-01-17 20:25:35 +01:00
										 |  |  | { lib | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  | , buildPythonPackage | 
					
						
							|  |  |  | , fetchPypi | 
					
						
							| 
									
										
										
										
											2019-12-22 10:44:49 -08:00
										 |  |  | , isPy27 | 
					
						
							| 
									
										
										
										
											2020-07-22 20:06:19 -04:00
										 |  |  | , packaging | 
					
						
							| 
									
										
										
										
											2020-01-27 11:00:21 -05:00
										 |  |  | , pytest | 
					
						
							| 
									
										
										
										
											2020-07-05 18:11:32 -03:00
										 |  |  | , nose | 
					
						
							| 
									
										
										
										
											2019-08-05 19:08:14 -07:00
										 |  |  | , numpy | 
					
						
							| 
									
										
										
										
											2020-01-27 11:00:21 -05:00
										 |  |  | , h5py | 
					
						
							|  |  |  | , pydicom | 
					
						
							|  |  |  | , scipy | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "nibabel"; | 
					
						
							| 
									
										
										
										
											2020-12-03 19:25:20 +00:00
										 |  |  |   version = "3.2.1"; | 
					
						
							| 
									
										
										
										
											2019-12-22 10:44:49 -08:00
										 |  |  |   disabled = isPy27; | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							| 
									
										
										
										
											2020-12-03 19:25:20 +00:00
										 |  |  |     sha256 = "4d2ff9426b740011a1c916b54fc25da9348282e727eaa2ea163f42e00f1fc29e"; | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-22 20:06:19 -04:00
										 |  |  |   propagatedBuildInputs = [ numpy scipy h5py packaging pydicom ]; | 
					
						
							| 
									
										
										
										
											2019-01-17 20:25:35 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-27 11:00:21 -05:00
										 |  |  |   checkInputs = [ nose pytest ]; | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-05 19:08:14 -07:00
										 |  |  |   checkPhase = ''
 | 
					
						
							| 
									
										
										
										
											2020-07-05 18:11:32 -03:00
										 |  |  |     pytest | 
					
						
							| 
									
										
										
										
											2019-01-17 20:25:35 +01:00
										 |  |  |   '';
 | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-17 20:25:35 +01:00
										 |  |  |   meta = with lib; { | 
					
						
							| 
									
										
										
										
											2020-04-07 14:12:09 -04:00
										 |  |  |     homepage = "https://nipy.org/nibabel"; | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  |     description = "Access a multitude of neuroimaging data formats"; | 
					
						
							|  |  |  |     license = licenses.mit; | 
					
						
							|  |  |  |     maintainers = with maintainers; [ ashgillman ]; | 
					
						
							| 
									
										
										
										
											2020-01-27 11:00:21 -05:00
										 |  |  |     platforms = platforms.x86_64;  # https://github.com/nipy/nibabel/issues/861 | 
					
						
							| 
									
										
										
										
											2018-01-16 23:28:55 +10:00
										 |  |  |   }; | 
					
						
							|  |  |  | } |