tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gopher64: 1.0.16 -> 1.0.17
TomaSajt
7 months ago
73406103
32b3eddb
+16
-16
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
go
gopher64
package.nix
use-sdl3-via-pkg-config.patch
+3
-3
pkgs/by-name/go/gopher64/package.nix
···
19
20
rustPlatform.buildRustPackage (finalAttrs: {
21
pname = "gopher64";
22
-
version = "1.0.16";
23
24
src = fetchFromGitHub {
25
owner = "gopher64";
26
repo = "gopher64";
27
tag = "v${finalAttrs.version}";
28
-
hash = "sha256-TduOmKK4OAmhP2VUT0eeoKHQHmsM8kptrxfgCdDFTRU=";
29
fetchSubmodules = true;
30
leaveDotGit = true;
31
postFetch = ''
···
51
'';
52
53
useFetchCargoVendor = true;
54
-
cargoHash = "sha256-9fZ7zFTqt1VNnmCqFzWrZFD1PQZ7paz7r2Mb+9+C9Rs=";
55
56
env.ZSTD_SYS_USE_PKG_CONFIG = true;
57
···
19
20
rustPlatform.buildRustPackage (finalAttrs: {
21
pname = "gopher64";
22
+
version = "1.0.17";
23
24
src = fetchFromGitHub {
25
owner = "gopher64";
26
repo = "gopher64";
27
tag = "v${finalAttrs.version}";
28
+
hash = "sha256-DDFtPISV17jQMECBIqYbbGhZpjYXuNnOq7EiEVtSzgc=";
29
fetchSubmodules = true;
30
leaveDotGit = true;
31
postFetch = ''
···
51
'';
52
53
useFetchCargoVendor = true;
54
+
cargoHash = "sha256-31kEYwlDA6iYcwPZyQU4gM/VLfPNeYcDKhhBqzNp/QE=";
55
56
env.ZSTD_SYS_USE_PKG_CONFIG = true;
57
+13
-13
pkgs/by-name/go/gopher64/use-sdl3-via-pkg-config.patch
···
1
diff --git a/Cargo.lock b/Cargo.lock
2
-
index 89bc1d0..72b65cd 100644
3
--- a/Cargo.lock
4
+++ b/Cargo.lock
5
-
@@ -626,15 +626,6 @@ dependencies = [
6
"error-code",
7
]
8
···
18
[[package]]
19
name = "cobs"
20
version = "0.2.3"
21
-
@@ -3245,12 +3236,6 @@ dependencies = [
22
"windows-sys 0.52.0",
23
]
24
···
31
[[package]]
32
name = "rustc-demangle"
33
version = "0.1.24"
34
-
@@ -3380,21 +3365,13 @@ version = "1.2.0"
35
source = "registry+https://github.com/rust-lang/crates.io-index"
36
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
37
38
-[[package]]
39
-name = "sdl3-src"
40
-
-version = "3.2.10"
41
-source = "registry+https://github.com/rust-lang/crates.io-index"
42
-
-checksum = "e677fa126db179fb8f03c982163321496ddf57a6d8a1e41eeef4600f956038b1"
43
-
44
[[package]]
45
name = "sdl3-sys"
46
-
version = "0.4.7+SDL3-3.2.10"
47
source = "registry+https://github.com/rust-lang/crates.io-index"
48
-
checksum = "f0d16a8a3623a4cb39a3661c81d9d4c5fd77ada27fc056e320b3651bf7bde1b1"
49
dependencies = [
50
- "cmake",
51
- "rpkg-config",
···
55
56
[[package]]
57
diff --git a/Cargo.toml b/Cargo.toml
58
-
index 1f41e04..9d9ea33 100644
59
--- a/Cargo.toml
60
+++ b/Cargo.toml
61
@@ -18,7 +18,7 @@ serde-big-array = "0.5"
62
eframe = { version = "0.31", default-features = false, features = ["wayland", "x11", "glow"] }
63
sha2 = "0.10"
64
ab_glyph = "0.2"
65
-
-sdl3-sys = { version = "0.4", features = ["build-from-source-static"] }
66
-
+sdl3-sys = { version = "0.4", features = ["use-pkg-config"] }
67
rfd = { version = "0.15", default-features = false, features = ["xdg-portal", "tokio"] }
68
-
tokio = {version = "1.43", features = ["rt-multi-thread", "macros"] }
69
spin_sleep = "1.3"
70
diff --git a/build.rs b/build.rs
71
-
index 67a6e8d..6c9f63b 100644
72
--- a/build.rs
73
+++ b/build.rs
74
@@ -52,10 +52,7 @@ fn main() {
···
1
diff --git a/Cargo.lock b/Cargo.lock
2
+
index 81c7e20..6ae0a17 100644
3
--- a/Cargo.lock
4
+++ b/Cargo.lock
5
+
@@ -611,15 +611,6 @@ dependencies = [
6
"error-code",
7
]
8
···
18
[[package]]
19
name = "cobs"
20
version = "0.2.3"
21
+
@@ -3243,12 +3234,6 @@ dependencies = [
22
"windows-sys 0.52.0",
23
]
24
···
31
[[package]]
32
name = "rustc-demangle"
33
version = "0.1.24"
34
+
@@ -3370,21 +3355,13 @@ version = "1.2.0"
35
source = "registry+https://github.com/rust-lang/crates.io-index"
36
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
37
38
-[[package]]
39
-name = "sdl3-src"
40
+
-version = "3.2.16"
41
-source = "registry+https://github.com/rust-lang/crates.io-index"
42
+
-checksum = "c5b5d192485408fa251477ea1dfb4778d864efaec72f730ce3a753deaffb27bb"
43
-
44
[[package]]
45
name = "sdl3-sys"
46
+
version = "0.5.2+SDL3-3.2.16"
47
source = "registry+https://github.com/rust-lang/crates.io-index"
48
+
checksum = "f0a31799d7cbd36f2b187c32a56975fbdd371c200a91b01d4ed0faf0012bcf9c"
49
dependencies = [
50
- "cmake",
51
- "rpkg-config",
···
55
56
[[package]]
57
diff --git a/Cargo.toml b/Cargo.toml
58
+
index 82d8e99..8b15aad 100644
59
--- a/Cargo.toml
60
+++ b/Cargo.toml
61
@@ -18,7 +18,7 @@ serde-big-array = "0.5"
62
eframe = { version = "0.31", default-features = false, features = ["wayland", "x11", "glow"] }
63
sha2 = "0.10"
64
ab_glyph = "0.2"
65
+
-sdl3-sys = { version = "0.5", features = ["build-from-source-static"] }
66
+
+sdl3-sys = { version = "0.5", features = ["use-pkg-config"] }
67
rfd = { version = "0.15", default-features = false, features = ["xdg-portal", "tokio"] }
68
+
tokio = {version = "1.45", features = ["rt-multi-thread", "macros"] }
69
spin_sleep = "1.3"
70
diff --git a/build.rs b/build.rs
71
+
index f0c6d21..fa28e25 100644
72
--- a/build.rs
73
+++ b/build.rs
74
@@ -52,10 +52,7 @@ fn main() {