blob: 7f2acb1c3bb5967654c1be4d2e5f16885ec95d8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
six,
}:
buildPythonPackage rec {
pname = "markdownify";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "matthewwithanm";
repo = "python-markdownify";
tag = version;
hash = "sha256-r6nah7QavrMjIHd5hByhy90OoTDb2iIhFZ+YV0h61fU=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
beautifulsoup4
six
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "markdownify" ];
meta = {
description = "HTML to Markdown converter";
homepage = "https://github.com/matthewwithanm/python-markdownify";
changelog = "https://github.com/matthewwithanm/python-markdownify/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ McSinyx ];
mainProgram = "markdownify";
};
}
|