// swift-tools-version:5.3 import PackageDescription // Version is technically not required here, SPM doesn't check let version = "2.3.2" // Tag is required to point towards the right asset. SPM requires the tag to follow semantic versioning to be able to resolve it. let tag = "2.3.2" let checksum = "cc8042a914d562d0903d488cbd5e6d1c0d3e8735574ad80cc1d3b2901f791b1d" let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip" let package = Package( name: "Sparkle", platforms: [.macOS(.v10_11)], products: [ .library( name: "Sparkle", targets: ["Sparkle"]) ], targets: [ .binaryTarget( name: "Sparkle", url: url, checksum: checksum ) ] )