session-ios-curve-25519-kit/SessionCurve25519Kit.podspec

30 lines
1.6 KiB
Ruby

Pod::Spec.new do |spec|
spec.name = 'SessionCurve25519Kit'
spec.version = '2.1.3'
spec.license = { :type => 'GPLv3' }
spec.homepage = 'https://github.com/loki-project/session-ios-curve-25519-kit'
spec.preserve_path = 'Sources/ed25519/**/*.{c,h}'
spec.authors = { 'Niels Andriesse' => 'niels@loki.network' }
spec.summary = 'Key agreement (curve25519) and signing (ed25519), all with curve25519 keys.'
spec.description = <<-DESC
Curve25519 is a fast and secure curve used for key agreement. Unfortunately, it does not support signing out of the box. This pod translates the point curves to do ed25519 signing with curve25519 keys.
DESC
spec.source = { :git => 'https://github.com/loki-project/session-ios-curve-25519-kit.git', :tag => "#{spec.version}" }
spec.source_files = 'Classes/*.{h,m,swift}', 'Sources/Curve25519/curve25519-donna.c', 'Sources/ed25519/*.{c,h}', 'Sources/ed25519/additions/*.{c,h}', 'Sources/ed25519/nacl_sha512/*.{c,h}', 'Sources/ed25519/nacl_includes/*.{c,h}', 'Private/*.{h,m}'
spec.public_header_files = 'Classes/**/*.h'
#spec.private_header_files = 'Sources/ed25519/nacl_includes/*.h','Sources/ed25519/additions/*.h', 'Sources/ed25519/nacl_sha512/*.h'
spec.framework = 'Security'
spec.public_header_files = "Classes/*.h"
spec.requires_arc = true
spec.ios.deployment_target = "10.0"
spec.dependency 'CocoaLumberjack'
spec.dependency 'SessionCoreKit', '~> 1.0.0'
spec.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'BuildTests/BuildTestsTests/**/*.{h,m,swift}'
end
end