mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	haskell: update to 9.0.1 (#2790)
* haskell: update to 8.10.3 * feat: switch to GitHub checkver * haskell: update to 8.10.7 * fix: support updating to v9
This commit is contained in:
		
							parent
							
								
									716b9eb38a
								
							
						
					
					
						commit
						4e4de3e575
					
				@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
    "version": "8.6.5",
 | 
			
		||||
    "version": "9.0.1",
 | 
			
		||||
    "description": "An advanced, purely functional programming language.",
 | 
			
		||||
    "homepage": "https://www.haskell.org",
 | 
			
		||||
    "license": "BSD-3-Clause",
 | 
			
		||||
@ -12,18 +12,11 @@
 | 
			
		||||
    },
 | 
			
		||||
    "architecture": {
 | 
			
		||||
        "64bit": {
 | 
			
		||||
            "url": "https://haskell.org/platform/download/8.6.5/HaskellPlatform-8.6.5-core-x86_64-setup.exe#/dl.7z",
 | 
			
		||||
            "hash": "b557748749f6c4073885ecdf43f7cd5d4d8c8f90712665943a1d265d78bb38c6",
 | 
			
		||||
            "extract_dir": "$_14_"
 | 
			
		||||
            "url": "https://github.com/commercialhaskell/ghc/releases/download/ghc-9.0.1-release/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz",
 | 
			
		||||
            "hash": "4f4ab118df01cbc7e7c510096deca0cb25025339a97730de0466416296202493",
 | 
			
		||||
            "extract_dir": "ghc-9.0.1-x86_64-unknown-mingw32"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "installer": {
 | 
			
		||||
        "script": [
 | 
			
		||||
            "Expand-7zipArchive -Path \"$dir\\HaskellPlatform-$version-core-x86_64-setup.exe\" -ExtractDir '$_15_' -Removal",
 | 
			
		||||
            "Get-ChildItem -Path \"$dir\" -Exclude 'stack*' | Convert-Path | ForEach-Object { Expand-7zipArchive -Path $_ -Removal }",
 | 
			
		||||
            "Remove-Item -Path \"$dir\\`$PLUGINSDIR\", \"$dir\\*uninstall*\", \"$dir\\stack*\" -Recurse -Force"
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "bin": [
 | 
			
		||||
        "bin\\ghc.exe",
 | 
			
		||||
        "bin\\ghci.exe",
 | 
			
		||||
@ -32,28 +25,19 @@
 | 
			
		||||
        "bin\\hp2ps.exe",
 | 
			
		||||
        "bin\\hpc.exe",
 | 
			
		||||
        "bin\\hsc2hs.exe",
 | 
			
		||||
        "bin\\runghc.exe",
 | 
			
		||||
        "bin\\runhaskell.exe"
 | 
			
		||||
        "bin\\runghc.exe"
 | 
			
		||||
    ],
 | 
			
		||||
    "shortcuts": [
 | 
			
		||||
        [
 | 
			
		||||
            "winghci\\winghci.exe",
 | 
			
		||||
            "WinGHCi"
 | 
			
		||||
        ]
 | 
			
		||||
    ],
 | 
			
		||||
    "env_add_path": "lib\\extralibs\\bin",
 | 
			
		||||
    "env_add_path": "lib\\bin",
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://www.haskell.org/platform/windows.html",
 | 
			
		||||
        "regex": "<strong>([\\d.]+)</strong>"
 | 
			
		||||
        "url": "https://api.github.com/repos/commercialhaskell/ghc/tags",
 | 
			
		||||
        "jsonpath": "$.name",
 | 
			
		||||
        "regex": "ghc-([\\d\\.]+)-release"
 | 
			
		||||
    },
 | 
			
		||||
    "autoupdate": {
 | 
			
		||||
        "architecture": {
 | 
			
		||||
            "64bit": {
 | 
			
		||||
                "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe#/dl.7z",
 | 
			
		||||
                "hash": {
 | 
			
		||||
                    "url": "https://www.haskell.org/platform/windows.html",
 | 
			
		||||
                    "regex": ">$sha256<"
 | 
			
		||||
                }
 | 
			
		||||
                "url": "https://github.com/commercialhaskell/ghc/releases/download/ghc-$version-release/ghc-$version-x86_64-unknown-mingw32.tar.xz",
 | 
			
		||||
                "extract_dir": "ghc-$version-x86_64-unknown-mingw32"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user