Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/heavy dep purge #12

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions haskoin-core.cabal → bitcoin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack

name: haskoin-core
name: bitcoin
version: 0.21.2
synopsis: Bitcoin & Bitcoin Cash library for Haskell
description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-core#readme>
synopsis: Bitcoin library for Haskell
description: Please see the README on GitHub at <https://github.com/haskell-bitcoin/bitcoin#readme>
category: Bitcoin, Finance, Network
homepage: http://github.com/haskoin/haskoin#readme
bug-reports: http://github.com/haskoin/haskoin/issues
homepage: http://github.com/haskell-bitcoin/bitcoin#readme
bug-reports: http://github.com/haskell-bitcoin/bitcoin/issues
author: Philippe Laprade,
Jean-Pierre Rupp,
Matthew Wraith
maintainer: [email protected]
Matthew Wraith,
Keagan McClelland
maintainer: [email protected]
license: MIT
license-file: LICENSE
build-type: Simple
Expand All @@ -38,15 +39,14 @@ extra-source-files:

source-repository head
type: git
location: git://github.com/haskoin/haskoin.git
location: git://github.com/haskell-bitcoin/bitcoin.git

library
exposed-modules:
Haskoin
Haskoin.Address
Haskoin.Address.Base58
Haskoin.Address.Bech32
Haskoin.Address.CashAddr
Haskoin.Block
Haskoin.Block.Common
Haskoin.Block.Headers
Expand Down Expand Up @@ -93,23 +93,18 @@ library
src
build-depends:
QuickCheck >=2.13.2
, aeson >=1.4.6.0
, array >=0.5.4.0
, base >=4.9 && <5
, base16 >=0.3.0.1
, binary >=0.8.8
, bytes >=0.17
, bytestring >=0.10.10.0
, cereal >=0.5.8
, conduit >=1.3.1.2
, containers >=0.6.2.1
, cryptonite >=0.26
, deepseq >=1.4.4.0
, entropy >=0.4.1.5
, hashable >=1.3.0.0
, hspec >=2.7.1
, memory >=0.15.0
, mtl >=2.2.2
, murmur3 >=1.0.3
, network >=3.1.1.1
, safe >=0.3.18
Expand All @@ -129,7 +124,6 @@ test-suite spec
main-is: Spec.hs
other-modules:
Haskoin.Address.Bech32Spec
Haskoin.Address.CashAddrSpec
Haskoin.AddressSpec
Haskoin.BlockSpec
Haskoin.Crypto.HashSpec
Expand All @@ -143,33 +137,28 @@ test-suite spec
Haskoin.Transaction.TaprootSpec
Haskoin.TransactionSpec
Haskoin.UtilSpec
Paths_haskoin_core
Paths_bitcoin
hs-source-dirs:
test
build-depends:
HUnit >=1.6.0.0
, QuickCheck >=2.13.2
, aeson >=1.4.6.0
, array >=0.5.4.0
, base >=4.9 && <5
, base16 >=0.3.0.1
, base64 ==0.4.*
, binary >=0.8.8
, bitcoin
, bytes >=0.17
, bytestring >=0.10.10.0
, cereal >=0.5.8
, conduit >=1.3.1.2
, containers >=0.6.2.1
, cryptonite >=0.26
, deepseq >=1.4.4.0
, entropy >=0.4.1.5
, hashable >=1.3.0.0
, haskoin-core
, hspec >=2.7.1
, lens >=4.18.1
, lens-aeson >=1.1
, memory >=0.15.0
, mtl >=2.2.2
, murmur3 >=1.0.3
, network >=3.1.1.1
, safe >=0.3.18
Expand Down
8 changes: 8 additions & 0 deletions fourmolu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
indentation: 4
comma-style: leading
record-brace-space: false
indent-wheres: true
diff-friendly-import-export: true
respectful: true
haddock-style: single-line
newlines-between-decls: 2
30 changes: 12 additions & 18 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,36 @@
name: haskoin-core
name: bitcoin
version: 0.21.2
synopsis: Bitcoin & Bitcoin Cash library for Haskell
description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-core#readme>
synopsis: Bitcoin library for Haskell
description: Please see the README on GitHub at <https://github.com/haskell-bitcoin/bitcoin#readme>
category: Bitcoin, Finance, Network
author:
- Philippe Laprade
- Jean-Pierre Rupp
- Matthew Wraith
maintainer: [email protected]
- Keagan McClelland
maintainer: [email protected]
license: MIT
license-file: LICENSE
homepage: http://github.com/haskoin/haskoin#readme
git: git://github.com/haskoin/haskoin.git
bug-reports: http://github.com/haskoin/haskoin/issues
homepage: http://github.com/haskell-bitcoin/bitcoin#readme
git: git://github.com/haskell-bitcoin/bitcoin.git
bug-reports: http://github.com/haskell-bitcoin/bitcoin/issues
extra-source-files:
- data/*.json
- README.md
- CHANGELOG.md
dependencies:
- aeson >= 1.4.6.0
- array >= 0.5.4.0
- base >=4.9 && <5
- base16 >= 0.3.0.1
- binary >= 0.8.8
- bytes >= 0.17
- bytestring >= 0.10.10.0
- cereal >= 0.5.8
- conduit >= 1.3.1.2
- containers >= 0.6.2.1
- cryptonite >= 0.26
- deepseq >= 1.4.4.0
- entropy >= 0.4.1.5
- hashable >= 1.3.0.0
- hspec >= 2.7.1
- memory >= 0.15.0
- mtl >= 2.2.2
- murmur3 >= 1.0.3
- network >= 3.1.1.1
- QuickCheck >= 2.13.2
Expand All @@ -50,21 +46,19 @@ dependencies:
- vector >= 0.12.1.2
library:
source-dirs: src
other-modules:
Haskoin.Keys.Extended.Internal
other-modules: Haskoin.Keys.Extended.Internal
when:
- condition: false
other-modules: Paths_haskoin_core
other-modules: Paths_bitcoin
tests:
spec:
main: Spec.hs
source-dirs: test
verbatim:
build-tool-depends:
hspec-discover:hspec-discover
build-tool-depends: hspec-discover:hspec-discover
dependencies:
- base64 ^>= 0.4
- haskoin-core
- bitcoin
- hspec >= 2.7.1
- HUnit >= 1.6.0.0
- QuickCheck >= 2.13.2
Expand Down
Loading