7 rustPlatform.buildRustPackage rec {
9 version = "0.14.5"; # When updating: Replace with current version
11 src = fetchFromGitHub {
12 owner = "versatiles-org";
13 repo = "versatiles-rs";
14 rev = "refs/tags/v${version}"; # When updating: Replace with long commit hash of new version
15 hash = "sha256-ejMqTMGLbVr/Aaqw8U0ojV43N6t0GeWdYIcP0guAsO0="; # When updating: Use `lib.fakeHash` for recomputing the hash once. Run: 'nix-build -A versatiles'. Swap with new hash and proceed.
18 cargoHash = "sha256-2C/oPB48CTX7i4xoF1iegrpNvaSMkIbVeEyy/WteKqM="; # When updating: Same as above
20 # Testing only necessary for the `bins` and `lib` features
26 # Skip tests that require network access
28 "--skip tools::convert::tests::test_remote1"
29 "--skip tools::convert::tests::test_remote2"
30 "--skip tools::probe::tests::test_remote"
31 "--skip tools::serve::tests::test_remote"
32 "--skip utils::io::data_reader_http"
33 "--skip utils::io::data_reader_http::tests::read_range_git"
34 "--skip utils::io::data_reader_http::tests::read_range_googleapis"
38 description = "Toolbox for converting, checking and serving map tiles in various formats";
40 VersaTiles is a Rust-based project designed for processing and serving tile data efficiently.
41 It supports multiple tile formats and offers various functionalities for handling tile data.
43 homepage = "https://versatiles.org/";
44 downloadPage = "https://github.com/versatiles-org/versatiles-rs";
45 changelog = "https://github.com/versatiles-org/versatiles-rs/releases/tag/v${version}";
46 license = lib.licenses.mit;
47 maintainers = with lib.maintainers; [ wilhelmines ];
48 mainProgram = "versatiles";
49 platforms = with lib.platforms; linux ++ darwin ++ windows;