mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
28 lines
733 B
Nix
28 lines
733 B
Nix
{ lib, 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 = "1jgl8s6h4pqhn189swrhn896kw1rkmqpf7dq52ry2rdci80g02nq";
|
|
|
|
buildInputs = with stdenv; lib.optional isDarwin Security;
|
|
|
|
doCheck = false;
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|