[Add] YLCategory-MacOS 1.1.3
[CocoaPods.git] / Specs / a / 1 / b / K1 / 0.4.0 / K1.podspec.json
blob3a6f9e140ad1be394fdaec053128acac24dc2d67
2   "name": "K1",
3   "version": "0.4.0",
4   "summary": "K1 is Swift wrapper around libsecp256k1 (bitcoin-core/secp256k1), offering ECDSA, Schnorr (BIP340) and ECDH features.",
5   "description": "K1 is a Swift package that wraps the libsecp256k1 library, offering a Swift-friendly API for ECDSA, Schnorr (BIP340), and ECDH features, with performance and security as primary goals.",
6   "homepage": "https://github.com/yllfejziu/K1",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Yll Fejziu": "yllfejziu@gmail.com"
13   },
14   "source": {
15     "git": "https://github.com/yllfejziu/K1.git",
16     "branch": "main",
17     "submodules": true
18   },
19   "platforms": {
20     "ios": "13.0"
21   },
22   "swift_versions": "5.0",
23   "preserve_paths": "Sources/**/*",
24   "pod_target_xcconfig": {
25     "SWIFT_INCLUDE_PATHS": "${PODS_ROOT}",
26     "HEADER_SEARCH_PATHS": "\"${PODS_ROOT}/Sources/secp256k1/libsecp256k1\"",
27     "GCC_PREPROCESSOR_DEFINITIONS": "ECMULT_WINDOW_SIZE=15 ECMULT_GEN_PREC_BITS=4 ENABLE_MODULE_ECDH=1 ENABLE_MODULE_RECOVERY=1 ENABLE_MODULE_SCHNORRSIG=1 ENABLE_MODULE_EXTRAKEYS=1",
28     "SWIFT_ACTIVE_COMPILATION_CONDITIONS": "CRYPTO_IN_SWIFTPM_FORCE_BUILD_API",
29     "GENERATE_INFOPLIST_FILE": "YES",
30     "ENABLE_USER_SCRIPT_SANDBOXING": "NO"
31   },
32   "source_files": [
33     "Sources/secp256k1/libsecp256k1/{src,include,contrib}/*.{h,c}",
34     "Sources/secp256k1/libsecp256k1/src/modules/{ecdh}/*.{h,c}",
35     "Sources/K1/**/*.swift"
36   ],
37   "public_header_files": "Sources/secp256k1/libsecp256k1/include/*.h",
38   "private_header_files": [
39     "Sources/secp256k1/libsecp256k1/*.h",
40     "Sources/secp256k1/libsecp256k1/{contrib,src}/*.h",
41     "Sources/secp256k1/libsecp256k1/src/modules/{ecdh}/*.h"
42   ],
43   "exclude_files": [
44     "Sources/secp256k1/libsecp256k1/src/*test*.{c,h}",
45     "Sources/secp256k1/libsecp256k1/src/gen_context.c",
46     "Sources/secp256k1/libsecp256k1/src/*bench*.{c,h}",
47     "Sources/secp256k1/libsecp256k1/src/modules/**/*test*.{c,h}",
48     "Sources/secp256k1/libsecp256k1/src/*precompute_ecmult*"
49   ],
50   "swift_version": "5.0"