python312Packages.markdownify: refactor
This commit is contained in:
parent
a00bc0510d
commit
32dbb62587
|
@ -1,23 +1,41 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, beautifulsoup4
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, beautifulsoup4
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "markdownify";
|
pname = "markdownify";
|
||||||
version = "0.12.1";
|
version = "0.12.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-H7CMYYsw4O56MaObmY9EoY+yirJU9V9K8GttNaIXnic=";
|
hash = "sha256-H7CMYYsw4O56MaObmY9EoY+yirJU9V9K8GttNaIXnic=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ beautifulsoup4 six ];
|
build-system = [
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
beautifulsoup4
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"markdownify"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "HTML to Markdown converter";
|
description = "HTML to Markdown converter";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user