Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 537e891929d6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 797d8709b564
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 7, 2020

  1. meilisearch: init at 0.9.0

    Br1ght0ne committed Apr 7, 2020
    Copy the full SHA
    7a4fc7c View commit details

Commits on Apr 12, 2020

  1. Merge pull request #84574 from filalex77/meilisearch-0.9.0

    meilisearch: init at 0.9.0
    marsam authored Apr 12, 2020
    Copy the full SHA
    797d870 View commit details
Showing with 33 additions and 0 deletions.
  1. +29 −0 pkgs/servers/search/meilisearch/default.nix
  2. +4 −0 pkgs/top-level/all-packages.nix
29 changes: 29 additions & 0 deletions pkgs/servers/search/meilisearch/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ 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 = "0axjygk8a7cykpa5skk4a6mkm8rndkr76l10h3z3gjdc88b17qcz";

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit Security ];

meta = with stdenv.lib; {
description = "Ultra relevant and instant full-text search API";
homepage = "https://meilisearch.com/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -4654,6 +4654,10 @@ in

medfile = callPackage ../development/libraries/medfile { };

meilisearch = callPackage ../servers/search/meilisearch {
inherit (darwin.apple_sdk.frameworks) IOKit Security;
};

memtester = callPackage ../tools/system/memtester { };

mhonarc = perlPackages.MHonArc;