mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
python311Packages..langchain-text-splitters: init at 0.0.1
This commit is contained in:
parent
aa30c93441
commit
715eaec6ff
2 changed files with 47 additions and 0 deletions
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, langchain-core
|
||||
, lxml
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-text-splitters";
|
||||
version = "0.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "langchain_text_splitters";
|
||||
inherit version;
|
||||
hash = "sha256-rEWfqYeZ9RF61UJakzCyGWEyHjC8GaKi+fdh3a3WKqE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
langchain-core
|
||||
lxml
|
||||
];
|
||||
|
||||
# PyPI source does not have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"langchain_text_splitters"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build context-aware reasoning applications";
|
||||
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/text-splitters";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6298,6 +6298,8 @@ self: super: with self; {
|
|||
|
||||
langchain-core = callPackage ../development/python-modules/langchain-core { };
|
||||
|
||||
langchain-text-splitters = callPackage ../development/python-modules/langchain-text-splitters { };
|
||||
|
||||
langcodes = callPackage ../development/python-modules/langcodes { };
|
||||
|
||||
langdetect = callPackage ../development/python-modules/langdetect { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue