Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1.3 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
fontconfig,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tiling-gallery";
version = "0.3.0";
src = fetchFromGitHub {
owner = "roothch";
repo = "TilingGallery";
tag = "v${finalAttrs.version}";
hash = "sha256-k6AHNvizXitrdY/K13B/eVBCvdmfVou7Zv3tslHA4T8=";
};
cargoHash = "sha256-xr+gVDaxGtu7U/HaJoFXzNztvp+LNYAGuMqKA9QyXHg=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fontconfig ];
passthru.updateScript = nix-update-script { };
meta = {
description = "CLI tool for generating aperiodic tilings";
longDescription = ''
Tiling Gallery is a Rust-based CLI tool for generating SVG
images of two types of aperiodic tilings:
- Penrose tiling using the De Bruijn pentagrid method Pinwheel
- tiling with recursive triangle subdivision
This project is ideal for generating mathematical and artistic
patterns based on non-periodic tilings.
'';
homepage = "https://github.com/roothch/TilingGallery";
changelog = "https://github.com/roothch/TilingGallery/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "tiling-gallery";
};
})