python3Packages.prosemirror: init at 0.5.0 (#346923)

This commit is contained in:
Jonas Heinrich 2024-10-08 09:48:26 +02:00 committed by GitHub
commit 164098be8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
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 ];
};
}

View File

@ -10114,6 +10114,8 @@ self: super: with self; {
propka = callPackage ../development/python-modules/propka { };
prosemirror = callPackage ../development/python-modules/prosemirror { };
proxsuite = toPythonModule (pkgs.proxsuite.override { pythonSupport = true; python3Packages = self; });
proxsuite-nlp = toPythonModule (pkgs.proxsuite-nlp.override { pythonSupport = true; python3Packages = self; });