big rework towards Zig 0.15

This commit is contained in:
Kbz-8
2025-10-24 17:31:36 +02:00
parent dcc40e46b9
commit f52052da90
15 changed files with 439 additions and 443 deletions

View File

@@ -1,62 +1,42 @@
.{
.name = .NZSL,
// This is a [Semantic Version](https://semver.org/).
// In a future version of Zig it will be used for package deduplication.
.version = "0.0.0",
.version = "1.1.1",
.fingerprint = 0xd558585854524c37,
// This field is optional.
// This is currently advisory only; Zig does not yet do anything
// with this value.
//.minimum_zig_version = "0.11.0",
// This field is optional.
// Each dependency must either provide a `url` and `hash`, or a `path`.
// `zig build --fetch` can be used to fetch all dependencies of a package, recursively.
// Once all dependencies are fetched, `zig build` no longer requires
// internet connectivity.
.dependencies = .{
.nzsl_source = .{
.url = "https://github.com/NazaraEngine/ShaderLang/archive/97dfc07923572cb26aa2db485df6bd837dea79bb.tar.gz",
.hash = "12203c913b5cbccbb4b6b11d7e5730f81ed0737553fe3fc30995d059bf859101933f",
.nzsl = .{
.url = "git+https://github.com/NazaraEngine/ShaderLang?ref=v1.1.1#6d06572eaa664b1655f57522edf1e8c88292be0a",
.hash = "N-V-__8AAPOQIwAwA5SQCrbVxrBp5Q7YX--899XJIjFv6rZn",
.lazy = true,
.lazy = true,
},
.NazaraUtils = .{
.url = "https://github.com/NazaraEngine/NazaraUtils/archive/cbdb331a9610fa52f51e7c86576cc9e2e7235691.tar.gz",
.hash = "1220a6576ccd4e2c0cf5ab804ef680c4d1834859d1f7a7e3228fef73f8dce8c0e826",
.url = "git+https://github.com/NazaraEngine/NazaraUtils?ref=v1.0.0#d2f5d902ed9ac2bc8e26a015b1ff02edc5e3b550",
.hash = "N-V-__8AAJuBBgAWrip3l4mh6_ZGHqqhMM71rYLtPorOOwyf",
.lazy = true,
},
.frozen = .{
.url = "https://github.com/serge-sans-paille/frozen/archive/292a8110466ae964c8fde9d0e0371e5ac21bfa60.tar.gz",
.hash = "122039e95c3739bd73b8413d3448395b1e7b17953e342e4c3c07de848d406a28733c",
.url = "git+https://github.com/serge-sans-paille/frozen?ref=1.2.0#06bee5321cecd9a9ffaceb164b5adb2ffafae781",
.hash = "N-V-__8AAKBODwDkFCWVcsOuoC6UVtDAF1UXmqRUcTQ3nAei",
.lazy = true,
},
.fmt = .{
.url = "https://github.com/fmtlib/fmt/archive/e69e5f977d458f2650bb346dadf2ad30c5320281.tar.gz",
.hash = "12202f41bb1cbca6f555a37883ce510374b9ca577ed5cd117d71c7bdc2c87380e14d",
.url = "git+https://github.com/fmtlib/fmt?ref=12.0.0#e424e3f2e607da02742f73db84873b8084fc714c",
.hash = "N-V-__8AAPoaLgBRjRikFTr6HpPPxdavmJAPy_SOYbgt3cIM",
.lazy = true,
},
.ordered_map = .{
.url = "https://github.com/Tessil/ordered-map/archive/bd8d5ef4149cd40783a486011778a2e7eedde441.tar.gz",
.hash = "122079b9af72c89c53a2fae29968665d7c8c5c9c466764019b7bf81f605072bd087f",
.url = "git+https://github.com/Tessil/ordered-map?ref=v1.1.0#eba0b81b89c42232e8a937389be303a33f34a527",
.hash = "N-V-__8AACcGBQD8RCQaOW9wvl9QUSQ3BoWjFhFdZjAySrEw",
.lazy = true,
},
.fast_float = .{
.url = "https://github.com/fastfloat/fast_float/archive/1fc3ac3932220b5effaca7203bb1bb771528d256.tar.gz",
.hash = "12201d7ec3e6bd8e0e90d5792a66fd4ccc670f337ee8818f8d830c1f4bd7e2fe2f3b",
.url = "git+https://github.com/fastfloat/fast_float?ref=v8.1.0#88b1e5321c6918cbe091afd76728296290668403",
.hash = "N-V-__8AABEwCAAXomDLtLslEEK5zzy4Yy0b2RC-WS-DgdnU",
.lazy = true,
},
},
.paths = .{
// This makes *all* files, recursively, included in this package. It is generally
// better to explicitly list the files and directories instead, to insure that
// fetching from tarballs, file system paths, and version control all result
// in the same contents hash.
"",
// For example...
//"build.zig",
//"build.zig.zon",
//"src",
//"LICENSE",
//"README.md",
},
}