drafted out entangled worlds mod
This commit is contained in:
		
							parent
							
								
									0476afb471
								
							
						
					
					
						commit
						52a1d97fd4
					
				
					 5 changed files with 80 additions and 2 deletions
				
			
		|  | @ -1,3 +1,6 @@ | |||
| # this folder is for derivation overlays | ||||
| {...}: { | ||||
| {inputs, ...}: { | ||||
|   nixpkgs.overlays = [ | ||||
|     inputs.steam-fetcher.overlays.default | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
|  | @ -13,5 +13,8 @@ | |||
|         ./prostudiomasters.nix | ||||
|         {}; | ||||
|     }) | ||||
|     (final: prev: { | ||||
|       noita_entangled_worlds = pkgs.callPackage ./noita-entangled-worlds.nix {}; | ||||
|     }) | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
							
								
								
									
										46
									
								
								modules/common-modules/pkgs/noita-entangled-worlds.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								modules/common-modules/pkgs/noita-entangled-worlds.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,46 @@ | |||
| # not working yet | ||||
| { | ||||
|   pkgs, | ||||
|   rustPlatform, | ||||
|   fetchFromGitHub, | ||||
|   ... | ||||
| }: let | ||||
|   version = "1.5.3"; | ||||
|   repo = fetchFromGitHub { | ||||
|     owner = "IntQuant"; | ||||
|     repo = "noita_entangled_worlds"; | ||||
|     rev = "v${version}"; | ||||
|     hash = "sha256-frrpD0aWTeDbZYtp15R+quUUAZf7OvHlbSLtGJJtAqk="; | ||||
|   }; | ||||
| in | ||||
|   rustPlatform.buildRustPackage { | ||||
|     name = "noita-proxy-${version}"; | ||||
|     src = repo + "/noita-proxy"; | ||||
|     prePatch = '' | ||||
|       substituteInPlace Cargo.toml \ | ||||
|           --replace "path = \"../shared\"" "path = \"${repo + "/shared"}\"" | ||||
|     ''; | ||||
|     nativeBuildInputs = with pkgs; [ | ||||
|       pkg-config | ||||
|       python3 | ||||
|       cmake | ||||
|     ]; | ||||
|     buildInputs = with pkgs; [ | ||||
|       openssl | ||||
|       openssl.dev | ||||
|       libpulseaudio | ||||
|       libjack2 | ||||
|       alsa-lib | ||||
|       xorg.libxcb | ||||
|       xorg.libxcb.dev | ||||
|       libopus | ||||
|     ]; | ||||
|     propagatedBuildInputs = with pkgs; [ | ||||
|       steamworks-sdk-redist | ||||
|     ]; | ||||
|     runtimeDependencies = with pkgs; [ | ||||
|       steamworks-sdk-redist | ||||
|     ]; | ||||
|     doCheck = false; | ||||
|     cargoHash = "sha256-TzUS6d6PopgGf2i1yVaXaXdzNrvfSz+Gv67BAtxYmb4="; | ||||
|   } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue