mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-06 04:40:10 +00:00
python3Packages.langchain-community: migrate to finalAttrs
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-community";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
@@ -46,11 +46,11 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-community";
|
||||
tag = "libs/community/v${version}";
|
||||
tag = "libs/community/v${finalAttrs.version}";
|
||||
hash = "sha256-I9xULsg+tlXM3Brh6Xa5xvFENx8zn4FRZ1/evNEh8UY=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/community";
|
||||
sourceRoot = "${finalAttrs.src.name}/libs/community";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -130,11 +130,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Community contributed LangChain integrations";
|
||||
homepage = "https://github.com/langchain-ai/langchain-community";
|
||||
changelog = "https://github.com/langchain-ai/langchain-community/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/langchain-ai/langchain-community/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
natsukium
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user