forked from airalab/hs-web3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See: https://docs.haskellstack.org/en/stable/stack_yaml_vs_cabal_package_file/#should-i-check-in-generated-cabal-files commercialhaskell/stack#5210
- Loading branch information
1 parent
d143bd2
commit e51fd4c
Showing
12 changed files
with
938 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ | |
build/ | ||
dist/ | ||
docs/_build | ||
*.cabal | ||
stack.yaml.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.34.6. | ||
-- | ||
-- see: https://github.com/sol/hpack | ||
|
||
name: web3-bignum | ||
version: 1.0.0.0 | ||
synopsis: Fixed size big integers for Haskell Web3 library. | ||
description: This package implements codec instances and other helper functions. | ||
category: Network | ||
homepage: https://github.com/airalab/hs-web3#readme | ||
bug-reports: https://github.com/airalab/hs-web3/issues | ||
author: Aleksandr Krupenkin | ||
maintainer: [email protected] | ||
copyright: (c) Aleksandr Krupenkin 2016-2021 | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
build-type: Simple | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/airalab/hs-web3 | ||
|
||
library | ||
exposed-modules: | ||
Data.BigNum | ||
other-modules: | ||
Paths_web3_bignum | ||
hs-source-dirs: | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs | ||
build-depends: | ||
base >4.11 && <4.15 | ||
, cereal >0.5 && <0.6 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, scale ==1.0.* | ||
, wide-word >0.1 && <0.2 | ||
default-language: Haskell2010 | ||
|
||
test-suite tests | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
other-modules: | ||
Data.BigNum.Test.BigNumSpec | ||
Data.BigNum | ||
Paths_web3_bignum | ||
hs-source-dirs: | ||
tests | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs -threaded -rtsopts -with-rtsopts=-N | ||
build-depends: | ||
base >4.11 && <4.15 | ||
, cereal >0.5 && <0.6 | ||
, hspec >=2.4.4 && <2.8 | ||
, hspec-contrib >=0.4.0 && <0.6 | ||
, hspec-discover >=2.4.4 && <2.8 | ||
, hspec-expectations >=0.8.2 && <0.9 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, scale ==1.0.* | ||
, wide-word >0.1 && <0.2 | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.34.6. | ||
-- | ||
-- see: https://github.com/sol/hpack | ||
|
||
name: web3-crypto | ||
version: 1.0.0.0 | ||
synopsis: Cryptograhical primitives for Haskell Web3 library. | ||
description: This package implements Web3 specific cryptography and helper functions. | ||
category: Network | ||
homepage: https://github.com/airalab/hs-web3#readme | ||
bug-reports: https://github.com/airalab/hs-web3/issues | ||
author: Aleksandr Krupenkin | ||
maintainer: [email protected] | ||
copyright: (c) Aleksandr Krupenkin 2016-2021 | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
build-type: Simple | ||
extra-source-files: | ||
src/cbits/xxhash.h | ||
src/cbits/xxhash.c | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/airalab/hs-web3 | ||
|
||
library | ||
exposed-modules: | ||
Crypto.Bip39 | ||
Crypto.Ecdsa.Signature | ||
Crypto.Ecdsa.Utils | ||
Crypto.Ethereum | ||
Crypto.Ethereum.Keyfile | ||
Crypto.Ethereum.Signature | ||
Crypto.Ethereum.Utils | ||
Crypto.Random.HmacDrbg | ||
Data.Digest.Blake2 | ||
Data.Digest.XXHash | ||
other-modules: | ||
Paths_web3_crypto | ||
hs-source-dirs: | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs | ||
include-dirs: | ||
src/cbits | ||
c-sources: | ||
src/cbits/xxhash.c | ||
build-depends: | ||
aeson >1.2 && <1.6 | ||
, base >4.11 && <4.15 | ||
, bytestring >0.10 && <0.11 | ||
, containers >0.6 && <0.7 | ||
, cryptonite >0.22 && <0.30 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, text >1.2 && <1.3 | ||
, uuid-types >1.0 && <1.1 | ||
, vector >0.12 && <0.13 | ||
default-language: Haskell2010 | ||
|
||
test-suite tests | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
other-modules: | ||
Crypto.Ethereum.Test.KeyfileSpec | ||
Crypto.Ethereum.Test.SignatureSpec | ||
Crypto.Random.Test.HmacDrbgSpec | ||
Data.Digest.Test.Blake2Spec | ||
Data.Digest.Test.XXHashSpec | ||
Crypto.Bip39 | ||
Crypto.Ecdsa.Signature | ||
Crypto.Ecdsa.Utils | ||
Crypto.Ethereum | ||
Crypto.Ethereum.Keyfile | ||
Crypto.Ethereum.Signature | ||
Crypto.Ethereum.Utils | ||
Crypto.Random.HmacDrbg | ||
Data.Digest.Blake2 | ||
Data.Digest.XXHash | ||
Paths_web3_crypto | ||
hs-source-dirs: | ||
tests | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs -threaded -rtsopts -with-rtsopts=-N | ||
include-dirs: | ||
src/cbits | ||
c-sources: | ||
src/cbits/xxhash.c | ||
build-depends: | ||
aeson >1.2 && <1.6 | ||
, base >4.11 && <4.15 | ||
, bytestring >0.10 && <0.11 | ||
, containers >0.6 && <0.7 | ||
, cryptonite >0.22 && <0.30 | ||
, hspec >=2.4.4 && <2.8 | ||
, hspec-contrib >=0.4.0 && <0.6 | ||
, hspec-discover >=2.4.4 && <2.8 | ||
, hspec-expectations >=0.8.2 && <0.9 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, text >1.2 && <1.3 | ||
, uuid-types >1.0 && <1.1 | ||
, vector >0.12 && <0.13 | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.34.6. | ||
-- | ||
-- see: https://github.com/sol/hpack | ||
|
||
name: web3-ethereum | ||
version: 1.0.0.0 | ||
synopsis: Ethereum support for Haskell Web3 library. | ||
description: Client library for Third Generation of Web. | ||
category: Network | ||
homepage: https://github.com/airalab/hs-web3#readme | ||
bug-reports: https://github.com/airalab/hs-web3/issues | ||
author: Aleksandr Krupenkin | ||
maintainer: [email protected] | ||
copyright: (c) Aleksandr Krupenkin 2016-2021 | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
build-type: Simple | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/airalab/hs-web3 | ||
|
||
library | ||
exposed-modules: | ||
Network.Ethereum | ||
Network.Ethereum.Account | ||
Network.Ethereum.Account.Class | ||
Network.Ethereum.Account.Default | ||
Network.Ethereum.Account.Internal | ||
Network.Ethereum.Account.LocalKey | ||
Network.Ethereum.Account.Personal | ||
Network.Ethereum.Account.Safe | ||
Network.Ethereum.Api.Eth | ||
Network.Ethereum.Api.Net | ||
Network.Ethereum.Api.Personal | ||
Network.Ethereum.Api.Types | ||
Network.Ethereum.Api.Web3 | ||
Network.Ethereum.Chain | ||
Network.Ethereum.Contract | ||
Network.Ethereum.Contract.Event | ||
Network.Ethereum.Contract.Event.Common | ||
Network.Ethereum.Contract.Event.MultiFilter | ||
Network.Ethereum.Contract.Event.SingleFilter | ||
Network.Ethereum.Contract.Method | ||
Network.Ethereum.Contract.TH | ||
Network.Ethereum.Ens | ||
Network.Ethereum.Ens.PublicResolver | ||
Network.Ethereum.Ens.Registry | ||
Network.Ethereum.Transaction | ||
Network.Ethereum.Unit | ||
other-modules: | ||
Paths_web3_ethereum | ||
hs-source-dirs: | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs | ||
build-depends: | ||
OneTuple >0.2 && <0.3 | ||
, aeson >1.2 && <1.6 | ||
, base >4.11 && <4.15 | ||
, bytestring >0.10 && <0.11 | ||
, data-default >0.7 && <0.8 | ||
, exceptions >0.8 && <0.11 | ||
, generics-sop >0.3 && <0.6 | ||
, jsonrpc-tinyclient ==1.0.* | ||
, machines >0.6 && <0.8 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, microlens >0.4 && <0.5 | ||
, microlens-aeson >2.2 && <2.4 | ||
, mtl >2.2 && <2.3 | ||
, relapse >=1.0 && <2.0 | ||
, tagged >0.8 && <0.9 | ||
, template-haskell >2.11 && <2.17 | ||
, text >1.2 && <1.3 | ||
, transformers >0.5 && <0.6 | ||
, vinyl >0.5 && <0.14 | ||
, web3-crypto ==1.0.* | ||
, web3-solidity ==1.0.* | ||
default-language: Haskell2010 | ||
|
||
test-suite tests | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
other-modules: | ||
Network.Ethereum.Test.EventSpec | ||
Network.Ethereum.Test.MethodDumpSpec | ||
Network.Ethereum.Test.THSpec | ||
Network.Ethereum.Test.TransactionSpec | ||
Network.Ethereum | ||
Network.Ethereum.Account | ||
Network.Ethereum.Account.Class | ||
Network.Ethereum.Account.Default | ||
Network.Ethereum.Account.Internal | ||
Network.Ethereum.Account.LocalKey | ||
Network.Ethereum.Account.Personal | ||
Network.Ethereum.Account.Safe | ||
Network.Ethereum.Api.Eth | ||
Network.Ethereum.Api.Net | ||
Network.Ethereum.Api.Personal | ||
Network.Ethereum.Api.Types | ||
Network.Ethereum.Api.Web3 | ||
Network.Ethereum.Chain | ||
Network.Ethereum.Contract | ||
Network.Ethereum.Contract.Event | ||
Network.Ethereum.Contract.Event.Common | ||
Network.Ethereum.Contract.Event.MultiFilter | ||
Network.Ethereum.Contract.Event.SingleFilter | ||
Network.Ethereum.Contract.Method | ||
Network.Ethereum.Contract.TH | ||
Network.Ethereum.Ens | ||
Network.Ethereum.Ens.PublicResolver | ||
Network.Ethereum.Ens.Registry | ||
Network.Ethereum.Transaction | ||
Network.Ethereum.Unit | ||
Paths_web3_ethereum | ||
hs-source-dirs: | ||
tests | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs -threaded -rtsopts -with-rtsopts=-N | ||
build-depends: | ||
OneTuple >0.2 && <0.3 | ||
, aeson >1.2 && <1.6 | ||
, base >4.11 && <4.15 | ||
, bytestring >0.10 && <0.11 | ||
, data-default >0.7 && <0.8 | ||
, exceptions >0.8 && <0.11 | ||
, generics-sop >0.3 && <0.6 | ||
, hspec >=2.4.4 && <2.8 | ||
, hspec-contrib >=0.4.0 && <0.6 | ||
, hspec-discover >=2.4.4 && <2.8 | ||
, hspec-expectations >=0.8.2 && <0.9 | ||
, jsonrpc-tinyclient ==1.0.* | ||
, machines >0.6 && <0.8 | ||
, memory >0.14 && <0.16 | ||
, memory-hexstring ==1.0.* | ||
, microlens >0.4 && <0.5 | ||
, microlens-aeson >2.2 && <2.4 | ||
, mtl >2.2 && <2.3 | ||
, relapse >=1.0 && <2.0 | ||
, tagged >0.8 && <0.9 | ||
, template-haskell >2.11 && <2.17 | ||
, text >1.2 && <1.3 | ||
, transformers >0.5 && <0.6 | ||
, vinyl >0.5 && <0.14 | ||
, web3-crypto ==1.0.* | ||
, web3-solidity ==1.0.* | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
cabal-version: 1.12 | ||
|
||
-- This file has been generated from package.yaml by hpack version 0.34.6. | ||
-- | ||
-- see: https://github.com/sol/hpack | ||
|
||
name: memory-hexstring | ||
version: 1.0.0.0 | ||
synopsis: Hex-string type for Haskell Web3 library. | ||
description: Client library for Third Generation of Web. | ||
category: Network | ||
homepage: https://github.com/airalab/hs-web3#readme | ||
bug-reports: https://github.com/airalab/hs-web3/issues | ||
author: Aleksandr Krupenkin | ||
maintainer: [email protected] | ||
copyright: (c) Aleksandr Krupenkin 2016-2021 | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
build-type: Simple | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/airalab/hs-web3 | ||
|
||
library | ||
exposed-modules: | ||
Data.ByteArray.HexString | ||
Data.ByteArray.HexString.Convert | ||
Data.ByteArray.HexString.Internal | ||
Data.ByteArray.HexString.TH | ||
other-modules: | ||
Paths_memory_hexstring | ||
hs-source-dirs: | ||
src | ||
ghc-options: -funbox-strict-fields -Wduplicate-exports -Whi-shadowing -Widentities -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods -Wmissing-exported-signatures -Wmissing-monadfail-instances -Wmissing-signatures -Wname-shadowing -Wunused-binds -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs | ||
build-depends: | ||
aeson >1.2 && <1.6 | ||
, base >4.11 && <4.15 | ||
, bytestring >0.10 && <0.11 | ||
, memory >0.14 && <0.16 | ||
, scale ==1.0.* | ||
, template-haskell >2.11 && <2.17 | ||
, text >1.2 && <1.3 | ||
default-language: Haskell2010 |
Oops, something went wrong.