Skip to content

Commit

Permalink
Bump GHC Version to 9.6.6 and upgrade Wuss dependency
Browse files Browse the repository at this point in the history
resolves #23
  • Loading branch information
prolic committed Sep 19, 2024
1 parent 26af1e8 commit ef7e4a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ See [License File](LICENSE).

```bash
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup install ghc 9.4.8
ghcup install ghc 9.6.6
ghcup install cabal 3.12.1.0
ghcup set ghc 9.4.8
ghcup set ghc 9.6.6
ghcup set cabal 3.12.1.0
```

Expand Down Expand Up @@ -54,9 +54,9 @@ git clone https://github.com/bitcoin-core/secp256k1 && \

```bash
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; try { Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true } catch { Write-Error $_ }
ghcup install ghc 9.4.8
ghcup install ghc 9.6.6
ghcup install cabal 3.12.1.0
ghcup set ghc 9.4.8
ghcup set ghc 9.6.6
ghcup set cabal 3.12.1.0
```
Expand Down
14 changes: 7 additions & 7 deletions futr.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license-file: LICENSE
copyright: 2024 Sascha-Oliver Prolic
maintainer: [email protected]
author: Sascha-Oliver Prolic
tested-with: ghc == 9.4.8
tested-with: ghc == 9.6.6
homepage: https://github.com/futrnostr/futr#readme
synopsis: nostr client application
description: A nostr client application written in Haskell and Qt5.
Expand All @@ -16,7 +16,7 @@ extra-source-files: README.md build.touch

custom-setup
setup-depends:
base >=4.17.2.1 && <4.18,
base >=4.18.2.1 && <4.19,
Cabal >= 3.12 && < 4,
directory >= 1.3.7.1 && < 1.4,
filepath >= 1.4.2 && <1.5,
Expand Down Expand Up @@ -70,7 +70,7 @@ executable futr
build-depends:
aeson >=2.2.3.0 && <2.3,
async >=2.2.5 && <2.3,
base >=4.17.2.1 && <4.18,
base >=4.18.2.1 && <4.19,
base16-bytestring >=1.0.2.0 && <1.1,
base64-bytestring >=1.2.1.0 && <1.3,
basement >=0.0.16 && <0.1,
Expand Down Expand Up @@ -104,7 +104,7 @@ executable futr
vector >=0.13.1.0 && <0.14,
websockets >=0.13.0.0 && <0.14,
wreq >=0.5.4.3 && <0.6,
wuss >=2.0.1.8 && <2.0.1.9
wuss >=2.0.2.0 && <2.1

test-suite futr-tests
type: exitcode-stdio-1.0
Expand All @@ -123,7 +123,7 @@ test-suite futr-tests

build-depends:
aeson >=2.2.3.0 && <2.3,
base >=4.17.2.1 && <4.18,
base >=4.18.2.1 && <4.19,
base16-bytestring >=1.0.2.0 && <1.1,
base64-bytestring,
bech32 >=1.1.7 && <1.2,
Expand All @@ -136,8 +136,8 @@ test-suite futr-tests
libsecp256k1 >=0.2.1 && <0.3,
memory >=0.18 && <0.19,
secp256k1-haskell >=1.4.0 && <1.5,
tasty >=1.3.0.1 && <1.4,
tasty-hunit >=0.9 && <0.12,
tasty >=1.4.3 && <1.5,
tasty-hunit >=0.10.2 && <0.11,
text >=2.0.2 && <2.1,
random >=1.2.1.2 && <1.3

Expand Down
1 change: 1 addition & 0 deletions src/Nostr/Keys.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-- The functions provided in this module ensure secure and efficient cryptographic operations
-- for key management and transaction signing in the Nostr network.

{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}

Expand Down

0 comments on commit ef7e4a9

Please sign in to comment.