depot/third_party/nixpkgs/pkgs/by-name/qd/qdrant-web-ui/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

35 lines
827 B
Nix

{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
buildNpmPackage rec {
pname = "qdrant-web-ui";
version = "0.1.37";
src = fetchFromGitHub {
owner = "qdrant";
repo = "qdrant-web-ui";
tag = "v${version}";
hash = "sha256-Vp50kZwtlQ6IgxkS8cndupTU8WMWp9Juoc5CNbyYyXI=";
};
npmDepsHash = "sha256-6e6Ubfu5D9FJUc+IQ53KxQ1KmsHQXGqW4FXB1Uj15eE=";
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;
};
}