mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
t-rex: init at 0.14.2
This commit is contained in:
parent
059fcf50f3
commit
19cbe5c41c
27
pkgs/servers/t-rex/default.nix
Normal file
27
pkgs/servers/t-rex/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "t-rex";
|
||||
version = "0.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "t-rex-tileserver";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QNowkQzEYLOgJ2h0yq+gShmW5WgqPF3iiSejqwrOrHo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-k10DjLJCJLqjmtEED5pwQDt3mOiey89UYC36lG+3AmM=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gdal openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vector tile server specialized on publishing MVT tiles";
|
||||
homepage = "https://t-rex.tileserver.ch/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -12308,6 +12308,10 @@ with pkgs;
|
|||
|
||||
remarkable2-toolchain = callPackage ../development/tools/misc/remarkable/remarkable2-toolchain { };
|
||||
|
||||
t-rex = callPackage ../servers/t-rex {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
tacacsplus = callPackage ../servers/tacacsplus { };
|
||||
|
||||
tamarin-prover =
|
||||
|
|
Loading…
Reference in a new issue