haskell-cabal: Update to version 3.10.2.0

Fix checkver picking up source only versions (e.g. 3.10.2.1)

Added hash extraction
This commit is contained in:
tech189 2024-01-03 09:06:17 +00:00
parent 8b2351a280
commit 5d35b7ed8d

View File

@ -1,5 +1,5 @@
{ {
"version": "3.10.1.0", "version": "3.10.2.0",
"description": "Cabal is a system for building and packaging Haskell libraries and programs.", "description": "Cabal is a system for building and packaging Haskell libraries and programs.",
"homepage": "https://www.haskell.org/cabal/", "homepage": "https://www.haskell.org/cabal/",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
@ -8,20 +8,23 @@
}, },
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://downloads.haskell.org/~cabal/cabal-install-3.10.1.0/cabal-install-3.10.1.0-x86_64-windows.zip", "url": "https://downloads.haskell.org/~cabal/cabal-install-latest/cabal-install-3.10.2.0-x86_64-windows.zip",
"hash": "31ca1cd173d4da675bc9790746d6b492cbe204e0332b282141d7ecc8ae43997b" "hash": "b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b"
} }
}, },
"bin": "cabal.exe", "bin": "cabal.exe",
"checkver": { "checkver": {
"github": "https://github.com/haskell/cabal", "url": "https://downloads.haskell.org/~cabal/cabal-install-latest/",
"regex": "/releases/tag/cabal-install-v([\\d.-]+)" "regex": "cabal-install-([\\d.-]+)-x86_64-windows.zip"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://downloads.haskell.org/~cabal/cabal-install-$version/cabal-install-$version-x86_64-windows.zip" "url": "https://downloads.haskell.org/~cabal/cabal-install-latest/cabal-install-$version-x86_64-windows.zip"
} }
},
"hash": {
"url": "$baseurl/SHA256SUMS"
} }
} }
} }