kdePackages.kirigami-addons: 1.5.0 -> 1.6.0 (#360539)
[NixPkgs.git] / pkgs / development / python-modules / markdownify / default.nix
blobaa69e9835c9549d29d414155d8007fbf30fee5aa
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9   setuptools-scm,
10   six,
13 buildPythonPackage rec {
14   pname = "markdownify";
15   version = "0.14.1";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "matthewwithanm";
22     repo = "python-markdownify";
23     rev = "refs/tags/${version}";
24     hash = "sha256-YJdR1wV72f9/tWQhuhGwScuRcE243fCP+wnYAzBOoV8=";
25   };
27   build-system = [
28     setuptools
29     setuptools-scm
30   ];
32   dependencies = [
33     beautifulsoup4
34     six
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "markdownify" ];
41   meta = with lib; {
42     description = "HTML to Markdown converter";
43     homepage = "https://github.com/matthewwithanm/python-markdownify";
44     changelog = "https://github.com/matthewwithanm/python-markdownify/releases/tag/${version}";
45     license = licenses.mit;
46     maintainers = with maintainers; [ McSinyx ];
47     mainProgram = "markdownify";
48   };