authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-17 13:16:39 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-17 13:16:39 -07:00
log04e84627095aafad3278f8ec93ba17b385a71049
tree7c5d1a08a0d2ebe575f6b6f9f21ddd946e62305d
parent654f63447d30a42b891c5f8e56e15773978cd239

use the deps.zig made by `zigmod generate`


1 files changed, 190 insertions(+), 98 deletions(-)

deps.zig+190-98
...@@ -4,33 +4,110 @@ const builtin = @import("builtin");...@@ -4,33 +4,110 @@ const builtin = @import("builtin");
4const Pkg = std.build.Pkg;4const Pkg = std.build.Pkg;
5const string = []const u8;5const string = []const u8;
66
7pub const cache = ".zigmod/deps";7pub const GitExactStep = struct {
8 step: std.build.Step,
9 builder: *std.build.Builder,
10 url: string,
11 commit: string,
12
13 pub fn create(b: *std.build.Builder, url: string, commit: string) *GitExactStep {
14 var result = b.allocator.create(GitExactStep) catch @panic("memory");
15 result.* = GitExactStep{
16 .step = std.build.Step.init(.custom, b.fmt("git clone {s} @ {s}", .{ url, commit }), b.allocator, make),
17 .builder = b,
18 .url = url,
19 .commit = commit,
20 };
21
22 var urlpath = url;
23 urlpath = trimPrefix(u8, urlpath, "https://");
24 urlpath = trimPrefix(u8, urlpath, "git://");
25 const repopath = b.fmt("{s}/zigmod/deps/git/{s}/{s}", .{ b.cache_root, urlpath, commit });
26 flip(std.fs.cwd().access(repopath, .{})) catch return result;
27
28 var clonestep = std.build.RunStep.create(b, "clone");
29 clonestep.addArgs(&.{ "git", "clone", "-q", "--progress", url, repopath });
30 result.step.dependOn(&clonestep.step);
31
32 var checkoutstep = std.build.RunStep.create(b, "checkout");
33 checkoutstep.addArgs(&.{ "git", "-C", repopath, "checkout", "-q", commit });
34 result.step.dependOn(&checkoutstep.step);
35
36 return result;
37 }
38
39 fn make(step: *std.build.Step) !void {
40 _ = step;
41 }
42};
43
44pub fn fetch(exe: *std.build.LibExeObjStep) void {
45 const b = exe.builder;
46 inline for (comptime std.meta.declarations(package_data)) |decl| {
47 const path = &@field(package_data, decl.name).entry;
48 const root = if (@field(package_data, decl.name).store) |_| b.cache_root else ".";
49 if (path.* != null) path.* = b.fmt("{s}/zigmod/deps{s}", .{ root, path.*.? });
50 }
51 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/MasterQ32/zig-uri", "e879df3a236869f92298fbe2db3c25e6e84cfd4c").step);
52 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/marlersoft/zigwin32", "209f07cc5861c7bd9c3010a37f32bf6244f9a158").step);
53 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/arqv-ini", "1a9b2e90379895e197893b6e19c93bd213ad36e6").step);
54 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/iguanaTLS", "c9403b8414d7f80b5e2c04c8f1f8780ca1d2827f").step);
55 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-ansi", "d4a53bcac5b87abecc65491109ec22aaf5f3dc2f").step);
56 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-detect-license", "de5c285d999eea68b9189b48bb000243fef0a689").step);
57 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-extras", "01fae956e2f17aa992e717e041a3dd457d440b31").step);
58 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-inquirer", "14c3492c46f9765c3e77436741794d1a3118cbee").step);
59 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-json", "a091eaa9f9ae91c3875630ba1983b33ea04971a3").step);
60 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-leven", "ab852cf74fa0b4edc530d925f0654b62c60365bf").step);
61 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-licenses", "c9b8cbf3565675a056ad4e9b57cb4f84020e7680").step);
62 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-licenses-text", "3c07c6e4eb0965dafd0b029c632f823631b3169c").step);
63 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-range", "4b2f12808aa09be4b27a163efc424dd4e0415992").step);
64 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/nektro/zig-time", "52a6050939b83e9f8b52b2236a36332dcb4c17a3").step);
65 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/truemedian/hzzp", "d4fbade2d806fc93bc5f79ec8efdcc25ea625fa3").step);
66 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/truemedian/zfetch", "12b1374aae32e8ebf719a096a22cdf4c49433458").step);
67 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/ziglibs/known-folders", "24845b0103e611c108d6bc334231c464e699742c").step);
68 exe.step.dependOn(&GitExactStep.create(b, "https://github.com/yaml/libyaml", "2c891fc7a770e8ba2fec34fc6b545c672beb37e6").step);
69}
70
71fn trimPrefix(comptime T: type, haystack: []const T, needle: []const T) []const T {
72 if (std.mem.startsWith(T, haystack, needle)) {
73 return haystack[needle.len .. haystack.len];
74 }
75 return haystack;
76}
77
78fn flip(foo: anytype) !void {
79 _ = foo catch return;
80 return error.ExpectedError;
81}
882
9pub fn addAllTo(exe: *std.build.LibExeObjStep) void {83pub fn addAllTo(exe: *std.build.LibExeObjStep) void {
10 checkMinZig(builtin.zig_version, exe);84 checkMinZig(builtin.zig_version, exe);
85 fetch(exe);
86 const b = exe.builder;
11 @setEvalBranchQuota(1_000_000);87 @setEvalBranchQuota(1_000_000);
12 for (packages) |pkg| {88 for (packages) |pkg| {
13 exe.addPackage(pkg.pkg.?);89 exe.addPackage(pkg.zp(b));
14 }90 }
15 var llc = false;91 var llc = false;
16 var vcpkg = false;92 var vcpkg = false;
17 inline for (comptime std.meta.declarations(package_data)) |decl| {93 inline for (comptime std.meta.declarations(package_data)) |decl| {
18 const pkg = @as(Package, @field(package_data, decl.name));94 const pkg = @as(Package, @field(package_data, decl.name));
95 const root = if (pkg.store) |st| b.fmt("{s}/zigmod/deps/{s}", .{ b.cache_root, st }) else ".";
19 for (pkg.system_libs) |item| {96 for (pkg.system_libs) |item| {
20 exe.linkSystemLibrary(item);97 exe.linkSystemLibrary(item);
21 llc = true;98 llc = true;
22 }99 }
23 for (pkg.frameworks) |item| {100 for (pkg.frameworks) |item| {
24 if (!std.Target.current.isDarwin()) @panic(exe.builder.fmt("a dependency is attempting to link to the framework {s}, which is only possible under Darwin", .{item}));101 if (!builtin.target.isDarwin()) @panic(exe.builder.fmt("a dependency is attempting to link to the framework {s}, which is only possible under Darwin", .{item}));
25 exe.linkFramework(item);102 exe.linkFramework(item);
26 llc = true;103 llc = true;
27 }104 }
28 inline for (pkg.c_include_dirs) |item| {105 for (pkg.c_include_dirs) |item| {
29 exe.addIncludeDir(@field(dirs, decl.name) ++ "/" ++ item);106 exe.addIncludeDir(b.fmt("{s}/{s}", .{ root, item }));
30 llc = true;107 llc = true;
31 }108 }
32 inline for (pkg.c_source_files) |item| {109 for (pkg.c_source_files) |item| {
33 exe.addCSourceFile(@field(dirs, decl.name) ++ "/" ++ item, pkg.c_source_flags);110 exe.addCSourceFile(b.fmt("{s}/{s}", .{ root, item }), pkg.c_source_flags);
34 llc = true;111 llc = true;
35 }112 }
36 vcpkg = vcpkg or pkg.vcpkg;113 vcpkg = vcpkg or pkg.vcpkg;
...@@ -40,14 +117,28 @@ pub fn addAllTo(exe: *std.build.LibExeObjStep) void {...@@ -40,14 +117,28 @@ pub fn addAllTo(exe: *std.build.LibExeObjStep) void {
40}117}
41118
42pub const Package = struct {119pub const Package = struct {
43 directory: string,120 name: string = "",
44 pkg: ?Pkg = null,121 entry: ?string = null,
122 store: ?string = null,
123 deps: []const *Package = &.{},
45 c_include_dirs: []const string = &.{},124 c_include_dirs: []const string = &.{},
46 c_source_files: []const string = &.{},125 c_source_files: []const string = &.{},
47 c_source_flags: []const string = &.{},126 c_source_flags: []const string = &.{},
48 system_libs: []const string = &.{},127 system_libs: []const string = &.{},
49 frameworks: []const string = &.{},128 frameworks: []const string = &.{},
50 vcpkg: bool = false,129 vcpkg: bool = false,
130
131 pub fn zp(self: *const Package, b: *std.build.Builder) Pkg {
132 var temp: [100]Pkg = undefined;
133 for (self.deps) |item, i| {
134 temp[i] = item.zp(b);
135 }
136 return .{
137 .name = self.name,
138 .source = .{ .path = self.entry.? },
139 .dependencies = b.allocator.dupe(Pkg, temp[0..self.deps.len]) catch @panic("oom"),
140 };
141 }
51};142};
52143
53fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {144fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {
...@@ -55,121 +146,122 @@ fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void...@@ -55,121 +146,122 @@ fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void
55 if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min}));146 if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min}));
56}147}
57148
58pub const dirs = struct {
59 pub const _root = "";
60 pub const _89ujp8gq842x = cache ++ "/../..";
61 pub const _8mdbh0zuneb0 = cache ++ "/v/git/github.com/yaml/libyaml/tag-0.2.5";
62 pub const _s84v9o48ucb0 = cache ++ "/git/github.com/nektro/zig-ansi";
63 pub const _2ta738wrqbaq = cache ++ "/git/github.com/ziglibs/known-folders";
64 pub const _0npcrzfdlrvk = cache ++ "/git/github.com/nektro/zig-licenses";
65 pub const _ejw82j2ipa0e = cache ++ "/git/github.com/truemedian/zfetch";
66 pub const _9k24gimke1an = cache ++ "/git/github.com/truemedian/hzzp";
67 pub const _csbnipaad8n7 = cache ++ "/git/github.com/nektro/iguanaTLS";
68 pub const _u9w9dpp6p804 = cache ++ "/git/github.com/MasterQ32/zig-uri";
69 pub const _ocmr9rtohgcc = cache ++ "/git/github.com/nektro/zig-json";
70 pub const _f7dubzb7cyqe = cache ++ "/git/github.com/nektro/zig-extras";
71 pub const _tnj3qf44tpeq = cache ++ "/git/github.com/nektro/zig-range";
72 pub const _2ovav391ivak = cache ++ "/git/github.com/nektro/zig-detect-license";
73 pub const _pt88y5d80m25 = cache ++ "/git/github.com/nektro/zig-licenses-text";
74 pub const _96h80ezrvj7i = cache ++ "/git/github.com/nektro/zig-leven";
75 pub const _c1xirp1ota5p = cache ++ "/git/github.com/nektro/zig-inquirer";
76 pub const _u7sysdckdymi = cache ++ "/git/github.com/nektro/arqv-ini";
77 pub const _iecwp4b3bsfm = cache ++ "/git/github.com/nektro/zig-time";
78 pub const _o6ogpor87xc2 = cache ++ "/git/github.com/marlersoft/zigwin32";
79};
80
81pub const package_data = struct {149pub const package_data = struct {
82 pub const _8mdbh0zuneb0 = Package{150 pub var _u9w9dpp6p804 = Package{
83 .directory = dirs._8mdbh0zuneb0,151 .store = "/git/github.com/MasterQ32/zig-uri/e879df3a236869f92298fbe2db3c25e6e84cfd4c",
84 .c_include_dirs = &.{ "include" },152 .name = "uri",
85 .c_source_files = &.{ "src/api.c", "src/dumper.c", "src/emitter.c", "src/loader.c", "src/parser.c", "src/reader.c", "src/scanner.c", "src/writer.c" },153 .entry = "/git/github.com/MasterQ32/zig-uri/e879df3a236869f92298fbe2db3c25e6e84cfd4c/uri.zig",
86 .c_source_flags = &.{ "-DYAML_VERSION_MAJOR=0", "-DYAML_VERSION_MINOR=2", "-DYAML_VERSION_PATCH=5", "-DYAML_VERSION_STRING=\"0.2.5\"", "-DYAML_DECLARE_STATIC=1" },
87 };154 };
88 pub const _s84v9o48ucb0 = Package{155 pub var _o6ogpor87xc2 = Package{
89 .directory = dirs._s84v9o48ucb0,156 .store = "/git/github.com/marlersoft/zigwin32/209f07cc5861c7bd9c3010a37f32bf6244f9a158",
90 .pkg = Pkg{ .name = "ansi", .source = .{ .path = dirs._s84v9o48ucb0 ++ "/src/lib.zig" }, .dependencies = null },157 .name = "win32",
158 .entry = "/git/github.com/marlersoft/zigwin32/209f07cc5861c7bd9c3010a37f32bf6244f9a158/win32.zig",
91 };159 };
92 pub const _2ta738wrqbaq = Package{160 pub var _u7sysdckdymi = Package{
93 .directory = dirs._2ta738wrqbaq,161 .store = "/git/github.com/nektro/arqv-ini/1a9b2e90379895e197893b6e19c93bd213ad36e6",
94 .pkg = Pkg{ .name = "known-folders", .source = .{ .path = dirs._2ta738wrqbaq ++ "/known-folders.zig" }, .dependencies = null },162 .name = "ini",
163 .entry = "/git/github.com/nektro/arqv-ini/1a9b2e90379895e197893b6e19c93bd213ad36e6/src/ini.zig",
95 };164 };
96 pub const _0npcrzfdlrvk = Package{165 pub var _csbnipaad8n7 = Package{
97 .directory = dirs._0npcrzfdlrvk,166 .store = "/git/github.com/nektro/iguanaTLS/c9403b8414d7f80b5e2c04c8f1f8780ca1d2827f",
98 .pkg = Pkg{ .name = "licenses", .source = .{ .path = dirs._0npcrzfdlrvk ++ "/src/lib.zig" }, .dependencies = null },167 .name = "iguanaTLS",
168 .entry = "/git/github.com/nektro/iguanaTLS/c9403b8414d7f80b5e2c04c8f1f8780ca1d2827f/src/main.zig",
99 };169 };
100 pub const _9k24gimke1an = Package{170 pub var _s84v9o48ucb0 = Package{
101 .directory = dirs._9k24gimke1an,171 .store = "/git/github.com/nektro/zig-ansi/d4a53bcac5b87abecc65491109ec22aaf5f3dc2f",
102 .pkg = Pkg{ .name = "hzzp", .source = .{ .path = dirs._9k24gimke1an ++ "/src/main.zig" }, .dependencies = null },172 .name = "ansi",
173 .entry = "/git/github.com/nektro/zig-ansi/d4a53bcac5b87abecc65491109ec22aaf5f3dc2f/src/lib.zig",
103 };174 };
104 pub const _csbnipaad8n7 = Package{175 pub var _0npcrzfdlrvk = Package{
105 .directory = dirs._csbnipaad8n7,176 .store = "/git/github.com/nektro/zig-licenses/c9b8cbf3565675a056ad4e9b57cb4f84020e7680",
106 .pkg = Pkg{ .name = "iguanaTLS", .source = .{ .path = dirs._csbnipaad8n7 ++ "/src/main.zig" }, .dependencies = null },177 .name = "licenses",
178 .entry = "/git/github.com/nektro/zig-licenses/c9b8cbf3565675a056ad4e9b57cb4f84020e7680/src/lib.zig",
107 };179 };
108 pub const _u9w9dpp6p804 = Package{180 pub var _pt88y5d80m25 = Package{
109 .directory = dirs._u9w9dpp6p804,181 .store = "/git/github.com/nektro/zig-licenses-text/3c07c6e4eb0965dafd0b029c632f823631b3169c",
110 .pkg = Pkg{ .name = "uri", .source = .{ .path = dirs._u9w9dpp6p804 ++ "/uri.zig" }, .dependencies = null },182 .name = "licenses-text",
183 .entry = "/git/github.com/nektro/zig-licenses-text/3c07c6e4eb0965dafd0b029c632f823631b3169c/src/lib.zig",
111 };184 };
112 pub const _ejw82j2ipa0e = Package{185 pub var _tnj3qf44tpeq = Package{
113 .directory = dirs._ejw82j2ipa0e,186 .store = "/git/github.com/nektro/zig-range/4b2f12808aa09be4b27a163efc424dd4e0415992",
114 .pkg = Pkg{ .name = "zfetch", .source = .{ .path = dirs._ejw82j2ipa0e ++ "/src/main.zig" }, .dependencies = &.{ _9k24gimke1an.pkg.?, _csbnipaad8n7.pkg.?, _u9w9dpp6p804.pkg.? } },187 .name = "range",
188 .entry = "/git/github.com/nektro/zig-range/4b2f12808aa09be4b27a163efc424dd4e0415992/src/lib.zig",
115 };189 };
116 pub const _tnj3qf44tpeq = Package{190 pub var _f7dubzb7cyqe = Package{
117 .directory = dirs._tnj3qf44tpeq,191 .store = "/git/github.com/nektro/zig-extras/01fae956e2f17aa992e717e041a3dd457d440b31",
118 .pkg = Pkg{ .name = "range", .source = .{ .path = dirs._tnj3qf44tpeq ++ "/src/lib.zig" }, .dependencies = null },192 .name = "extras",
193 .entry = "/git/github.com/nektro/zig-extras/01fae956e2f17aa992e717e041a3dd457d440b31/src/lib.zig",
194 .deps = &[_]*Package{ &_tnj3qf44tpeq },
119 };195 };
120 pub const _f7dubzb7cyqe = Package{196 pub var _c1xirp1ota5p = Package{
121 .directory = dirs._f7dubzb7cyqe,197 .store = "/git/github.com/nektro/zig-inquirer/14c3492c46f9765c3e77436741794d1a3118cbee",
122 .pkg = Pkg{ .name = "extras", .source = .{ .path = dirs._f7dubzb7cyqe ++ "/src/lib.zig" }, .dependencies = &.{ _tnj3qf44tpeq.pkg.? } },198 .name = "inquirer",
199 .entry = "/git/github.com/nektro/zig-inquirer/14c3492c46f9765c3e77436741794d1a3118cbee/src/lib.zig",
200 .deps = &[_]*Package{ &_s84v9o48ucb0, &_tnj3qf44tpeq },
123 };201 };
124 pub const _ocmr9rtohgcc = Package{202 pub var _ocmr9rtohgcc = Package{
125 .directory = dirs._ocmr9rtohgcc,203 .store = "/git/github.com/nektro/zig-json/a091eaa9f9ae91c3875630ba1983b33ea04971a3",
126 .pkg = Pkg{ .name = "json", .source = .{ .path = dirs._ocmr9rtohgcc ++ "/src/lib.zig" }, .dependencies = &.{ _f7dubzb7cyqe.pkg.? } },204 .name = "json",
205 .entry = "/git/github.com/nektro/zig-json/a091eaa9f9ae91c3875630ba1983b33ea04971a3/src/lib.zig",
206 .deps = &[_]*Package{ &_f7dubzb7cyqe },
127 };207 };
128 pub const _pt88y5d80m25 = Package{208 pub var _96h80ezrvj7i = Package{
129 .directory = dirs._pt88y5d80m25,209 .store = "/git/github.com/nektro/zig-leven/ab852cf74fa0b4edc530d925f0654b62c60365bf",
130 .pkg = Pkg{ .name = "licenses-text", .source = .{ .path = dirs._pt88y5d80m25 ++ "/src/lib.zig" }, .dependencies = null },210 .name = "leven",
211 .entry = "/git/github.com/nektro/zig-leven/ab852cf74fa0b4edc530d925f0654b62c60365bf/src/lib.zig",
212 .deps = &[_]*Package{ &_tnj3qf44tpeq },
131 };213 };
132 pub const _96h80ezrvj7i = Package{214 pub var _2ovav391ivak = Package{
133 .directory = dirs._96h80ezrvj7i,215 .store = "/git/github.com/nektro/zig-detect-license/de5c285d999eea68b9189b48bb000243fef0a689",
134 .pkg = Pkg{ .name = "leven", .source = .{ .path = dirs._96h80ezrvj7i ++ "/src/lib.zig" }, .dependencies = &.{ _tnj3qf44tpeq.pkg.? } },216 .name = "detect-license",
217 .entry = "/git/github.com/nektro/zig-detect-license/de5c285d999eea68b9189b48bb000243fef0a689/src/lib.zig",
218 .deps = &[_]*Package{ &_pt88y5d80m25, &_96h80ezrvj7i },
135 };219 };
136 pub const _2ovav391ivak = Package{220 pub var _iecwp4b3bsfm = Package{
137 .directory = dirs._2ovav391ivak,221 .store = "/git/github.com/nektro/zig-time/52a6050939b83e9f8b52b2236a36332dcb4c17a3",
138 .pkg = Pkg{ .name = "detect-license", .source = .{ .path = dirs._2ovav391ivak ++ "/src/lib.zig" }, .dependencies = &.{ _pt88y5d80m25.pkg.?, _96h80ezrvj7i.pkg.? } },222 .name = "time",
223 .entry = "/git/github.com/nektro/zig-time/52a6050939b83e9f8b52b2236a36332dcb4c17a3/time.zig",
224 .deps = &[_]*Package{ &_tnj3qf44tpeq, &_f7dubzb7cyqe },
139 };225 };
140 pub const _c1xirp1ota5p = Package{226 pub var _9k24gimke1an = Package{
141 .directory = dirs._c1xirp1ota5p,227 .store = "/git/github.com/truemedian/hzzp/d4fbade2d806fc93bc5f79ec8efdcc25ea625fa3",
142 .pkg = Pkg{ .name = "inquirer", .source = .{ .path = dirs._c1xirp1ota5p ++ "/src/lib.zig" }, .dependencies = &.{ _s84v9o48ucb0.pkg.?, _tnj3qf44tpeq.pkg.? } },228 .name = "hzzp",
229 .entry = "/git/github.com/truemedian/hzzp/d4fbade2d806fc93bc5f79ec8efdcc25ea625fa3/src/main.zig",
143 };230 };
144 pub const _u7sysdckdymi = Package{231 pub var _ejw82j2ipa0e = Package{
145 .directory = dirs._u7sysdckdymi,232 .store = "/git/github.com/truemedian/zfetch/12b1374aae32e8ebf719a096a22cdf4c49433458",
146 .pkg = Pkg{ .name = "ini", .source = .{ .path = dirs._u7sysdckdymi ++ "/src/ini.zig" }, .dependencies = null },233 .name = "zfetch",
234 .entry = "/git/github.com/truemedian/zfetch/12b1374aae32e8ebf719a096a22cdf4c49433458/src/main.zig",
235 .deps = &[_]*Package{ &_9k24gimke1an, &_csbnipaad8n7, &_u9w9dpp6p804 },
147 };236 };
148 pub const _iecwp4b3bsfm = Package{237 pub var _2ta738wrqbaq = Package{
149 .directory = dirs._iecwp4b3bsfm,238 .store = "/git/github.com/ziglibs/known-folders/24845b0103e611c108d6bc334231c464e699742c",
150 .pkg = Pkg{ .name = "time", .source = .{ .path = dirs._iecwp4b3bsfm ++ "/time.zig" }, .dependencies = &.{ _tnj3qf44tpeq.pkg.?, _f7dubzb7cyqe.pkg.? } },239 .name = "known-folders",
240 .entry = "/git/github.com/ziglibs/known-folders/24845b0103e611c108d6bc334231c464e699742c/known-folders.zig",
151 };241 };
152 pub const _89ujp8gq842x = Package{242 pub var _89ujp8gq842x = Package{
153 .directory = dirs._89ujp8gq842x,243 .name = "zigmod",
154 .pkg = Pkg{ .name = "zigmod", .source = .{ .path = dirs._89ujp8gq842x ++ "/src/lib.zig" }, .dependencies = &.{ _s84v9o48ucb0.pkg.?, _2ta738wrqbaq.pkg.?, _0npcrzfdlrvk.pkg.?, _ejw82j2ipa0e.pkg.?, _ocmr9rtohgcc.pkg.?, _tnj3qf44tpeq.pkg.?, _2ovav391ivak.pkg.?, _c1xirp1ota5p.pkg.?, _u7sysdckdymi.pkg.?, _iecwp4b3bsfm.pkg.? } },244 .entry = "/../..//src/lib.zig",
245 .deps = &[_]*Package{ &_s84v9o48ucb0, &_2ta738wrqbaq, &_0npcrzfdlrvk, &_ejw82j2ipa0e, &_ocmr9rtohgcc, &_tnj3qf44tpeq, &_2ovav391ivak, &_c1xirp1ota5p, &_u7sysdckdymi, &_iecwp4b3bsfm },
155 };246 };
156 pub const _o6ogpor87xc2 = Package{247 pub var _root = Package{
157 .directory = dirs._o6ogpor87xc2,
158 .pkg = Pkg{ .name = "win32", .source = .{ .path = dirs._o6ogpor87xc2 ++ "/win32.zig" }, .dependencies = null },
159 };248 };
160 pub const _root = Package{249 pub var _8mdbh0zuneb0 = Package{
161 .directory = dirs._root,250 .store = "/git/github.com/yaml/libyaml/2c891fc7a770e8ba2fec34fc6b545c672beb37e6",
251 .c_include_dirs = &.{ "include" },
252 .c_source_files = &.{ "src/api.c", "src/dumper.c", "src/emitter.c", "src/loader.c", "src/parser.c", "src/reader.c", "src/scanner.c", "src/writer.c" },
253 .c_source_flags = &.{ "-DYAML_VERSION_MAJOR=0", "-DYAML_VERSION_MINOR=2", "-DYAML_VERSION_PATCH=5", "-DYAML_VERSION_STRING=\"0.2.5\"", "-DYAML_DECLARE_STATIC=1" },
162 };254 };
163};255};
164256
165pub const packages = &[_]Package{257pub const packages = [_]*const Package{
166 package_data._89ujp8gq842x,258 &package_data._89ujp8gq842x,
167 package_data._o6ogpor87xc2,259 &package_data._o6ogpor87xc2,
168};260};
169261
170pub const pkgs = struct {262pub const pkgs = struct {
171 pub const zigmod = package_data._89ujp8gq842x;263 pub const zigmod = &package_data._89ujp8gq842x;
172 pub const win32 = package_data._o6ogpor87xc2;264 pub const win32 = &package_data._o6ogpor87xc2;
173};265};
174266
175pub const imports = struct {267pub const imports = struct {