13 buildPerlPackage rec {
17 src = fetchFromGitHub {
18 owner = "openstreetmap";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-p2P19tifA/AvJatTzboyhtt7W1SwKJQzqpU4oDalfhU=";
25 # https://github.com/openstreetmap/tirex/pull/54
27 url = "https://github.com/openstreetmap/tirex/commit/da0c5db926bc0939c53dd902a969b689ccf9edde.patch";
28 hash = "sha256-bnL1ZGy8ZNSZuCRbZn59qRVLg3TL0GjFYnhRKroeVO0=";
38 ] ++ mapnik.buildInputs;
41 install -m 755 -d $out/usr/libexec
42 make install DESTDIR=$out INSTALLOPTS=""
43 mv $out/$out/lib $out/$out/share $out
44 rmdir $out/$out $out/nix/store $out/nix
47 passthru.updateScript = nix-update-script { };
50 description = "Tools for running a map tile server";
51 homepage = "https://wiki.openstreetmap.org/wiki/Tirex";
52 maintainers = with lib.maintainers; [ jglukasik ];
53 license = with lib.licenses; [ gpl2Only ];