push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "texture-synthesis";
version = "0.8.2";
src = fetchFromGitHub {
owner = "embarkstudios";
repo = "texture-synthesis";
rev = version;
hash = "sha256-BJa6T+qlbn7uABKIEhFhwLrw5sG/9al4L/2sbllfPFg=";
};
cargoHash = "sha256-4EBMl5yvteoot6/r0tTZ95MQ6HGqgBzlRWClnlyqz/M=";
cargoPatches = [
# fix build with rust 1.76+
# https://github.com/rust-lang/rust/pull/117984
# https://github.com/rust-lang-deprecated/rustc-serialize/pull/200
./update-rustc-serialize.patch
];
# tests fail for unknown reasons on aarch64-darwin
doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64);
meta = with lib; {
description = "Example-based texture synthesis written in Rust";
homepage = "https://github.com/embarkstudios/texture-synthesis";
license = with licenses; [
mit # or
asl20
];
maintainers = with maintainers; [ figsoda ];
mainProgram = "texture-synthesis";
};
}

View File

@@ -0,0 +1,16 @@
diff --git a/Cargo.lock b/Cargo.lock
index 424314c..eb80a7e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -781,9 +781,9 @@ dependencies = [
[[package]]
name = "rustc-serialize"
-version = "0.3.24"
+version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
+checksum = "fe834bc780604f4674073badbad26d7219cadfb4a2275802db12cbae17498401"
[[package]]
name = "rustc_version"