{
 "app_id": "org.freedesktop.Sdk.Extension.swift",
 "source_url": "https://raw.githubusercontent.com/AparokshaUI/org.freedesktop.Sdk.Extension.swift/main/org.freedesktop.Sdk.Extension.swift.json",
 "runtime": "org.freedesktop.Sdk",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [],
 "module_count": 3,
 "fetched_at": "2026-09-18T08:40:41.345773+00:00",
 "manifest": {
  "id": "org.freedesktop.Sdk.Extension.swift",
  "branch": "23.08",
  "runtime": "org.freedesktop.Sdk",
  "build-extension": true,
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm16"
  ],
  "runtime-version": "23.08",
  "separate-locales": false,
  "appstream-compose": false,
  "build-options": {
   "prefix": "/usr/lib/sdk/swift",
   "prepend-pkg-config-path": "/usr/lib/sdk/swift/lib/pkgconfig/",
   "prepend-path": "/usr/lib/sdk/swift/bin/:/usr/lib/sdk/llvm14/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm14/lib:/usr/lib/sdk/swift/lib"
  },
  "cleanup": [
   "/share/info",
   "/share/man"
  ],
  "modules": [
   {
    "name": "swift",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://download.swift.org/swift-5.9.2-release/amazonlinux2/swift-5.9.2-RELEASE/swift-5.9.2-RELEASE-amazonlinux2.tar.gz",
      "sha256": "bdfa4db698458963c1dfddff1523a69476626e25910177cc91add143e9130cde"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://download.swift.org/swift-5.9.2-release/amazonlinux2-aarch64/swift-5.9.2-RELEASE/swift-5.9.2-RELEASE-amazonlinux2-aarch64.tar.gz",
      "sha256": "c7393dd0ff3bee8e8ea0ea35f8e0d8da6e2e31efd1cc1fd996403aa8976cfb64"
     }
    ],
    "build-commands": [
     "mkdir -p /usr/lib/sdk/swift",
     "cp -R usr/* /usr/lib/sdk/swift"
    ]
   },
   {
    "name": "SwiftLint",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/realm/SwiftLint/archive/refs/tags/0.53.0.zip",
      "sha256": "2a474c97650ac7951f9545aed03a034cb424a16e982ecc61a98bde11397854c5"
     },
     {
      "type": "git",
      "url": "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
      "disable-shallow-clone": true,
      "commit": "b4f23e24b5a1bff301efc5e70871083ca029ff95",
      "dest": "CollectionConcurrencyKit"
     },
     {
      "type": "git",
      "url": "https://github.com/krzyzanowskim/CryptoSwift.git",
      "disable-shallow-clone": true,
      "commit": "eee9ad754926c40a0f7e73f152357d37b119b7fa",
      "dest": "CryptoSwift"
     },
     {
      "type": "git",
      "url": "https://github.com/jpsim/SourceKitten.git",
      "disable-shallow-clone": true,
      "commit": "b6dc09ee51dfb0c66e042d2328c017483a1a5d56",
      "dest": "SourceKitten"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-argument-parser.git",
      "disable-shallow-clone": true,
      "commit": "4ad606ba5d7673ea60679a61ff867cc1ff8c8e86",
      "dest": "swift-argument-parser"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-syntax.git",
      "disable-shallow-clone": true,
      "commit": "27cd6190ce0628847a3f8050794d6e627ad79c08",
      "dest": "swift-syntax"
     },
     {
      "type": "git",
      "url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
      "disable-shallow-clone": true,
      "commit": "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3",
      "dest": "SwiftyTextTable"
     },
     {
      "type": "git",
      "url": "https://github.com/drmohundro/SWXMLHash.git",
      "disable-shallow-clone": true,
      "commit": "4d0f62f561458cbe1f732171e625f03195151b60",
      "dest": "SWXMLHash"
     },
     {
      "type": "git",
      "url": "https://github.com/jpsim/Yams.git",
      "disable-shallow-clone": true,
      "commit": "f47ba4838c30dbd59998a4e4c87ab620ff959e8a",
      "dest": "Yams"
     },
     {
      "type": "file",
      "path": "swift-lint-setup-offline.sh"
     },
     {
      "type": "file",
      "path": "swiftlint.patch"
     }
    ],
    "build-commands": [
     "./swift-lint-setup-offline.sh",
     "/usr/lib/sdk/swift/bin/swift build -c release --skip-update",
     "strip -s .build/release/swiftlint",
     "cp .build/release/swiftlint /usr/lib/sdk/swift/bin/"
    ]
   },
   {
    "name": "swift-format",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/apple/swift-format/archive/refs/tags/509.0.0.tar.gz",
      "sha256": "3041b470f6de7c156cf5898bc59645073c29def8dea66f9f356681163cae371e"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-argument-parser.git",
      "disable-shallow-clone": true,
      "commit": "c8ed701b513cf5177118a175d85fbbbcd707ab41",
      "dest": "swift-argument-parser"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-syntax.git",
      "disable-shallow-clone": true,
      "commit": "64889f0c732f210a935a0ad7cda38f77f876262d",
      "dest": "swift-syntax"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-system.git",
      "disable-shallow-clone": true,
      "commit": "836bc4557b74fe6d2660218d56e3ce96aff76574",
      "dest": "swift-system"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-tools-support-core.git",
      "disable-shallow-clone": true,
      "commit": "93784c59434dbca8e8a9e4b700d0d6d94551da6a",
      "dest": "swift-tools-support-core"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-markdown.git",
      "disable-shallow-clone": true,
      "commit": "e4f95e2dc23097a1a9a1dfdfe3fe3ee44de77378",
      "dest": "swift-markdown"
     },
     {
      "type": "git",
      "url": "https://github.com/apple/swift-cmark.git",
      "disable-shallow-clone": true,
      "commit": "f218e5d7691f78b55bfa39b367763f4612486c35",
      "dest": "swift-cmark"
     },
     {
      "type": "file",
      "path": "swift-format-setup-offline.sh"
     }
    ],
    "build-commands": [
     "./swift-format-setup-offline.sh",
     "/usr/lib/sdk/swift/bin/swift build -c release --skip-update",
     "strip -s .build/release/swift-format",
     "cp .build/release/swift-format /usr/lib/sdk/swift/bin/"
    ]
   }
  ]
 }
}