-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
51 lines (48 loc) · 1.72 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "Keystore",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
.tvOS(.v13),
.macCatalyst(.v14),
.driverKit(.v20),
],
products: [
.library(
name: "Keystore",
targets: ["Keystore"]),
],
dependencies: [
// Package dependencies
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.8.1"),
.package(url: "https://github.com/Boilertalk/secp256k1.swift.git", from: "0.1.7"),
.package(name: "Scrypt", url: "https://github.com/greymass/swift-scrypt.git", from: "1.0.0"),
.package(url: "https://github.com/MyEtherWallet/bls-eth-swift.git", .upToNextMajor(from: "1.0.0")),
// Test dependencies
.package(url: "https://github.com/Quick/Quick.git", from: "5.0.1"),
.package(url: "https://github.com/Quick/Nimble.git", from: "10.0.0")
],
targets: [
.target(
name: "Keystore",
dependencies: [
.product(name: "CryptoSwift", package: "CryptoSwift"),
.product(name: "secp256k1", package: "secp256k1.swift"),
.product(name: "Scrypt", package: "Scrypt"),
.product(name: "bls-eth-swift", package: "bls-eth-swift"),
],
path: "Sources",
sources: ["Keystore"]),
.testTarget(
name: "KeystoreTests",
dependencies: [
.target(name: "Keystore"),
.product(name: "Quick", package: "Quick"),
.product(name: "Nimble", package: "Nimble"),
],
resources: [.copy("Stubs")])
]
)