Loading pkgs/development/python-modules/docx2python/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -2,15 +2,18 @@ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, lxml, paragraphs, setuptools, setuptools-scm, pytestCheckHook, pythonOlder, typing-extensions, }: buildPythonPackage rec { pname = "docx2python"; version = "2.11.0"; version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -19,22 +22,29 @@ buildPythonPackage rec { owner = "ShayHill"; repo = "docx2python"; rev = "refs/tags/${version}"; hash = "sha256-SavRYnNbESRQh9Elk8qCt/qdI2x+sYZJFMYy+Gojg2k="; hash = "sha256-ucLDdfmLAWcGunOKvh8tBQknXTPI1qOqyXgVGjQOGoQ="; }; nativeBuildInputs = [ poetry-core ]; build-system = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ lxml ]; dependencies = [ lxml paragraphs typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "docx2python" ]; meta = with lib; { homepage = "https://github.com/ShayHill/docx2python"; description = "Extract docx headers, footers, (formatted) text, footnotes, endnotes, properties, and images"; homepage = "https://github.com/ShayHill/docx2python"; changelog = "https://github.com/ShayHill/docx2python/blob/${src.rev}/CHANGELOG.md"; maintainers = [ ]; license = licenses.mit; maintainers = [ ]; }; } pkgs/development/python-modules/paragraphs/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools-scm, setuptools, }: buildPythonPackage rec { pname = "paragraphs"; version = "1.0.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ShayHill"; repo = "paragraphs"; rev = "refs/tags/${version}"; hash = "sha256-u5/oNOCLdvfQVEIEpraeNLjTUoh3eJQ6qSExnkzTmNw="; }; build-system = [ setuptools setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "paragraphs" ]; meta = { description = "Module to incorporate long strings"; homepage = "https://github.com/ShayHill/paragraphs"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9526,6 +9526,8 @@ self: super: with self; { para = callPackage ../development/python-modules/para { }; paragraphs = callPackage ../development/python-modules/paragraphs { }; param = callPackage ../development/python-modules/param { }; parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { }; Loading Loading
pkgs/development/python-modules/docx2python/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -2,15 +2,18 @@ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, lxml, paragraphs, setuptools, setuptools-scm, pytestCheckHook, pythonOlder, typing-extensions, }: buildPythonPackage rec { pname = "docx2python"; version = "2.11.0"; version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -19,22 +22,29 @@ buildPythonPackage rec { owner = "ShayHill"; repo = "docx2python"; rev = "refs/tags/${version}"; hash = "sha256-SavRYnNbESRQh9Elk8qCt/qdI2x+sYZJFMYy+Gojg2k="; hash = "sha256-ucLDdfmLAWcGunOKvh8tBQknXTPI1qOqyXgVGjQOGoQ="; }; nativeBuildInputs = [ poetry-core ]; build-system = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ lxml ]; dependencies = [ lxml paragraphs typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "docx2python" ]; meta = with lib; { homepage = "https://github.com/ShayHill/docx2python"; description = "Extract docx headers, footers, (formatted) text, footnotes, endnotes, properties, and images"; homepage = "https://github.com/ShayHill/docx2python"; changelog = "https://github.com/ShayHill/docx2python/blob/${src.rev}/CHANGELOG.md"; maintainers = [ ]; license = licenses.mit; maintainers = [ ]; }; }
pkgs/development/python-modules/paragraphs/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools-scm, setuptools, }: buildPythonPackage rec { pname = "paragraphs"; version = "1.0.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ShayHill"; repo = "paragraphs"; rev = "refs/tags/${version}"; hash = "sha256-u5/oNOCLdvfQVEIEpraeNLjTUoh3eJQ6qSExnkzTmNw="; }; build-system = [ setuptools setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "paragraphs" ]; meta = { description = "Module to incorporate long strings"; homepage = "https://github.com/ShayHill/paragraphs"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9526,6 +9526,8 @@ self: super: with self; { para = callPackage ../development/python-modules/para { }; paragraphs = callPackage ../development/python-modules/paragraphs { }; param = callPackage ../development/python-modules/param { }; parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { }; Loading