python3Packages.embedding-reader: init at 1.5.0

This commit is contained in:
Samuel Ainsworth
2022-12-15 22:50:27 -08:00
parent c7c950be89
commit 7b1bf5ff8a
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ buildPythonPackage
, fetchFromGitHub
, fsspec
, lib
, numpy
, pandas
, pyarrow
, pytestCheckHook
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "embedding-reader";
version = "1.5.0";
src = fetchFromGitHub {
owner = "rom1504";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-uyeIcAW9O9PR4cqmifC6Lx+Hn6XPb1RH/ksmUWvbdtw=";
};
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [ "pyarrow" ];
propagatedBuildInputs = [ fsspec numpy pandas pyarrow ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "embedding_reader" ];
meta = with lib; {
description = "Efficiently read embedding in streaming from any filesystem";
homepage = "https://github.com/rom1504/embedding-reader";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
};
}
+2
View File
@@ -2945,6 +2945,8 @@ self: super: with self; {
email-validator = callPackage ../development/python-modules/email-validator { };
embedding-reader = callPackage ../development/python-modules/embedding-reader { };
embrace = callPackage ../development/python-modules/embrace { };
emcee = callPackage ../development/python-modules/emcee { };