-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI attempt 2 * Revise cardano-crypto-class * Don't check out builder any more * Small fixes for the builder * later compiler * Try this * More new compiler * Try multiline again * Add some extra config for IFD * Tweaks * Add nixbuild.net as a substituter * Major flake restructuring * Just plutus-core for now * Doc * Comments * Refactor * Bump hackage.nix and drop vector workaround * Fix action version
- Loading branch information
Showing
10 changed files
with
362 additions
and
89 deletions.
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
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
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
timestamp = 2022-10-17T00:00:00Z | ||
github = { repo = "input-output-hk/cardano-base", rev = "4ef911eb7a4d628c938312ff4c92e7c0bb8c83a1" } | ||
subdir = 'cardano-crypto-class' | ||
|
||
[[revisions]] | ||
number = 1 | ||
timestamp = 2023-03-15T16:30:48Z |
139 changes: 139 additions & 0 deletions
139
_sources/cardano-crypto-class/2.0.0.1/revisions/1.cabal
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,139 @@ | ||
cabal-version: 2.2 | ||
name: cardano-crypto-class | ||
version: 2.0.0.1 | ||
synopsis: | ||
Type classes abstracting over cryptography primitives for Cardano | ||
|
||
description: | ||
Type classes abstracting over cryptography primitives for Cardano | ||
|
||
license: Apache-2.0 | ||
license-files: | ||
LICENSE | ||
NOTICE | ||
|
||
author: IOHK | ||
maintainer: [email protected] | ||
copyright: 2019-2021 IOHK | ||
category: Currency | ||
build-type: Simple | ||
extra-source-files: README.md | ||
|
||
flag development | ||
description: Disable `-Werror` | ||
default: False | ||
manual: True | ||
|
||
flag secp256k1-support | ||
description: Enable support for functions from libsecp256k1. Requires | ||
a recent libsecp256k1 with support for Schnorr signatures. | ||
default: True | ||
manual: True | ||
|
||
common base { build-depends: base >= 4.14 && < 4.17 } | ||
|
||
common project-config | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-Wall -Wcompat -Wincomplete-record-updates | ||
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints | ||
-Wunused-packages | ||
|
||
library | ||
import: base, project-config | ||
hs-source-dirs: src | ||
exposed-modules: | ||
Cardano.Crypto.DSIGN | ||
Cardano.Crypto.DSIGN.Class | ||
Cardano.Crypto.DSIGN.Ed25519 | ||
Cardano.Crypto.DSIGN.Ed448 | ||
Cardano.Crypto.DSIGN.Mock | ||
Cardano.Crypto.DSIGN.NeverUsed | ||
Cardano.Crypto.Hash | ||
Cardano.Crypto.Hash.Blake2b | ||
Cardano.Crypto.Hash.Class | ||
Cardano.Crypto.Hash.Keccak256 | ||
Cardano.Crypto.Hash.NeverUsed | ||
Cardano.Crypto.Hash.SHA256 | ||
Cardano.Crypto.Hash.SHA3_256 | ||
Cardano.Crypto.Hash.Short | ||
Cardano.Crypto.Init | ||
Cardano.Crypto.KES | ||
Cardano.Crypto.KES.Class | ||
Cardano.Crypto.KES.CompactSingle | ||
Cardano.Crypto.KES.CompactSum | ||
Cardano.Crypto.KES.Mock | ||
Cardano.Crypto.KES.NeverUsed | ||
Cardano.Crypto.KES.Simple | ||
Cardano.Crypto.KES.Single | ||
Cardano.Crypto.KES.Sum | ||
Cardano.Crypto.Libsodium | ||
Cardano.Crypto.Libsodium.C | ||
Cardano.Crypto.Libsodium.Constants | ||
Cardano.Crypto.Libsodium.Hash | ||
Cardano.Crypto.Libsodium.Init | ||
Cardano.Crypto.Libsodium.Memory | ||
Cardano.Crypto.Libsodium.Memory.Internal | ||
Cardano.Crypto.Libsodium.MLockedBytes | ||
Cardano.Crypto.Libsodium.MLockedBytes.Internal | ||
Cardano.Crypto.Libsodium.UnsafeC | ||
Cardano.Crypto.PinnedSizedBytes | ||
Cardano.Crypto.Seed | ||
Cardano.Crypto.Util | ||
Cardano.Crypto.VRF | ||
Cardano.Crypto.VRF.Class | ||
Cardano.Crypto.VRF.Mock | ||
Cardano.Crypto.VRF.NeverUsed | ||
Cardano.Crypto.VRF.Simple | ||
Cardano.Foreign | ||
|
||
other-modules: | ||
Cardano.Crypto.PackedBytes | ||
|
||
build-depends: | ||
, aeson | ||
, base | ||
, base16-bytestring >=1 | ||
, bytestring | ||
, cardano-binary | ||
, cardano-strict-containers | ||
, cryptonite | ||
, deepseq | ||
, heapwords | ||
, memory | ||
, nothunks | ||
, primitive | ||
, serialise | ||
, template-haskell | ||
, th-compat | ||
, text | ||
, transformers | ||
, vector | ||
|
||
if impl(ghc < 9.0.0) | ||
build-depends: | ||
integer-gmp | ||
|
||
pkgconfig-depends: libsodium -any | ||
|
||
if flag(secp256k1-support) | ||
exposed-modules: | ||
Cardano.Crypto.DSIGN.EcdsaSecp256k1 | ||
Cardano.Crypto.DSIGN.SchnorrSecp256k1 | ||
Cardano.Crypto.SECP256K1.Constants | ||
Cardano.Crypto.SECP256K1.C | ||
pkgconfig-depends: libsecp256k1 -any | ||
cpp-options: -DSECP256K1_ENABLED | ||
|
||
test-suite test-memory-example | ||
import: base, project-config | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: memory-example | ||
main-is: Main.hs | ||
build-depends: | ||
, base | ||
, bytestring | ||
, cardano-crypto-class | ||
|
||
if (os(linux) || os(osx)) | ||
build-depends: unix |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.