meilisearch: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-10 16:36:29 +01:00 committed by Yt
parent 14fd1bf61c
commit e212230b2d

View File

@ -13,16 +13,25 @@ in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "meilisearch"; pname = "meilisearch";
inherit version; inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "meilisearch"; owner = "meilisearch";
repo = "MeiliSearch"; repo = "MeiliSearch";
rev = "v${version}"; 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. # Default features include mini dashboard which downloads something from the internet.
buildNoDefaultFeatures = true; buildNoDefaultFeatures = true;
buildInputs = lib.optionals stdenv.isDarwin [ Security DiskArbitration Foundation ];
buildInputs = lib.optionals stdenv.isDarwin [
Security
DiskArbitration
Foundation
];
passthru.tests = { passthru.tests = {
meilisearch = nixosTests.meilisearch; meilisearch = nixosTests.meilisearch;
}; };
@ -33,6 +42,7 @@ rustPlatform.buildRustPackage {
meta = with lib; { meta = with lib; {
description = "Powerful, fast, and an easy to use search engine "; description = "Powerful, fast, and an easy to use search engine ";
homepage = "https://docs.meilisearch.com/"; homepage = "https://docs.meilisearch.com/";
changelog = "https://github.com/meilisearch/meilisearch/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ happysalada ]; maintainers = with maintainers; [ happysalada ];
platforms = [ "aarch64-darwin" "x86_64-linux" "x86_64-darwin" ]; platforms = [ "aarch64-darwin" "x86_64-linux" "x86_64-darwin" ];