python313Packages.loro: init at 1.5.4 (#405160)

This commit is contained in:
Martin Weinelt
2025-08-30 20:36:18 +02:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchPypi,
rustPlatform,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "loro";
version = "1.5.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-vC1SLkwCkiytZe9d9t1OH+Vd360657XxdU81bM9C9jk=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
hash = "sha256-cjIHU2aMxkYMoulePmxFhuZrqMbnOkEL+Ar75+KCVFw=";
};
build-system = [
rustPlatform.maturinBuildHook
rustPlatform.cargoSetupHook
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# Upstream test has hardcoded version and is rarely updated.
# See https://github.com/loro-dev/loro-py/issues/19
"test_version"
];
meta = {
description = "Data collaborative and version-controlled JSON with CRDTs";
homepage = "https://github.com/loro-dev/loro-py";
changelog = "https://github.com/loro-dev/loro-py/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
dmadisetti
];
};
}
+2
View File
@@ -8723,6 +8723,8 @@ self: super: with self; {
loqedapi = callPackage ../development/python-modules/loqedapi { };
loro = callPackage ../development/python-modules/loro { };
losant-rest = callPackage ../development/python-modules/losant-rest { };
lottie = callPackage ../development/python-modules/lottie { };