nixpkgs/pkgs/development/python-modules/markdownify/default.nix
2024-03-27 08:53:59 +01:00

31 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, beautifulsoup4
, six
}:
buildPythonPackage rec {
pname = "markdownify";
version = "0.12.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-H7CMYYsw4O56MaObmY9EoY+yirJU9V9K8GttNaIXnic=";
};
propagatedBuildInputs = [ beautifulsoup4 six ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "HTML to Markdown converter";
homepage = "https://github.com/matthewwithanm/python-markdownify";
changelog = "https://github.com/matthewwithanm/python-markdownify/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ McSinyx ];
mainProgram = "markdownify";
};
}