summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/search/meilisearch/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-10 16:36:29 +0100
committerYt <happysalada@proton.me>2022-12-10 11:24:57 -0500
commite212230b2ddac52b4fab0f4e758ed1edfc437f94 (patch)
tree660228b6094a7f75e101f60e9664ad5a57fa2e76 /pkgs/servers/search/meilisearch/default.nix
parent14fd1bf61c7dc6cec472db9a88f58a892f98cc1e (diff)
meilisearch: add changelog to meta
Diffstat (limited to 'pkgs/servers/search/meilisearch/default.nix')
-rw-r--r--pkgs/servers/search/meilisearch/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/servers/search/meilisearch/default.nix b/pkgs/servers/search/meilisearch/default.nix
index 3591b85b4f73..9b447275e5ef 100644
--- a/pkgs/servers/search/meilisearch/default.nix
+++ b/pkgs/servers/search/meilisearch/default.nix
@@ -13,16 +13,25 @@ in
rustPlatform.buildRustPackage {
pname = "meilisearch";
inherit version;
+
src = fetchFromGitHub {
owner = "meilisearch";
repo = "MeiliSearch";
rev = "v${version}";
- sha256 = "sha256-kxANzEORvR+BJDfLUD1FLorBuYjnUQixgD2jDoX6jrg=";
+ hash = "sha256-kxANzEORvR+BJDfLUD1FLorBuYjnUQixgD2jDoX6jrg=";
};
- cargoSha256 = "sha256-IYNIr7PBNNloPizaauFYR9/NPnBMS8kQi+RNsKsNjLE=";
+
+ cargoHash = "sha256-IYNIr7PBNNloPizaauFYR9/NPnBMS8kQi+RNsKsNjLE=";
+
# Default features include mini dashboard which downloads something from the internet.
buildNoDefaultFeatures = true;
- buildInputs = lib.optionals stdenv.isDarwin [ Security DiskArbitration Foundation ];
+
+ buildInputs = lib.optionals stdenv.isDarwin [
+ Security
+ DiskArbitration
+ Foundation
+ ];
+
passthru.tests = {
meilisearch = nixosTests.meilisearch;
};
@@ -33,6 +42,7 @@ rustPlatform.buildRustPackage {
meta = with lib; {
description = "Powerful, fast, and an easy to use search engine ";
homepage = "https://docs.meilisearch.com/";
+ changelog = "https://github.com/meilisearch/meilisearch/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
platforms = [ "aarch64-darwin" "x86_64-linux" "x86_64-darwin" ];