blob: 4586fb355b1ae61735a603c89648f43f97f8e23b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
hatchling,
hatch-vcs,
pytestCheckHook,
fetchPypi,
lxml,
cssselect,
}:
buildPythonPackage rec {
pname = "prosemirror";
version = "0.5.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-cZwqoKQ+B7d07R20dXTiDsiBIYYTyaWa2SnGs8o8Hl8=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
lxml
cssselect
];
pythonImportsCheck = [ "prosemirror" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python implementation of core ProseMirror modules for collaborative editing";
homepage = "https://pypi.org/project/prosemirror";
changelog = "https://github.com/fellowapp/prosemirror-py/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ onny ];
};
}
|