sunshine: 2025.122.141614 -> 2025.628.4510
This commit is contained in:
		
							parent
							
								
									c7a1d6d6f9
								
							
						
					
					
						commit
						a98748b83d
					
				@ -15,6 +15,8 @@
 | 
			
		||||
        ./common/x11.nix
 | 
			
		||||
      ];
 | 
			
		||||
 | 
			
		||||
      virtualisation.memorySize = 4096;
 | 
			
		||||
 | 
			
		||||
      services.sunshine = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        openFirewall = true;
 | 
			
		||||
@ -61,7 +63,7 @@
 | 
			
		||||
    moonlight.wait_for_console_text("Executing request.*pair")
 | 
			
		||||
 | 
			
		||||
    # respond to pairing request from sunshine
 | 
			
		||||
    sunshine.succeed("curl --fail --insecure -u sunshine:sunshine -d '{\"pin\":\"1234\",\"name\":\"1234\"}' https://localhost:47990/api/pin")
 | 
			
		||||
    sunshine.succeed("curl --fail --insecure -u sunshine:sunshine -H 'Content-Type: application/json' -d '{\"pin\":\"1234\",\"name\":\"sunshine\"}' https://localhost:47990/api/pin")
 | 
			
		||||
 | 
			
		||||
    # wait until pairing is complete
 | 
			
		||||
    moonlight.wait_for_console_text("Executing request.*phrase=pairchallenge")
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										834
									
								
								pkgs/by-name/su/sunshine/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										834
									
								
								pkgs/by-name/su/sunshine/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -57,13 +57,13 @@ let
 | 
			
		||||
in
 | 
			
		||||
stdenv'.mkDerivation rec {
 | 
			
		||||
  pname = "sunshine";
 | 
			
		||||
  version = "2025.122.141614";
 | 
			
		||||
  version = "2025.628.4510";
 | 
			
		||||
 | 
			
		||||
  src = fetchFromGitHub {
 | 
			
		||||
    owner = "LizardByte";
 | 
			
		||||
    repo = "Sunshine";
 | 
			
		||||
    tag = "v${version}";
 | 
			
		||||
    hash = "sha256-rHf+lj5dycXA//fu3RPuimYz2hrJnoVt7GA2xuHGXJk=";
 | 
			
		||||
    hash = "sha256-xNWFo6a4YrJ+tBFTSReoAEi1oZ4DSguBEusizWeWKYY=";
 | 
			
		||||
    fetchSubmodules = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -71,7 +71,7 @@ stdenv'.mkDerivation rec {
 | 
			
		||||
  ui = buildNpmPackage {
 | 
			
		||||
    inherit src version;
 | 
			
		||||
    pname = "sunshine-ui";
 | 
			
		||||
    npmDepsHash = "sha256-sWCmx1dMEyRyuYeeuqAjHZLVnckskgQO4saFM64s4Y4=";
 | 
			
		||||
    npmDepsHash = "sha256-kUixeLf8prsWQolg1v+vJ5rvwKZOsU+88+0hVOgTZ0A=";
 | 
			
		||||
 | 
			
		||||
    # use generated package-lock.json as upstream does not provide one
 | 
			
		||||
    postPatch = ''
 | 
			
		||||
@ -194,7 +194,7 @@ stdenv'.mkDerivation rec {
 | 
			
		||||
    substituteInPlace cmake/targets/common.cmake \
 | 
			
		||||
      --replace-fail 'find_program(NPM npm REQUIRED)' ""
 | 
			
		||||
 | 
			
		||||
    substituteInPlace packaging/linux/sunshine.desktop \
 | 
			
		||||
    substituteInPlace packaging/linux/dev.lizardbyte.app.Sunshine.desktop \
 | 
			
		||||
      --subst-var-by PROJECT_NAME 'Sunshine' \
 | 
			
		||||
      --subst-var-by PROJECT_DESCRIPTION 'Self-hosted game stream host for Moonlight' \
 | 
			
		||||
      --subst-var-by SUNSHINE_DESKTOP_ICON 'sunshine' \
 | 
			
		||||
@ -230,7 +230,7 @@ stdenv'.mkDerivation rec {
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  postInstall = ''
 | 
			
		||||
    install -Dm644 ../packaging/linux/${pname}.desktop $out/share/applications/${pname}.desktop
 | 
			
		||||
    install -Dm644 ../packaging/linux/dev.lizardbyte.app.Sunshine.desktop $out/share/applications/dev.lizardbyte.app.Sunshine.desktop
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  doInstallCheck = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user