| 
									
										
										
										
											2024-03-15 07:16:42 -04:00
										 |  |  | { | 
					
						
							|  |  |  |   lib, | 
					
						
							|  |  |  |   stdenv, | 
					
						
							|  |  |  |   fetchFromGitHub, | 
					
						
							|  |  |  |   nix-update-script, | 
					
						
							|  |  |  |   desktop-file-utils, | 
					
						
							|  |  |  |   wrapGAppsHook4, | 
					
						
							|  |  |  |   meson, | 
					
						
							|  |  |  |   ninja, | 
					
						
							|  |  |  |   pkg-config, | 
					
						
							|  |  |  |   vala, | 
					
						
							|  |  |  |   glib, | 
					
						
							|  |  |  |   glib-networking, | 
					
						
							|  |  |  |   gtk4, | 
					
						
							|  |  |  |   json-glib, | 
					
						
							|  |  |  |   libadwaita, | 
					
						
							|  |  |  |   libarchive, | 
					
						
							|  |  |  |   libgee, | 
					
						
							|  |  |  |   libsoup_3, | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | stdenv.mkDerivation (finalAttrs: { | 
					
						
							|  |  |  |   pname = "protonplus"; | 
					
						
							| 
									
										
										
										
											2025-07-03 14:11:23 +00:00
										 |  |  |   version = "0.5.8"; | 
					
						
							| 
									
										
										
										
											2024-03-15 07:16:42 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  |   src = fetchFromGitHub { | 
					
						
							|  |  |  |     owner = "Vysp3r"; | 
					
						
							|  |  |  |     repo = "protonplus"; | 
					
						
							| 
									
										
										
										
											2025-05-28 20:35:19 +00:00
										 |  |  |     tag = "v${finalAttrs.version}"; | 
					
						
							| 
									
										
										
										
											2025-07-03 14:11:23 +00:00
										 |  |  |     hash = "sha256-99RD1M6i/titM0dzyNPZGdWyNAUo7ZBj2QEw/qDl5nM="; | 
					
						
							| 
									
										
										
										
											2024-03-15 07:16:42 -04:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nativeBuildInputs = [ | 
					
						
							|  |  |  |     desktop-file-utils | 
					
						
							|  |  |  |     meson | 
					
						
							|  |  |  |     ninja | 
					
						
							|  |  |  |     pkg-config | 
					
						
							|  |  |  |     vala | 
					
						
							|  |  |  |     wrapGAppsHook4 | 
					
						
							|  |  |  |   ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   buildInputs = [ | 
					
						
							|  |  |  |     glib | 
					
						
							|  |  |  |     glib-networking | 
					
						
							|  |  |  |     gtk4 | 
					
						
							|  |  |  |     json-glib | 
					
						
							|  |  |  |     libadwaita | 
					
						
							|  |  |  |     libarchive | 
					
						
							|  |  |  |     libgee | 
					
						
							|  |  |  |     libsoup_3 | 
					
						
							|  |  |  |   ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   passthru = { | 
					
						
							|  |  |  |     updateScript = nix-update-script { }; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-28 20:35:19 +00:00
										 |  |  |   meta = { | 
					
						
							| 
									
										
										
										
											2024-03-15 07:16:42 -04:00
										 |  |  |     mainProgram = "com.vysp3r.ProtonPlus"; | 
					
						
							|  |  |  |     description = "Simple Wine and Proton-based compatibility tools manager"; | 
					
						
							|  |  |  |     homepage = "https://github.com/Vysp3r/ProtonPlus"; | 
					
						
							|  |  |  |     changelog = "https://github.com/Vysp3r/ProtonPlus/releases/tag/v${finalAttrs.version}"; | 
					
						
							| 
									
										
										
										
											2025-05-28 20:35:19 +00:00
										 |  |  |     license = lib.licenses.gpl3Only; | 
					
						
							|  |  |  |     maintainers = with lib.maintainers; [ getchoo ]; | 
					
						
							|  |  |  |     platforms = lib.platforms.linux; | 
					
						
							| 
									
										
										
										
											2024-03-15 07:16:42 -04:00
										 |  |  |   }; | 
					
						
							|  |  |  | }) |