// swift-tools-version:5.3 import PackageDescription // Version is technically not required here, SPM doesn't check let version = "2.7.3" // 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.7.3" let checksum = "2e0bf15ae74c13e7b16b76e34ba56fe3a44683e35473298225f4a2a2c274329a" 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_13)], // leaving "10.13" as a breadcrumb for searching products: [ .library( name: "Sparkle", targets: ["Sparkle"]) ], targets: [ .binaryTarget( name: "Sparkle", url: url, checksum: checksum ) ] )