mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Diff: https://github.com/y-crdt/pycrdt-store/compare/0.1.4...0.1.5 Changelog: https://github.com/y-crdt/pycrdt-store/blob/0.1.5/CHANGELOG.md
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
hatchling,
|
|
|
|
# dependencies
|
|
anyio,
|
|
pycrdt,
|
|
sqlite-anyio,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
trio,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "pycrdt-store";
|
|
version = "0.1.5";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "y-crdt";
|
|
repo = "pycrdt-store";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-ggfk9MT/thBKHStToYwSDT4+ZL7mqveg9XDEXLAViU8=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = [
|
|
anyio
|
|
pycrdt
|
|
sqlite-anyio
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
trio
|
|
];
|
|
|
|
disabledTestMarks = [ "flaky" ];
|
|
|
|
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/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sarahec ];
|
|
};
|
|
})
|