diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-27 10:52:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 10:52:28 -0400 |
commit | d2cffdb66de6f158e1fe83e016ef3079e23b714d (patch) | |
tree | dc1c62fd94ea166e7a00dc6207904dae4600e486 /pkgs | |
parent | 9efae7a513d21ea2ae30441dd49952006da15803 (diff) | |
parent | 32dbb625878907a4f1a7f40fc1107520ef8b1b0c (diff) |
Merge pull request #299371 from r-ryantm/auto-update/python312Packages.markdownify
python312Packages.markdownify: 0.11.6 -> 0.12.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/markdownify/default.nix | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/markdownify/default.nix b/pkgs/development/python-modules/markdownify/default.nix index 19f8429380077..e6b09592073ab 100644 --- a/pkgs/development/python-modules/markdownify/default.nix +++ b/pkgs/development/python-modules/markdownify/default.nix @@ -1,29 +1,48 @@ { lib +, beautifulsoup4 , buildPythonPackage , fetchPypi , pytestCheckHook -, beautifulsoup4 +, pythonOlder +, setuptools , six }: buildPythonPackage rec { pname = "markdownify"; - version = "0.11.6"; - format = "setuptools"; + version = "0.12.1"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-AJskDgyfTI6vHQhWJdzUAR4S8PjOxV3t+epvdlXkm/4="; + hash = "sha256-H7CMYYsw4O56MaObmY9EoY+yirJU9V9K8GttNaIXnic="; }; - propagatedBuildInputs = [ beautifulsoup4 six ]; - nativeCheckInputs = [ pytestCheckHook ]; + build-system = [ + setuptools + ]; + + dependencies = [ + beautifulsoup4 + six + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "markdownify" + ]; meta = with lib; { description = "HTML to Markdown converter"; - mainProgram = "markdownify"; homepage = "https://github.com/matthewwithanm/python-markdownify"; + changelog = "https://github.com/matthewwithanm/python-markdownify/releases/tag/${version}"; license = licenses.mit; - maintainers = [ maintainers.McSinyx ]; + maintainers = with maintainers; [ McSinyx ]; + mainProgram = "markdownify"; }; } |