diff --git a/cabal.project b/cabal.project index 7190c6183..026f963f7 100644 --- a/cabal.project +++ b/cabal.project @@ -9,7 +9,7 @@ constraints: zip +disable-bzip2 +disable-zstd source-repository-package type: git location: https://github.com/simplex-chat/simplexmq.git - tag: 6bffcc8503e5193d57e543ac0100712a8e27d454 + tag: 90a8fc91d35c578c3b52ad296a6f1df715da2278 source-repository-package type: git @@ -45,8 +45,3 @@ source-repository-package type: git location: https://github.com/simplex-chat/android-support.git tag: 9aa09f148089d6752ce563b14c2df1895718d806 - -source-repository-package - type: git - location: https://github.com/simplex-chat/network-transport.git - tag: 0013798272a683e35ca38d2fdaf480942311fba8 diff --git a/package.yaml b/package.yaml index 145b178c4..7c828ed7d 100644 --- a/package.yaml +++ b/package.yaml @@ -32,10 +32,10 @@ dependencies: - filepath == 1.4.* - http-types == 0.12.* - http2 >= 4.2.2 && < 4.3 - - memory == 0.18.* - - mtl == 2.3.* + - memory >= 0.15 && < 0.19 + - mtl >= 2.2 && < 3 - network >= 3.1.2.7 && < 3.2 - - network-transport == 0.5.6 + - network-transport >= 0.5.6 && < 0.6 - optparse-applicative >= 0.15 && < 0.17 - process == 1.6.* - random >= 1.1 && < 1.3 @@ -45,14 +45,14 @@ dependencies: - socks == 0.6.* - sqlcipher-simple == 0.4.* - stm == 2.5.* - - template-haskell == 2.20.* + - template-haskell >= 2.16 && < 2.21 - terminal == 0.2.* - - text == 2.0.* + - text >= 2.0 && < 3 - time == 1.9.* - tls >= 1.6.0 && < 1.7 - unliftio == 0.2.* - unliftio-core == 0.2.* - - zip == 2.0.* + - zip >= 1.7 && < 2.1 flags: swift: diff --git a/scripts/nix/sha256map.nix b/scripts/nix/sha256map.nix index 004187e88..15a4b04ec 100644 --- a/scripts/nix/sha256map.nix +++ b/scripts/nix/sha256map.nix @@ -1,5 +1,5 @@ { - "https://github.com/simplex-chat/simplexmq.git"."6bffcc8503e5193d57e543ac0100712a8e27d454" = "131kdcvh01985lnf4azss4rg7swpjjh647c29m95b33hd1f7mf17"; + "https://github.com/simplex-chat/simplexmq.git"."90a8fc91d35c578c3b52ad296a6f1df715da2278" = "1yjixh6b2s1law3kh885fsbr1inv1r7iy4g9g2bn6j4ygdn8vlzy"; "https://github.com/simplex-chat/hs-socks.git"."a30cc7a79a08d8108316094f8f2f82a0c5e1ac51" = "0yasvnr7g91k76mjkamvzab2kvlb1g5pspjyjn2fr6v83swjhj38"; "https://github.com/kazu-yamamoto/http2.git"."f5525b755ff2418e6e6ecc69e877363b0d0bcaeb" = "0fyx0047gvhm99ilp212mmz37j84cwrfnpmssib5dw363fyb88b6"; "https://github.com/simplex-chat/direct-sqlcipher.git"."f814ee68b16a9447fbb467ccc8f29bdd3546bfd9" = "1ql13f4kfwkbaq7nygkxgw84213i0zm7c1a8hwvramayxl38dq5d"; @@ -7,5 +7,4 @@ "https://github.com/simplex-chat/aeson.git"."aab7b5a14d6c5ea64c64dcaee418de1bb00dcc2b" = "0jz7kda8gai893vyvj96fy962ncv8dcsx71fbddyy8zrvc88jfrr"; "https://github.com/simplex-chat/haskell-terminal.git"."f708b00009b54890172068f168bf98508ffcd495" = "0zmq7lmfsk8m340g47g5963yba7i88n4afa6z93sg9px5jv1mijj"; "https://github.com/simplex-chat/android-support.git"."9aa09f148089d6752ce563b14c2df1895718d806" = "0pbf2pf13v2kjzi397nr13f1h3jv0imvsq8rpiyy2qyx5vd50pqn"; - "https://github.com/simplex-chat/network-transport.git"."0013798272a683e35ca38d2fdaf480942311fba8" = "0dnn62apgvc248df0m8ib7phrzn63wm0xs71xvlypv52j6cgwzkb"; } diff --git a/simplex-chat.cabal b/simplex-chat.cabal index 18b5da39a..6f7e61eda 100644 --- a/simplex-chat.cabal +++ b/simplex-chat.cabal @@ -184,10 +184,10 @@ library , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network >=3.1.2.7 && <3.2 - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -197,14 +197,14 @@ library , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -236,10 +236,10 @@ executable simplex-bot , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network >=3.1.2.7 && <3.2 - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -250,14 +250,14 @@ executable simplex-bot , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -289,10 +289,10 @@ executable simplex-bot-advanced , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network >=3.1.2.7 && <3.2 - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -303,14 +303,14 @@ executable simplex-bot-advanced , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -344,10 +344,10 @@ executable simplex-broadcast-bot , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network >=3.1.2.7 && <3.2 - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -358,14 +358,14 @@ executable simplex-broadcast-bot , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -398,10 +398,10 @@ executable simplex-chat , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network ==3.1.* - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -412,15 +412,15 @@ executable simplex-chat , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* , websockets ==0.12.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -456,10 +456,10 @@ executable simplex-directory-service , filepath ==1.4.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network >=3.1.2.7 && <3.2 - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -470,14 +470,14 @@ executable simplex-directory-service , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON @@ -540,10 +540,10 @@ test-suite simplex-chat-test , hspec ==2.11.* , http-types ==0.12.* , http2 >=4.2.2 && <4.3 - , memory ==0.18.* - , mtl ==2.3.* + , memory >=0.15 && <0.19 + , mtl >=2.2 && <3 , network ==3.1.* - , network-transport ==0.5.6 + , network-transport >=0.5.6 && <0.6 , optparse-applicative >=0.15 && <0.17 , process ==1.6.* , random >=1.1 && <1.3 @@ -555,14 +555,14 @@ test-suite simplex-chat-test , socks ==0.6.* , sqlcipher-simple ==0.4.* , stm ==2.5.* - , template-haskell ==2.20.* + , template-haskell >=2.16 && <2.21 , terminal ==0.2.* - , text ==2.0.* + , text >=2.0 && <3 , time ==1.9.* , tls >=1.6.0 && <1.7 , unliftio ==0.2.* , unliftio-core ==0.2.* - , zip ==2.0.* + , zip >=1.7 && <2.1 default-language: Haskell2010 if flag(swift) cpp-options: -DswiftJSON diff --git a/stack.yaml b/stack.yaml index 66e89de6f..2866c9bfa 100644 --- a/stack.yaml +++ b/stack.yaml @@ -49,7 +49,7 @@ extra-deps: # - simplexmq-1.0.0@sha256:34b2004728ae396e3ae449cd090ba7410781e2b3cefc59259915f4ca5daa9ea8,8561 # - ../simplexmq - github: simplex-chat/simplexmq - commit: 6bffcc8503e5193d57e543ac0100712a8e27d454 + commit: 90a8fc91d35c578c3b52ad296a6f1df715da2278 - github: kazu-yamamoto/http2 commit: f5525b755ff2418e6e6ecc69e877363b0d0bcaeb # - ../direct-sqlcipher @@ -65,8 +65,6 @@ extra-deps: commit: f708b00009b54890172068f168bf98508ffcd495 - github: simplex-chat/android-support commit: 9aa09f148089d6752ce563b14c2df1895718d806 - - github: simplex-chat/network-transport - commit: 0013798272a683e35ca38d2fdaf480942311fba8 # # extra-deps: []