Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / langchain-text-splitters / default.nix
blob81cb942e5155302097e7178b681646aaf8c4d2cb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , poetry-core
5 , langchain-core
6 , lxml
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "langchain-text-splitters";
12   version = "0.0.1";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchPypi {
18     pname = "langchain_text_splitters";
19     inherit version;
20     hash = "sha256-rEWfqYeZ9RF61UJakzCyGWEyHjC8GaKi+fdh3a3WKqE=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     langchain-core
29     lxml
30   ];
32   # PyPI source does not have tests
33   doCheck = false;
35   pythonImportsCheck = [
36     "langchain_text_splitters"
37   ];
39   meta = with lib; {
40     description = "Build context-aware reasoning applications";
41     homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/text-splitters";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };