csecp256k1

secp256k1 bindings.
Log | Files | Refs | README | LICENSE

commit 8bba77b2535e634a53e16fc7d0ee52d1553bffac
parent b619a1ca7a2cd7ceba244d0b353be0feb9939765
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 24 Feb 2024 21:57:45 +0400

Flake and cabal file tweaks.

Diffstat:
Dcsecp256k1.cabal | 23-----------------------
Mflake.nix | 2+-
Appad-csecp256k1.cabal | 23+++++++++++++++++++++++
Msecp256k1-sys/secp256k1-sys.cabal | 2++
4 files changed, 26 insertions(+), 24 deletions(-)

diff --git a/csecp256k1.cabal b/csecp256k1.cabal @@ -1,23 +0,0 @@ -cabal-version: 3.0 -name: csecp256k1 -version: 0.1.0 -synopsis: secp256k1 bindings -description: secp256k1 bindings. -license: MIT -license-file: LICENSE -author: Jared Tobin -maintainer: jared@jtobin.io -category: Cryptography -build-type: Simple - -common warnings - ghc-options: -Wall - -library - import: warnings - default-language: Haskell2010 - hs-source-dirs: lib - exposed-modules: - build-depends: - base ^>= 4.18.2.0 - diff --git a/flake.nix b/flake.nix @@ -1,5 +1,5 @@ { - description = "csecp256k1"; + description = "ppad-csecp256k1"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; diff --git a/ppad-csecp256k1.cabal b/ppad-csecp256k1.cabal @@ -0,0 +1,23 @@ +cabal-version: 3.0 +name: ppad-csecp256k1 +version: 0.1.0 +synopsis: secp256k1 bindings +description: secp256k1 bindings. +license: MIT +license-file: LICENSE +author: Jared Tobin +maintainer: jared@jtobin.io +category: Cryptography +build-type: Simple + +common warnings + ghc-options: -Wall + +library + import: warnings + default-language: Haskell2010 + hs-source-dirs: lib + exposed-modules: + build-depends: + base ^>= 4.18.2.0 + diff --git a/secp256k1-sys/secp256k1-sys.cabal b/secp256k1-sys/secp256k1-sys.cabal @@ -13,8 +13,10 @@ build-type: Simple library default-language: Haskell2010 hs-source-dirs: lib + exposed-modules: Crypto.Secp256k1.Internal + build-depends: base , bytestring