mirror of
https://github.com/mollyim/argon2.git
synced 2025-05-12 20:50:36 +01:00
55 lines
1.9 KiB
Ruby
55 lines
1.9 KiB
Ruby
#
|
|
# Be sure to run `pod lib lint Argon2.podspec' to ensure this is a
|
|
# valid spec before submitting.
|
|
#
|
|
# Any lines starting with a # are optional, but their use is encouraged
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "Argon2"
|
|
s.version = "1.3.0"
|
|
s.summary = "A Swift wrapper around the reference Argon2 implementation."
|
|
|
|
s.description = <<-DESC
|
|
A Swift wrapper around the reference Argon2 implementation.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/signalapp/Argon2"
|
|
s.license = 'GPLv3'
|
|
s.author = { "iOS Team" => "ios@signal.org" }
|
|
s.source = { git: "https://github.com/signalapp/Argon2.git", tag: s.version.to_s, submodules: true }
|
|
s.social_media_url = 'https://twitter.com/signalapp'
|
|
|
|
s.platform = :ios, '10.0'
|
|
s.requires_arc = true
|
|
|
|
s.source_files =
|
|
'ios/src/**/*.swift',
|
|
'phc-winner-argon2/src/argon2.c',
|
|
'phc-winner-argon2/src/core.{c,h}',
|
|
'phc-winner-argon2/src/thread.{c,h}',
|
|
'phc-winner-argon2/src/encoding.{c,h}',
|
|
'phc-winner-argon2/src/blake2/blake2.h',
|
|
'phc-winner-argon2/src/blake2/blake2b.c',
|
|
'phc-winner-argon2/src/blake2/blake2-impl.h',
|
|
'phc-winner-argon2/include/**/*.h'
|
|
s.osx.source_files =
|
|
'phc-winner-argon2/src/opt.c',
|
|
'phc-winner-argon2/src/blake2/blamka-round-opt.h'
|
|
s.ios.source_files =
|
|
'phc-winner-argon2/src/ref.c',
|
|
'phc-winner-argon2/src/blake2/blamka-round-ref.h'
|
|
s.tvos.source_files =
|
|
'phc-winner-argon2/src/ref.c',
|
|
'phc-winner-argon2/src/blake2/blamka-round-ref.h'
|
|
s.watchos.source_files =
|
|
'phc-winner-argon2/src/ref.c',
|
|
'phc-winner-argon2/src/blake2/blamka-round-ref.h'
|
|
|
|
s.public_header_files = 'phc-winner-argon2/include/**/*.h'
|
|
|
|
s.test_spec 'Tests' do |test_spec|
|
|
test_spec.source_files = 'ios/tests/**/*.swift'
|
|
end
|
|
end
|