Commit 63c81066 authored by Sarah Clark's avatar Sarah Clark Committed by Gaetan Lepage
Browse files

python3Packages.pycrdt-store: init at 0.1.3b1

parent 91c233d7
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  hatchling,

  # dependencies
  anyio,
  pycrdt,
  sqlite-anyio,

  # tests
  pytestCheckHook,
  trio,
}:

buildPythonPackage rec {
  pname = "pycrdt-store";
  version = "0.1.3b1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "y-crdt";
    repo = "pycrdt-store";
    tag = version;
    hash = "sha256-UMLR30PqtPUlD6z7VTPl7ZkSSw4HkmO5bUa/lSeFFoE=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    anyio
    pycrdt
    sqlite-anyio
  ];

  nativeCheckInputs = [
    pytestCheckHook
    trio
  ];

  pythonImportsCheck = [ "pycrdt.store" ];

  meta = {
    description = "Persistent storage for pycrdt";
    homepage = "https://github.com/y-crdt/pycrdt-store";
    changelog = "https://github.com/y-crdt/pycrdt-store/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sarahec ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12921,6 +12921,8 @@ self: super: with self; {
  pycrdt = callPackage ../development/python-modules/pycrdt { };
  pycrdt-store = callPackage ../development/python-modules/pycrdt-store { };
  pycrdt-websocket = callPackage ../development/python-modules/pycrdt-websocket { };
  pycritty = callPackage ../development/python-modules/pycritty { };