Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 40 lines 749 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 setuptools-scm, 5 pytestCheckHook, 6 fetchPypi, 7 lxml, 8 cssselect, 9}: 10 11buildPythonPackage rec { 12 pname = "prosemirror"; 13 version = "0.5.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-COjCU//frJf2MNgaAz5aQizbjRsF3ypYFXS6aDjqrIU="; 19 }; 20 21 build-system = [ setuptools-scm ]; 22 23 dependencies = [ 24 lxml 25 cssselect 26 ]; 27 28 pythonImportsCheck = [ "prosemirror" ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 ]; 33 34 meta = { 35 description = "Python implementation of core ProseMirror modules for collaborative editing"; 36 homepage = "https://pypi.org/project/prosemirror"; 37 license = lib.licenses.bsd3; 38 maintainers = with lib.maintainers; [ onny ]; 39 }; 40}