Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / qd / qdrant-web-ui / package.nix
blobbde3994b9170f2b160507b8f20087842b6a0d0c9
2   buildNpmPackage,
3   fetchFromGitHub,
4   lib,
5 }:
6 buildNpmPackage rec {
7   pname = "qdrant-web-ui";
8   version = "0.1.29";
10   src = fetchFromGitHub {
11     owner = "qdrant";
12     repo = "qdrant-web-ui";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-ni+78odD4PnkqlIzTpHsu16Lk6m9ql/Bq8Bm2qWxHj0=";
15   };
17   npmDepsHash = "sha256-Lg4nNw6wKb5tBUPCIUbriExQs3LKsF0bCCY3S136Epk=";
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   };