mirror of
https://github.com/ilyakooo0/secp256k1-haskell.git
synced 2024-09-11 12:25:38 +03:00
Add cabal file and bump LTS Haskell
This commit is contained in:
parent
4fcaca3a20
commit
ff13d39de6
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,4 +17,3 @@ cabal.sandbox.config
|
||||
*.hp
|
||||
.stack-work
|
||||
TAGS
|
||||
secp256k1-haskell.cabal
|
||||
|
104
secp256k1-haskell.cabal
Normal file
104
secp256k1-haskell.cabal
Normal file
@ -0,0 +1,104 @@
|
||||
cabal-version: 1.12
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: 0b75b1185f390c0f03f09dfc8e18349a5bce92770b10888fc121279d4fa9953f
|
||||
|
||||
name: secp256k1-haskell
|
||||
version: 0.2.2
|
||||
synopsis: Bindings for secp256k1 library from Bitcoin Core
|
||||
description: Sign and verify signatures using the very fast C secp256k1 library from Pieter Wuille. Has Haskell types and abstractions for keys and signatures.
|
||||
category: Crypto
|
||||
homepage: http://github.com/haskoin/secp256k1-haskell#readme
|
||||
bug-reports: https://github.com/haskoin/secp256k1-haskell.git/issues
|
||||
author: Jean-Pierre Rupp
|
||||
maintainer: jprupp@protonmail.ch
|
||||
copyright: (c) 2017 Jean-Pierre Rupp
|
||||
license: PublicDomain
|
||||
license-file: UNLICENSE
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
CHANGELOG.md
|
||||
README.md
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/haskoin/secp256k1-haskell.git
|
||||
|
||||
flag ecdh
|
||||
description: Enable (experimental) ECDH APIs
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
flag negate
|
||||
description: Enable tweak negate
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
flag recovery
|
||||
description: Enable signature key recovery APIs
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
flag schnorr
|
||||
description: Enable BIP-340 (Schnorr) APIs
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Crypto.Secp256k1
|
||||
Crypto.Secp256k1.Internal
|
||||
other-modules:
|
||||
Paths_secp256k1_haskell
|
||||
hs-source-dirs:
|
||||
src
|
||||
pkgconfig-depends:
|
||||
libsecp256k1
|
||||
build-depends:
|
||||
QuickCheck
|
||||
, base >=4.8 && <5
|
||||
, base16-bytestring
|
||||
, bytestring
|
||||
, cereal
|
||||
, deepseq
|
||||
, entropy
|
||||
, hashable
|
||||
, string-conversions
|
||||
if flag(ecdh)
|
||||
cpp-options: -DECDH
|
||||
if flag(schnorr)
|
||||
cpp-options: -DSCHNORR
|
||||
if flag(recovery)
|
||||
cpp-options: -DRECOVERY
|
||||
if flag(negate)
|
||||
cpp-options: -DNEGATE
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
other-modules:
|
||||
Crypto.Secp256k1.InternalSpec
|
||||
Crypto.Secp256k1Spec
|
||||
Paths_secp256k1_haskell
|
||||
hs-source-dirs:
|
||||
test
|
||||
build-depends:
|
||||
HUnit
|
||||
, QuickCheck
|
||||
, base >=4.8 && <5
|
||||
, base16-bytestring
|
||||
, bytestring
|
||||
, cereal
|
||||
, deepseq
|
||||
, entropy
|
||||
, hashable
|
||||
, hspec
|
||||
, mtl
|
||||
, secp256k1-haskell
|
||||
, string-conversions
|
||||
default-language: Haskell2010
|
||||
build-tool-depends: hspec-discover:hspec-discover
|
@ -1,4 +1,4 @@
|
||||
resolver: lts-14.20
|
||||
resolver: lts-15.11
|
||||
nix:
|
||||
packages:
|
||||
- secp256k1
|
||||
|
@ -6,7 +6,7 @@
|
||||
packages: []
|
||||
snapshots:
|
||||
- completed:
|
||||
size: 524154
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/20.yaml
|
||||
sha256: 2f5099f69ddb6abfe64400fe1e6a604e8e628f55e6837211cd70a81eb0a8fa4d
|
||||
original: lts-14.20
|
||||
size: 494638
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/11.yaml
|
||||
sha256: 5747328cdcbb8fe9c96fc048b5566167c80dd176a41b52d3b363058e3cc1dc5d
|
||||
original: lts-15.11
|
||||
|
Loading…
Reference in New Issue
Block a user