swiftPackages: update swiftpm2nix generated files

+56 -562
+2 -1
pkgs/development/compilers/swift/sourcekit-lsp/default.nix
··· 3 , callPackage 4 , swift 5 , swiftpm 6 , Foundation 7 , XCTest 8 , sqlite ··· 12 }: 13 let 14 sources = callPackage ../sources.nix { }; 15 - generated = callPackage ./generated { }; # Generated by swiftpm2nix. 16 17 # On Darwin, we only want ncurses in the linker search path, because headers 18 # are part of libsystem. Adding its headers to the search path causes strange
··· 3 , callPackage 4 , swift 5 , swiftpm 6 + , swiftpm2nix 7 , Foundation 8 , XCTest 9 , sqlite ··· 13 }: 14 let 15 sources = callPackage ../sources.nix { }; 16 + generated = swiftpm2nix.helpers ./generated; 17 18 # On Darwin, we only want ncurses in the linker search path, because headers 19 # are part of libsystem. Adding its headers to the search path causes strange
-97
pkgs/development/compilers/swift/sourcekit-lsp/generated/Package.resolved
··· 1 - { 2 - "object": { 3 - "pins": [ 4 - { 5 - "package": "IndexStoreDB", 6 - "repositoryURL": "https://github.com/apple/indexstore-db.git", 7 - "state": { 8 - "branch": "main", 9 - "revision": "2ff1c0491248cd958a2ac05da9aa613eb27a8eeb", 10 - "version": null 11 - } 12 - }, 13 - { 14 - "package": "swift-argument-parser", 15 - "repositoryURL": "https://github.com/apple/swift-argument-parser.git", 16 - "state": { 17 - "branch": null, 18 - "revision": "e394bf350e38cb100b6bc4172834770ede1b7232", 19 - "version": "1.0.3" 20 - } 21 - }, 22 - { 23 - "package": "swift-collections", 24 - "repositoryURL": "https://github.com/apple/swift-collections.git", 25 - "state": { 26 - "branch": null, 27 - "revision": "f504716c27d2e5d4144fa4794b12129301d17729", 28 - "version": "1.0.3" 29 - } 30 - }, 31 - { 32 - "package": "swift-crypto", 33 - "repositoryURL": "https://github.com/apple/swift-crypto.git", 34 - "state": { 35 - "branch": null, 36 - "revision": "ddb07e896a2a8af79512543b1c7eb9797f8898a5", 37 - "version": "1.1.7" 38 - } 39 - }, 40 - { 41 - "package": "swift-driver", 42 - "repositoryURL": "https://github.com/apple/swift-driver.git", 43 - "state": { 44 - "branch": "main", 45 - "revision": "6c71f58f89d65eb79f1f6b32a707ddc39cec5ad6", 46 - "version": null 47 - } 48 - }, 49 - { 50 - "package": "llbuild", 51 - "repositoryURL": "https://github.com/apple/swift-llbuild.git", 52 - "state": { 53 - "branch": "main", 54 - "revision": "d99c31577c60a247b065d29289a44fbdd141e2be", 55 - "version": null 56 - } 57 - }, 58 - { 59 - "package": "SwiftPM", 60 - "repositoryURL": "https://github.com/apple/swift-package-manager.git", 61 - "state": { 62 - "branch": "main", 63 - "revision": "f04ad469a6053d713c2fb854fbeb27ee3e6c9dee", 64 - "version": null 65 - } 66 - }, 67 - { 68 - "package": "swift-system", 69 - "repositoryURL": "https://github.com/apple/swift-system.git", 70 - "state": { 71 - "branch": null, 72 - "revision": "836bc4557b74fe6d2660218d56e3ce96aff76574", 73 - "version": "1.1.1" 74 - } 75 - }, 76 - { 77 - "package": "swift-tools-support-core", 78 - "repositoryURL": "https://github.com/apple/swift-tools-support-core.git", 79 - "state": { 80 - "branch": "main", 81 - "revision": "0220fc394f2ae820eeacd754fb2c7ce211e9979e", 82 - "version": null 83 - } 84 - }, 85 - { 86 - "package": "Yams", 87 - "repositoryURL": "https://github.com/jpsim/Yams.git", 88 - "state": { 89 - "branch": null, 90 - "revision": "01835dc202670b5bb90d07f3eae41867e9ed29f6", 91 - "version": "5.0.1" 92 - } 93 - } 94 - ] 95 - }, 96 - "version": 1 97 - }
···
+13 -69
pkgs/development/compilers/swift/sourcekit-lsp/generated/default.nix
··· 1 # This file was generated by swiftpm2nix. 2 - { lib, fetchgit }: rec { 3 - sources = { 4 - "indexstore-db" = fetchgit { 5 - url = "https://github.com/apple/indexstore-db.git"; 6 - rev = "2ff1c0491248cd958a2ac05da9aa613eb27a8eeb"; 7 - sha256 = "005vvkrncgpryzrn0hzgsapflpyga0n7152b2b565wislpx90cwl"; 8 - }; 9 - "swift-argument-parser" = fetchgit { 10 - url = "https://github.com/apple/swift-argument-parser.git"; 11 - rev = "e394bf350e38cb100b6bc4172834770ede1b7232"; 12 - sha256 = "1jph9w7lk9nr20fsv2c8p4hisx3dda817fh7pybd0r0j1jwa9nmw"; 13 - }; 14 - "swift-collections" = fetchgit { 15 - url = "https://github.com/apple/swift-collections.git"; 16 - rev = "f504716c27d2e5d4144fa4794b12129301d17729"; 17 - sha256 = "0l0pv16zil3n7fac7mdf5qxklxr5rwiig5bixgca1ybq7arlnv7i"; 18 - }; 19 - "swift-crypto" = fetchgit { 20 - url = "https://github.com/apple/swift-crypto.git"; 21 - rev = "ddb07e896a2a8af79512543b1c7eb9797f8898a5"; 22 - sha256 = "020b8q4ss2k7a65r5dgh59z40i6sn7ij1allxkh8c8a9d0jzn313"; 23 - }; 24 - "swift-driver" = fetchgit { 25 - url = "https://github.com/apple/swift-driver.git"; 26 - rev = "6c71f58f89d65eb79f1f6b32a707ddc39cec5ad6"; 27 - sha256 = "0nblvs47kh2hl1l70rmrbablx4m5i27w8l3dfrv2h7zccqr8jl0a"; 28 - }; 29 - "swift-llbuild" = fetchgit { 30 - url = "https://github.com/apple/swift-llbuild.git"; 31 - rev = "d99c31577c60a247b065d29289a44fbdd141e2be"; 32 - sha256 = "1bvqbj8ji72ilh3ah2mw411jwzbbjxjyasa6sg4b8da0kqia4021"; 33 - }; 34 - "swift-package-manager" = fetchgit { 35 - url = "https://github.com/apple/swift-package-manager.git"; 36 - rev = "f04ad469a6053d713c2fb854fbeb27ee3e6c9dee"; 37 - sha256 = "16qvk14f1l0hf5bphx6qk51nn9d36a2iw5v3sgkvmqi8h7l4kqg5"; 38 - }; 39 - "swift-system" = fetchgit { 40 - url = "https://github.com/apple/swift-system.git"; 41 - rev = "836bc4557b74fe6d2660218d56e3ce96aff76574"; 42 - sha256 = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 43 - }; 44 - "swift-tools-support-core" = fetchgit { 45 - url = "https://github.com/apple/swift-tools-support-core.git"; 46 - rev = "0220fc394f2ae820eeacd754fb2c7ce211e9979e"; 47 - sha256 = "1ryd5iyx5mfv8bhyq3bf08z7nv886chzzqnmwaj16r2cry9yml7c"; 48 - }; 49 - "Yams" = fetchgit { 50 - url = "https://github.com/jpsim/Yams.git"; 51 - rev = "01835dc202670b5bb90d07f3eae41867e9ed29f6"; 52 - sha256 = "11abhcfkmqm3cmh7vp7rqzvxd1zj02j2866a2pp6v9m89456xb76"; 53 - }; 54 }; 55 - configure = '' 56 - mkdir -p .build/checkouts 57 - ln -sf ${./Package.resolved} ./Package.resolved 58 - install -m 0600 ${./workspace-state.json} ./.build/workspace-state.json 59 - '' 60 - + lib.concatStrings (lib.mapAttrsToList (name: src: '' 61 - ln -s '${src}' '.build/checkouts/${name}' 62 - '') sources) 63 - + '' 64 - # Helper that makes a swiftpm dependency mutable by copying the source. 65 - swiftpmMakeMutable() { 66 - local orig="$(readlink .build/checkouts/$1)" 67 - rm .build/checkouts/$1 68 - cp -r "$orig" .build/checkouts/$1 69 - chmod -R u+w .build/checkouts/$1 70 - } 71 - ''; 72 }
··· 1 # This file was generated by swiftpm2nix. 2 + { 3 + workspaceStateFile = ./workspace-state.json; 4 + hashes = { 5 + "indexstore-db" = "005vvkrncgpryzrn0hzgsapflpyga0n7152b2b565wislpx90cwl"; 6 + "swift-argument-parser" = "1jph9w7lk9nr20fsv2c8p4hisx3dda817fh7pybd0r0j1jwa9nmw"; 7 + "swift-collections" = "0l0pv16zil3n7fac7mdf5qxklxr5rwiig5bixgca1ybq7arlnv7i"; 8 + "swift-crypto" = "020b8q4ss2k7a65r5dgh59z40i6sn7ij1allxkh8c8a9d0jzn313"; 9 + "swift-driver" = "0nblvs47kh2hl1l70rmrbablx4m5i27w8l3dfrv2h7zccqr8jl0a"; 10 + "swift-llbuild" = "1bvqbj8ji72ilh3ah2mw411jwzbbjxjyasa6sg4b8da0kqia4021"; 11 + "swift-package-manager" = "16qvk14f1l0hf5bphx6qk51nn9d36a2iw5v3sgkvmqi8h7l4kqg5"; 12 + "swift-system" = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 13 + "swift-tools-support-core" = "1ryd5iyx5mfv8bhyq3bf08z7nv886chzzqnmwaj16r2cry9yml7c"; 14 + "Yams" = "11abhcfkmqm3cmh7vp7rqzvxd1zj02j2866a2pp6v9m89456xb76"; 15 }; 16 }
+2 -1
pkgs/development/compilers/swift/swift-docc/default.nix
··· 3 , callPackage 4 , swift 5 , swiftpm 6 , Foundation 7 , XCTest 8 , CryptoKit ··· 10 }: 11 let 12 sources = callPackage ../sources.nix { }; 13 - generated = callPackage ./generated { }; # Generated by swiftpm2nix. 14 in 15 stdenv.mkDerivation { 16 pname = "swift-docc";
··· 3 , callPackage 4 , swift 5 , swiftpm 6 + , swiftpm2nix 7 , Foundation 8 , XCTest 9 , CryptoKit ··· 11 }: 12 let 13 sources = callPackage ../sources.nix { }; 14 + generated = swiftpm2nix.helpers ./generated; 15 in 16 stdenv.mkDerivation { 17 pname = "swift-docc";
-88
pkgs/development/compilers/swift/swift-docc/generated/Package.resolved
··· 1 - { 2 - "object": { 3 - "pins": [ 4 - { 5 - "package": "swift-argument-parser", 6 - "repositoryURL": "https://github.com/apple/swift-argument-parser", 7 - "state": { 8 - "branch": null, 9 - "revision": "d2930e8fcf9c33162b9fcc1d522bc975e2d4179b", 10 - "version": "1.0.1" 11 - } 12 - }, 13 - { 14 - "package": "cmark-gfm", 15 - "repositoryURL": "https://github.com/apple/swift-cmark.git", 16 - "state": { 17 - "branch": "release/5.7-gfm", 18 - "revision": "792c1c3326327515ce9bf64c44196b7f4daab9a6", 19 - "version": null 20 - } 21 - }, 22 - { 23 - "package": "swift-crypto", 24 - "repositoryURL": "https://github.com/apple/swift-crypto.git", 25 - "state": { 26 - "branch": null, 27 - "revision": "9680b7251cd2be22caaed8f1468bd9e8915a62fb", 28 - "version": "1.1.2" 29 - } 30 - }, 31 - { 32 - "package": "SwiftDocCPlugin", 33 - "repositoryURL": "https://github.com/apple/swift-docc-plugin", 34 - "state": { 35 - "branch": null, 36 - "revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6", 37 - "version": "1.0.0" 38 - } 39 - }, 40 - { 41 - "package": "SymbolKit", 42 - "repositoryURL": "https://github.com/apple/swift-docc-symbolkit", 43 - "state": { 44 - "branch": "release/5.7", 45 - "revision": "8682202025906dce29a8b04f9263f40ba87b89d8", 46 - "version": null 47 - } 48 - }, 49 - { 50 - "package": "CLMDB", 51 - "repositoryURL": "https://github.com/apple/swift-lmdb.git", 52 - "state": { 53 - "branch": "release/5.7", 54 - "revision": "6ea45a7ebf6d8f72bd299dfcc3299e284bbb92ee", 55 - "version": null 56 - } 57 - }, 58 - { 59 - "package": "swift-markdown", 60 - "repositoryURL": "https://github.com/apple/swift-markdown.git", 61 - "state": { 62 - "branch": "release/5.7", 63 - "revision": "d6cd065a7e4b6c3fad615dcd39890e095a2f63a2", 64 - "version": null 65 - } 66 - }, 67 - { 68 - "package": "swift-nio", 69 - "repositoryURL": "https://github.com/apple/swift-nio.git", 70 - "state": { 71 - "branch": null, 72 - "revision": "1d425b0851ffa2695d488cce1d68df2539f42500", 73 - "version": "2.31.2" 74 - } 75 - }, 76 - { 77 - "package": "swift-nio-ssl", 78 - "repositoryURL": "https://github.com/apple/swift-nio-ssl.git", 79 - "state": { 80 - "branch": null, 81 - "revision": "2e74773972bd6254c41ceeda827f229bccbf1c0f", 82 - "version": "2.15.0" 83 - } 84 - } 85 - ] 86 - }, 87 - "version": 1 88 - }
···
+12 -64
pkgs/development/compilers/swift/swift-docc/generated/default.nix
··· 1 # This file was generated by swiftpm2nix. 2 - { lib, fetchgit }: rec { 3 - sources = { 4 - "swift-argument-parser" = fetchgit { 5 - url = "https://github.com/apple/swift-argument-parser"; 6 - rev = "d2930e8fcf9c33162b9fcc1d522bc975e2d4179b"; 7 - sha256 = "070gip241dgn3d0nxgwxva4vp6kbnf11g01q5yaq6kmflcmz58f2"; 8 - }; 9 - "swift-cmark" = fetchgit { 10 - url = "https://github.com/apple/swift-cmark.git"; 11 - rev = "792c1c3326327515ce9bf64c44196b7f4daab9a6"; 12 - sha256 = "0xfchdgls3070z16in8ks69y8fpiajmyk7lmp5h7ym7164isa6bb"; 13 - }; 14 - "swift-crypto" = fetchgit { 15 - url = "https://github.com/apple/swift-crypto.git"; 16 - rev = "9680b7251cd2be22caaed8f1468bd9e8915a62fb"; 17 - sha256 = "0h054rq14jyg94aiymmp37vqz60a13dlczp5g09pln724j4ypv92"; 18 - }; 19 - "swift-docc-plugin" = fetchgit { 20 - url = "https://github.com/apple/swift-docc-plugin"; 21 - rev = "3303b164430d9a7055ba484c8ead67a52f7b74f6"; 22 - sha256 = "11d6nhi139yzk1lxxrixsbgyj1bnvmh40wj30y725q83nqq49ljh"; 23 - }; 24 - "swift-docc-symbolkit" = fetchgit { 25 - url = "https://github.com/apple/swift-docc-symbolkit"; 26 - rev = "8682202025906dce29a8b04f9263f40ba87b89d8"; 27 - sha256 = "14hb2wc09hisf2r2yny17z28z0m58cf4lnqaczad2x2hk4s1iayi"; 28 - }; 29 - "swift-lmdb" = fetchgit { 30 - url = "https://github.com/apple/swift-lmdb.git"; 31 - rev = "6ea45a7ebf6d8f72bd299dfcc3299e284bbb92ee"; 32 - sha256 = "1m5y6x2vs1wflcv2c57rx87gh12sy0hkwy5iy9inxmda2mcs8qcb"; 33 - }; 34 - "swift-markdown" = fetchgit { 35 - url = "https://github.com/apple/swift-markdown.git"; 36 - rev = "d6cd065a7e4b6c3fad615dcd39890e095a2f63a2"; 37 - sha256 = "09270bfrwlp904cma29hsbhr1p25v8kwgvhcfi7lg2av7aaknd97"; 38 - }; 39 - "swift-nio" = fetchgit { 40 - url = "https://github.com/apple/swift-nio.git"; 41 - rev = "1d425b0851ffa2695d488cce1d68df2539f42500"; 42 - sha256 = "04bvay94b34ynmlvgyl9a7f431l3cf8k2zr483spv8mvyh1hxiqn"; 43 - }; 44 - "swift-nio-ssl" = fetchgit { 45 - url = "https://github.com/apple/swift-nio-ssl.git"; 46 - rev = "2e74773972bd6254c41ceeda827f229bccbf1c0f"; 47 - sha256 = "1ak4aldilmz0pnfgbwq1x4alr38nfyvx2pz7p2vi2plf82da80g5"; 48 - }; 49 }; 50 - configure = '' 51 - mkdir -p .build/checkouts 52 - ln -sf ${./Package.resolved} ./Package.resolved 53 - install -m 0600 ${./workspace-state.json} ./.build/workspace-state.json 54 - '' 55 - + lib.concatStrings (lib.mapAttrsToList (name: src: '' 56 - ln -s '${src}' '.build/checkouts/${name}' 57 - '') sources) 58 - + '' 59 - # Helper that makes a swiftpm dependency mutable by copying the source. 60 - swiftpmMakeMutable() { 61 - local orig="$(readlink .build/checkouts/$1)" 62 - rm .build/checkouts/$1 63 - cp -r "$orig" .build/checkouts/$1 64 - chmod -R u+w .build/checkouts/$1 65 - } 66 - ''; 67 }
··· 1 # This file was generated by swiftpm2nix. 2 + { 3 + workspaceStateFile = ./workspace-state.json; 4 + hashes = { 5 + "swift-argument-parser" = "070gip241dgn3d0nxgwxva4vp6kbnf11g01q5yaq6kmflcmz58f2"; 6 + "swift-cmark" = "0xfchdgls3070z16in8ks69y8fpiajmyk7lmp5h7ym7164isa6bb"; 7 + "swift-crypto" = "0h054rq14jyg94aiymmp37vqz60a13dlczp5g09pln724j4ypv92"; 8 + "swift-docc-plugin" = "11d6nhi139yzk1lxxrixsbgyj1bnvmh40wj30y725q83nqq49ljh"; 9 + "swift-docc-symbolkit" = "14hb2wc09hisf2r2yny17z28z0m58cf4lnqaczad2x2hk4s1iayi"; 10 + "swift-lmdb" = "1m5y6x2vs1wflcv2c57rx87gh12sy0hkwy5iy9inxmda2mcs8qcb"; 11 + "swift-markdown" = "09270bfrwlp904cma29hsbhr1p25v8kwgvhcfi7lg2av7aaknd97"; 12 + "swift-nio" = "04bvay94b34ynmlvgyl9a7f431l3cf8k2zr483spv8mvyh1hxiqn"; 13 + "swift-nio-ssl" = "1ak4aldilmz0pnfgbwq1x4alr38nfyvx2pz7p2vi2plf82da80g5"; 14 }; 15 }
+2 -1
pkgs/development/compilers/swift/swift-driver/default.nix
··· 4 , fetchpatch 5 , swift 6 , swiftpm 7 , Foundation 8 , XCTest 9 , sqlite ··· 12 }: 13 let 14 sources = callPackage ../sources.nix { }; 15 - generated = callPackage ./generated { }; # Generated by swiftpm2nix. 16 17 # On Darwin, we only want ncurses in the linker search path, because headers 18 # are part of libsystem. Adding its headers to the search path causes strange
··· 4 , fetchpatch 5 , swift 6 , swiftpm 7 + , swiftpm2nix 8 , Foundation 9 , XCTest 10 , sqlite ··· 13 }: 14 let 15 sources = callPackage ../sources.nix { }; 16 + generated = swiftpm2nix.helpers ./generated; 17 18 # On Darwin, we only want ncurses in the linker search path, because headers 19 # are part of libsystem. Adding its headers to the search path causes strange
-52
pkgs/development/compilers/swift/swift-driver/generated/Package.resolved
··· 1 - { 2 - "object": { 3 - "pins": [ 4 - { 5 - "package": "swift-argument-parser", 6 - "repositoryURL": "https://github.com/apple/swift-argument-parser.git", 7 - "state": { 8 - "branch": null, 9 - "revision": "e1465042f195f374b94f915ba8ca49de24300a0d", 10 - "version": "1.0.2" 11 - } 12 - }, 13 - { 14 - "package": "llbuild", 15 - "repositoryURL": "https://github.com/apple/swift-llbuild.git", 16 - "state": { 17 - "branch": "release/5.7", 18 - "revision": "564424db5fdb62dcb5d863bdf7212500ef03a87b", 19 - "version": null 20 - } 21 - }, 22 - { 23 - "package": "swift-system", 24 - "repositoryURL": "https://github.com/apple/swift-system.git", 25 - "state": { 26 - "branch": null, 27 - "revision": "836bc4557b74fe6d2660218d56e3ce96aff76574", 28 - "version": "1.1.1" 29 - } 30 - }, 31 - { 32 - "package": "swift-tools-support-core", 33 - "repositoryURL": "https://github.com/apple/swift-tools-support-core.git", 34 - "state": { 35 - "branch": "release/5.7", 36 - "revision": "184eba382f6abbb362ffc02942d790ff35019ad4", 37 - "version": null 38 - } 39 - }, 40 - { 41 - "package": "Yams", 42 - "repositoryURL": "https://github.com/jpsim/Yams.git", 43 - "state": { 44 - "branch": null, 45 - "revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa", 46 - "version": "4.0.6" 47 - } 48 - } 49 - ] 50 - }, 51 - "version": 1 52 - }
···
+8 -44
pkgs/development/compilers/swift/swift-driver/generated/default.nix
··· 1 # This file was generated by swiftpm2nix. 2 - { lib, fetchgit }: rec { 3 - sources = { 4 - "swift-argument-parser" = fetchgit { 5 - url = "https://github.com/apple/swift-argument-parser.git"; 6 - rev = "e1465042f195f374b94f915ba8ca49de24300a0d"; 7 - sha256 = "11did5snqj8chcbdbiyx84mpif940ls2pr1iikwivvfp63i248hm"; 8 - }; 9 - "swift-llbuild" = fetchgit { 10 - url = "https://github.com/apple/swift-llbuild.git"; 11 - rev = "564424db5fdb62dcb5d863bdf7212500ef03a87b"; 12 - sha256 = "07zbp2dyfqd1bnyg7snpr9brn40jf22ivly5v10mql3hrg76a18h"; 13 - }; 14 - "swift-system" = fetchgit { 15 - url = "https://github.com/apple/swift-system.git"; 16 - rev = "836bc4557b74fe6d2660218d56e3ce96aff76574"; 17 - sha256 = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 18 - }; 19 - "swift-tools-support-core" = fetchgit { 20 - url = "https://github.com/apple/swift-tools-support-core.git"; 21 - rev = "184eba382f6abbb362ffc02942d790ff35019ad4"; 22 - sha256 = "005akmisnkcg6zjwm545183c12xm8z504yxxqmnqf0rakfcab1mi"; 23 - }; 24 - "Yams" = fetchgit { 25 - url = "https://github.com/jpsim/Yams.git"; 26 - rev = "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa"; 27 - sha256 = "1893y13sis2aimi1a5kgkczbf06z4yig054xb565yg2xm13srb45"; 28 - }; 29 }; 30 - configure = '' 31 - mkdir -p .build/checkouts 32 - ln -sf ${./Package.resolved} ./Package.resolved 33 - install -m 0600 ${./workspace-state.json} ./.build/workspace-state.json 34 - '' 35 - + lib.concatStrings (lib.mapAttrsToList (name: src: '' 36 - ln -s '${src}' '.build/checkouts/${name}' 37 - '') sources) 38 - + '' 39 - # Helper that makes a swiftpm dependency mutable by copying the source. 40 - swiftpmMakeMutable() { 41 - local orig="$(readlink .build/checkouts/$1)" 42 - rm .build/checkouts/$1 43 - cp -r "$orig" .build/checkouts/$1 44 - chmod -R u+w .build/checkouts/$1 45 - } 46 - ''; 47 }
··· 1 # This file was generated by swiftpm2nix. 2 + { 3 + workspaceStateFile = ./workspace-state.json; 4 + hashes = { 5 + "swift-argument-parser" = "11did5snqj8chcbdbiyx84mpif940ls2pr1iikwivvfp63i248hm"; 6 + "swift-llbuild" = "07zbp2dyfqd1bnyg7snpr9brn40jf22ivly5v10mql3hrg76a18h"; 7 + "swift-system" = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 8 + "swift-tools-support-core" = "1vabl1z5sm2lrd75f5c781rkrq0liinpjvnrjr6i6r8cqrp0q5jb"; 9 + "Yams" = "1893y13sis2aimi1a5kgkczbf06z4yig054xb565yg2xm13srb45"; 10 }; 11 }
+1 -1
pkgs/development/compilers/swift/swift-driver/generated/workspace-state.json
··· 64 "state": { 65 "checkoutState": { 66 "branch": "release/5.7", 67 - "revision": "184eba382f6abbb362ffc02942d790ff35019ad4" 68 }, 69 "name": "sourceControlCheckout" 70 },
··· 64 "state": { 65 "checkoutState": { 66 "branch": "release/5.7", 67 + "revision": "afc0938503bac012f76ceb619d031f63edc4c5f7" 68 }, 69 "name": "sourceControlCheckout" 70 },
+3 -4
pkgs/development/compilers/swift/swiftpm/default.nix
··· 1 { lib 2 - , callPackage 3 , stdenv 4 , cmake 5 , ninja 6 , git 7 , swift 8 , Foundation 9 , XCTest 10 , sqlite ··· 25 sharedLibraryExt = stdenv.hostPlatform.extensions.sharedLibrary; 26 27 sources = callPackage ../sources.nix { }; 28 29 # Common attributes for the bootstrap swiftpm and the final swiftpm. 30 commonAttrs = { ··· 121 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON" 122 ]; 123 }); 124 - 125 - # Generated by swiftpm2nix. 126 - generated = callPackage ./generated { }; 127 128 # On Darwin, we only want ncurses in the linker search path, because headers 129 # are part of libsystem. Adding its headers to the search path causes strange
··· 1 { lib 2 , stdenv 3 + , callPackage 4 , cmake 5 , ninja 6 , git 7 , swift 8 + , swiftpm2nix 9 , Foundation 10 , XCTest 11 , sqlite ··· 26 sharedLibraryExt = stdenv.hostPlatform.extensions.sharedLibrary; 27 28 sources = callPackage ../sources.nix { }; 29 + generated = swiftpm2nix.helpers ./generated; 30 31 # Common attributes for the bootstrap swiftpm and the final swiftpm. 32 commonAttrs = { ··· 123 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON" 124 ]; 125 }); 126 127 # On Darwin, we only want ncurses in the linker search path, because headers 128 # are part of libsystem. Adding its headers to the search path causes strange
-79
pkgs/development/compilers/swift/swiftpm/generated/Package.resolved
··· 1 - { 2 - "object": { 3 - "pins": [ 4 - { 5 - "package": "swift-argument-parser", 6 - "repositoryURL": "https://github.com/apple/swift-argument-parser.git", 7 - "state": { 8 - "branch": null, 9 - "revision": "e394bf350e38cb100b6bc4172834770ede1b7232", 10 - "version": "1.0.3" 11 - } 12 - }, 13 - { 14 - "package": "swift-collections", 15 - "repositoryURL": "https://github.com/apple/swift-collections.git", 16 - "state": { 17 - "branch": null, 18 - "revision": "f504716c27d2e5d4144fa4794b12129301d17729", 19 - "version": "1.0.3" 20 - } 21 - }, 22 - { 23 - "package": "swift-crypto", 24 - "repositoryURL": "https://github.com/apple/swift-crypto.git", 25 - "state": { 26 - "branch": null, 27 - "revision": "ddb07e896a2a8af79512543b1c7eb9797f8898a5", 28 - "version": "1.1.7" 29 - } 30 - }, 31 - { 32 - "package": "swift-driver", 33 - "repositoryURL": "https://github.com/apple/swift-driver.git", 34 - "state": { 35 - "branch": "release/5.7", 36 - "revision": "719426df790661020de657bf38beb2a8b1de5ad3", 37 - "version": null 38 - } 39 - }, 40 - { 41 - "package": "llbuild", 42 - "repositoryURL": "https://github.com/apple/swift-llbuild.git", 43 - "state": { 44 - "branch": "release/5.7", 45 - "revision": "564424db5fdb62dcb5d863bdf7212500ef03a87b", 46 - "version": null 47 - } 48 - }, 49 - { 50 - "package": "swift-system", 51 - "repositoryURL": "https://github.com/apple/swift-system.git", 52 - "state": { 53 - "branch": null, 54 - "revision": "836bc4557b74fe6d2660218d56e3ce96aff76574", 55 - "version": "1.1.1" 56 - } 57 - }, 58 - { 59 - "package": "swift-tools-support-core", 60 - "repositoryURL": "https://github.com/apple/swift-tools-support-core.git", 61 - "state": { 62 - "branch": "release/5.7", 63 - "revision": "184eba382f6abbb362ffc02942d790ff35019ad4", 64 - "version": null 65 - } 66 - }, 67 - { 68 - "package": "Yams", 69 - "repositoryURL": "https://github.com/jpsim/Yams.git", 70 - "state": { 71 - "branch": null, 72 - "revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa", 73 - "version": "4.0.6" 74 - } 75 - } 76 - ] 77 - }, 78 - "version": 1 79 - }
···
+11 -59
pkgs/development/compilers/swift/swiftpm/generated/default.nix
··· 1 # This file was generated by swiftpm2nix. 2 - { lib, fetchgit }: rec { 3 - sources = { 4 - "swift-argument-parser" = fetchgit { 5 - url = "https://github.com/apple/swift-argument-parser.git"; 6 - rev = "e394bf350e38cb100b6bc4172834770ede1b7232"; 7 - sha256 = "1jph9w7lk9nr20fsv2c8p4hisx3dda817fh7pybd0r0j1jwa9nmw"; 8 - }; 9 - "swift-collections" = fetchgit { 10 - url = "https://github.com/apple/swift-collections.git"; 11 - rev = "f504716c27d2e5d4144fa4794b12129301d17729"; 12 - sha256 = "0l0pv16zil3n7fac7mdf5qxklxr5rwiig5bixgca1ybq7arlnv7i"; 13 - }; 14 - "swift-crypto" = fetchgit { 15 - url = "https://github.com/apple/swift-crypto.git"; 16 - rev = "ddb07e896a2a8af79512543b1c7eb9797f8898a5"; 17 - sha256 = "020b8q4ss2k7a65r5dgh59z40i6sn7ij1allxkh8c8a9d0jzn313"; 18 - }; 19 - "swift-driver" = fetchgit { 20 - url = "https://github.com/apple/swift-driver.git"; 21 - rev = "719426df790661020de657bf38beb2a8b1de5ad3"; 22 - sha256 = "0cfz9g5mds8isn1simxal4vn3z7yh2kh6wg5267w3m0ifrcxfkmj"; 23 - }; 24 - "swift-llbuild" = fetchgit { 25 - url = "https://github.com/apple/swift-llbuild.git"; 26 - rev = "564424db5fdb62dcb5d863bdf7212500ef03a87b"; 27 - sha256 = "07zbp2dyfqd1bnyg7snpr9brn40jf22ivly5v10mql3hrg76a18h"; 28 - }; 29 - "swift-system" = fetchgit { 30 - url = "https://github.com/apple/swift-system.git"; 31 - rev = "836bc4557b74fe6d2660218d56e3ce96aff76574"; 32 - sha256 = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 33 - }; 34 - "swift-tools-support-core" = fetchgit { 35 - url = "https://github.com/apple/swift-tools-support-core.git"; 36 - rev = "184eba382f6abbb362ffc02942d790ff35019ad4"; 37 - sha256 = "005akmisnkcg6zjwm545183c12xm8z504yxxqmnqf0rakfcab1mi"; 38 - }; 39 - "Yams" = fetchgit { 40 - url = "https://github.com/jpsim/Yams.git"; 41 - rev = "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa"; 42 - sha256 = "1893y13sis2aimi1a5kgkczbf06z4yig054xb565yg2xm13srb45"; 43 - }; 44 }; 45 - configure = '' 46 - mkdir -p .build/checkouts 47 - ln -sf ${./Package.resolved} ./Package.resolved 48 - install -m 0600 ${./workspace-state.json} ./.build/workspace-state.json 49 - '' 50 - + lib.concatStrings (lib.mapAttrsToList (name: src: '' 51 - ln -s '${src}' '.build/checkouts/${name}' 52 - '') sources) 53 - + '' 54 - # Helper that makes a swiftpm dependency mutable by copying the source. 55 - swiftpmMakeMutable() { 56 - local orig="$(readlink .build/checkouts/$1)" 57 - rm .build/checkouts/$1 58 - cp -r "$orig" .build/checkouts/$1 59 - chmod -R u+w .build/checkouts/$1 60 - } 61 - ''; 62 }
··· 1 # This file was generated by swiftpm2nix. 2 + { 3 + workspaceStateFile = ./workspace-state.json; 4 + hashes = { 5 + "swift-argument-parser" = "1jph9w7lk9nr20fsv2c8p4hisx3dda817fh7pybd0r0j1jwa9nmw"; 6 + "swift-collections" = "0l0pv16zil3n7fac7mdf5qxklxr5rwiig5bixgca1ybq7arlnv7i"; 7 + "swift-crypto" = "020b8q4ss2k7a65r5dgh59z40i6sn7ij1allxkh8c8a9d0jzn313"; 8 + "swift-driver" = "1lcb5wqragc74nd0fjnk47lyph9hs0i9cps1mplvp2i91yzjqk05"; 9 + "swift-llbuild" = "07zbp2dyfqd1bnyg7snpr9brn40jf22ivly5v10mql3hrg76a18h"; 10 + "swift-system" = "0402hkx2q2dv27gccnn8ma79ngvwiwzkhcv4zlcdldmy6cgi0px7"; 11 + "swift-tools-support-core" = "1vabl1z5sm2lrd75f5c781rkrq0liinpjvnrjr6i6r8cqrp0q5jb"; 12 + "Yams" = "1893y13sis2aimi1a5kgkczbf06z4yig054xb565yg2xm13srb45"; 13 }; 14 }
+2 -2
pkgs/development/compilers/swift/swiftpm/generated/workspace-state.json
··· 64 "state": { 65 "checkoutState": { 66 "branch": "release/5.7", 67 - "revision": "719426df790661020de657bf38beb2a8b1de5ad3" 68 }, 69 "name": "sourceControlCheckout" 70 }, ··· 115 "state": { 116 "checkoutState": { 117 "branch": "release/5.7", 118 - "revision": "184eba382f6abbb362ffc02942d790ff35019ad4" 119 }, 120 "name": "sourceControlCheckout" 121 },
··· 64 "state": { 65 "checkoutState": { 66 "branch": "release/5.7", 67 + "revision": "82b274af66cfbb8f3131677676517b34d01e30fd" 68 }, 69 "name": "sourceControlCheckout" 70 }, ··· 115 "state": { 116 "checkoutState": { 117 "branch": "release/5.7", 118 + "revision": "afc0938503bac012f76ceb619d031f63edc4c5f7" 119 }, 120 "name": "sourceControlCheckout" 121 },