diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2020-06-06 13:34:35 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@gmail.com> | 2020-06-25 21:30:39 +0300 |
commit | d1ba7a4b2735404578dbfd02429479f3df32a8c5 (patch) | |
tree | da76b08b0d0a1abd80693d0716f6a503315304c7 /pkgs/servers/martin | |
parent | 33f65a5b3926fe32f1cb46d14b50ccafe5abddd6 (diff) |
martin: init at 0.5.0
Diffstat (limited to 'pkgs/servers/martin')
-rw-r--r-- | pkgs/servers/martin/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/martin/default.nix b/pkgs/servers/martin/default.nix new file mode 100644 index 000000000000..2c506dca6af5 --- /dev/null +++ b/pkgs/servers/martin/default.nix @@ -0,0 +1,27 @@ +{ stdenv, rustPlatform, fetchFromGitHub, Security }: + +rustPlatform.buildRustPackage rec { + pname = "martin"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "urbica"; + repo = pname; + rev = "v${version}"; + sha256 = "1i9zhmjkgid4s90n52wqmrl3lwswcaxd6d47ssycgjl1nv0jla4k"; + }; + + cargoSha256 = "08rr783qvpm1q7s60k7mh3k5npf0lg5s1x74lnxcxdgrlgpn5gcf"; + + buildInputs = with stdenv; lib.optional isDarwin Security; + + doCheck = false; + + meta = with stdenv.lib; { + description = "Blazing fast and lightweight PostGIS vector tiles server"; + homepage = "https://martin.urbica.co/"; + license = licenses.mit; + maintainers = with maintainers; [ sikmir ]; + platforms = with platforms; linux ++ darwin; + }; +} |