File tree Expand file tree Collapse file tree 4 files changed +77
-28
lines changed Expand file tree Collapse file tree 4 files changed +77
-28
lines changed Original file line number Diff line number Diff line change 22{
33 workspaceStateFile = ./workspace-state.json ;
44 hashes = {
5+ "big-num" = "0wj45pmiafhbj5ch7b4s41ldycps0hcj29d0z6fanhiy7ljlhk35" ;
56 "data" = "1jf2y9dbg1qvxkkabdkihdnr1kmznq79h18j65a7iw1hljdp8hyg" ;
67 "Foundation" = "0hcpc15v38l32qc2sh4gqj909b1f90knln9yz3mfiyf6xi7iy6q7" ;
78 "KeychainAccess" = "0m57pq1vn5qarmlx5x4kfv0yzjylafl3ipih5p60zyfsx6k5b55l" ;
1011 "PromiseKit" = "19pkhk505pz03hqmv8h1lgm83iw5jha6j1v06fyzz0xar2ywv6vg" ;
1112 "Rainbow" = "0iv31azny668vpsjgmldgkgn9cp8i5h9rlc6w5bs8q63nwq19wb0" ;
1213 "swift-argument-parser" = "19b4pkcx4xf0iwg0nbr7wvkkbwl6h8sch848gid6l98728glmcw9" ;
14+ "swift-crypto" = "020b8q4ss2k7a65r5dgh59z40i6sn7ij1allxkh8c8a9d0jzn313" ;
15+ "swift-srp" = "0nsinkgf050z1wkzmaxaf5qkvplsgyqwps9xi9zkbcg6y7143xy1" ;
1316 "SwiftSoup" = "14klizw8jhmxhxays1b1yh4bp0nbb3l4l1pj6sdnf0iqs0wladv8" ;
1417 "Version" = "0s5bwr1li6dnsnalfyraq1kzhqmmn9qwp1mld4msrn3q5vvjmql9" ;
1518 "Yams" = "11abhcfkmqm3cmh7vp7rqzvxd1zj02j2866a2pp6v9m89456xb76" ;
Original file line number Diff line number Diff line change 22 "object" : {
33 "artifacts" : [],
44 "dependencies" : [
5+ {
6+ "basedOn" : null ,
7+ "packageRef" : {
8+ "identity" : " big-num" ,
9+ "kind" : " remoteSourceControl" ,
10+ "location" : " https://github.com/adam-fowler/big-num" ,
11+ "name" : " big-num"
12+ },
13+ "state" : {
14+ "checkoutState" : {
15+ "revision" : " 5c5511ad06aeb2b97d0868f7394e14a624bfb1c7" ,
16+ "version" : " 2.0.2"
17+ },
18+ "name" : " sourceControlCheckout"
19+ },
20+ "subpath" : " big-num"
21+ },
522 {
623 "basedOn" : null ,
724 "packageRef" : {
137154 },
138155 "subpath" : " swift-argument-parser"
139156 },
157+ {
158+ "basedOn" : null ,
159+ "packageRef" : {
160+ "identity" : " swift-crypto" ,
161+ "kind" : " remoteSourceControl" ,
162+ "location" : " https://github.com/apple/swift-crypto" ,
163+ "name" : " swift-crypto"
164+ },
165+ "state" : {
166+ "checkoutState" : {
167+ "revision" : " ddb07e896a2a8af79512543b1c7eb9797f8898a5" ,
168+ "version" : " 1.1.7"
169+ },
170+ "name" : " sourceControlCheckout"
171+ },
172+ "subpath" : " swift-crypto"
173+ },
174+ {
175+ "basedOn" : null ,
176+ "packageRef" : {
177+ "identity" : " swift-srp" ,
178+ "kind" : " remoteSourceControl" ,
179+ "location" : " https://github.com/xcodesOrg/swift-srp" ,
180+ "name" : " swift-srp"
181+ },
182+ "state" : {
183+ "checkoutState" : {
184+ "branch" : " main" ,
185+ "revision" : " 543aa0122a0257b992f6c7d62d18a26e3dffb8fe"
186+ },
187+ "name" : " sourceControlCheckout"
188+ },
189+ "subpath" : " swift-srp"
190+ },
140191 {
141192 "basedOn" : null ,
142193 "packageRef" : {
Original file line number Diff line number Diff line change 1- { lib
2- , stdenv
3- , fetchFromGitHub
4- , swift
5- , swiftpm
6- , swiftpm2nix
7- , makeWrapper
8- , CryptoKit
9- , LocalAuthentication
10- , libcompression
11- , aria2
1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ swiftPackages ,
5+ swift ,
6+ swiftpm ,
7+ swiftpm2nix ,
8+ makeWrapper ,
9+ aria2 ,
1210} :
1311let
1412 generated = swiftpm2nix . helpers ./generated ;
13+ stdenv = swiftPackages . stdenv ;
1514in
1615stdenv . mkDerivation ( finalAttrs : {
1716 pname = "xcodes" ;
18- version = "1.5 .0" ;
17+ version = "1.6 .0" ;
1918
2019 src = fetchFromGitHub {
2120 owner = "XcodesOrg" ;
2221 repo = "xcodes" ;
2322 rev = finalAttrs . version ;
24- hash = "sha256-vksfvrx0TqtjcOHn38Ey3P6jIFYF4CbD3SVICVFINSU =" ;
23+ hash = "sha256-TwPfASRU98rifyA/mINFfoY0MbbwmAh8JneVpJa38CA =" ;
2524 } ;
2625
27- nativeBuildInputs = [ swift swiftpm makeWrapper ] ;
28-
29- buildInputs = [
30- CryptoKit
31- LocalAuthentication
32- libcompression
26+ nativeBuildInputs = [
27+ swift
28+ swiftpm
29+ makeWrapper
3330 ] ;
3431
3532 configurePhase = generated . configure ;
@@ -45,16 +42,19 @@ stdenv.mkDerivation (finalAttrs: {
4542 runHook postInstall
4643 '' ;
4744
48- meta = with lib ; {
45+ meta = {
4946 changelog = "https://github.com/XcodesOrg/xcodes/releases/tag/${ finalAttrs . version } " ;
5047 description = "Command-line tool to install and switch between multiple versions of Xcode" ;
5148 homepage = "https://github.com/XcodesOrg/xcodes" ;
52- license = with licenses ; [
49+ license = with lib . licenses ; [
5350 mit
5451 # unxip
5552 lgpl3Only
5653 ] ;
57- maintainers = with maintainers ; [ _0x120581f emilytrau ] ;
58- platforms = platforms . darwin ;
54+ maintainers = with lib . maintainers ; [
55+ _0x120581f
56+ emilytrau
57+ ] ;
58+ platforms = lib . platforms . darwin ;
5959 } ;
6060} )
Original file line number Diff line number Diff line change @@ -2024,11 +2024,6 @@ with pkgs;
20242024
20252025 xcodeenv = callPackage ../development/mobile/xcodeenv { };
20262026
2027- xcodes = swiftPackages.callPackage ../development/tools/xcodes {
2028- inherit (swiftPackages.apple_sdk.frameworks) CryptoKit LocalAuthentication;
2029- inherit (swiftPackages.apple_sdk) libcompression;
2030- };
2031-
20322027 gomobile = callPackage ../development/mobile/gomobile { };
20332028
20342029 titaniumenv = callPackage ../development/mobile/titaniumenv { };
You can’t perform that action at this time.
0 commit comments