mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +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.
30 lines
691 B
Nix
30 lines
691 B
Nix
{ lib, stdenv
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, IOKit
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "meilisearch";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "meilisearch";
|
|
repo = "MeiliSearch";
|
|
rev = "v${version}";
|
|
sha256 = "00i5vsbcyrbsvhr5n1b3pxa87v0kfw6pg931i2kzyf4wh021k6sw";
|
|
};
|
|
|
|
cargoSha256 = "1icxpragn69c95i5gyx0b07gw4h82r8fsv0nvns0v8dxqisz877k";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Security ];
|
|
|
|
meta = with lib; {
|
|
description = "Ultra relevant and instant full-text search API";
|
|
homepage = "https://meilisearch.com/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|