python313Packages.loro: init at 1.5.4 (#405160)

Changed files
+51
pkgs
development
python-modules
top-level
+49
pkgs/development/python-modules/loro/default.nix
···
+
{
+
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
pkgs/top-level/python-packages.nix
···
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 { };