python3Packages.prosemirror: init at 0.5.0 (#346923)
This commit is contained in:
commit
164098be8e
40
pkgs/development/python-modules/prosemirror/default.nix
Normal file
40
pkgs/development/python-modules/prosemirror/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; });
|
||||
|
Loading…
Reference in New Issue
Block a user