555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
40 lines
749 B
Nix
40 lines
749 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
setuptools-scm,
|
|
pytestCheckHook,
|
|
fetchPypi,
|
|
lxml,
|
|
cssselect,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prosemirror";
|
|
version = "0.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-AwhPJHPDuuQW7NlUs7KL0SLTAH9F+E8RzRbsRnHraiI=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [
|
|
lxml
|
|
cssselect
|
|
];
|
|
|
|
pythonImportsCheck = [ "prosemirror" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Python implementation of core ProseMirror modules for collaborative editing";
|
|
homepage = "https://pypi.org/project/prosemirror";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
};
|
|
}
|