mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / by-name / qd / qdrant-web-ui / package.nix
bloba2f630a51f65dfea27302c2114f5485fb0bbe362
2   buildNpmPackage,
3   fetchFromGitHub,
4   lib,
5 }:
6 buildNpmPackage rec {
7   pname = "qdrant-web-ui";
8   version = "0.1.31";
10   src = fetchFromGitHub {
11     owner = "qdrant";
12     repo = "qdrant-web-ui";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-NNX//0ZkXYMaP14TI4BLMQI4jN+Mxc7uZu4rDZTXHG8=";
15   };
17   npmDepsHash = "sha256-ZCHsVIbtnfrksBmXbYkZLv4WH+DBNazHCOtsgi+PKPc=";
19   npmBuildScript = "build-qdrant";
21   installPhase = ''
22     runHook preInstall
23     cp -r dist $out
24     runHook postInstall
25   '';
27   meta = {
28     description = "Self-hosted web UI for Qdrant";
29     homepage = "https://github.com/qdrant/qdrant-web-ui";
30     changelog = "https://github.com/qdrant/qdrant-web-ui/releases/tag/v${version}";
31     license = lib.licenses.asl20;
32     maintainers = with lib.maintainers; [ xzfc ];
33     platforms = lib.platforms.all;
34   };