1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/by-name/qd/qdrant-web-ui/package.nix
2024-08-26 15:07:59 +00:00

36 lines
837 B
Nix

{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
buildNpmPackage rec {
pname = "qdrant-web-ui";
version = "0.1.31";
src = fetchFromGitHub {
owner = "qdrant";
repo = "qdrant-web-ui";
rev = "refs/tags/v${version}";
hash = "sha256-NNX//0ZkXYMaP14TI4BLMQI4jN+Mxc7uZu4rDZTXHG8=";
};
npmDepsHash = "sha256-ZCHsVIbtnfrksBmXbYkZLv4WH+DBNazHCOtsgi+PKPc=";
npmBuildScript = "build-qdrant";
installPhase = ''
runHook preInstall
cp -r dist $out
runHook postInstall
'';
meta = {
description = "Self-hosted web UI for Qdrant";
homepage = "https://github.com/qdrant/qdrant-web-ui";
changelog = "https://github.com/qdrant/qdrant-web-ui/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ xzfc ];
platforms = lib.platforms.all;
};
}