depot/third_party/nixpkgs/pkgs/development/python-modules/prosemirror/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

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 ];
};
}