linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / html2text / default.nix
blob51b92c8a4f69daaf03048a48684a9fc263747dae
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "html2text";
10   version = "2020.1.16";
11   disabled = pythonOlder "3.5";
13   src = fetchFromGitHub {
14     owner = "Alir3z4";
15     repo = pname;
16     rev = version;
17     sha256 = "1y924clp2hiqg3a9437z808p29mqcx537j5fmz71plx8qrcm5jf9";
18   };
20   checkInputs = [ pytestCheckHook ];
22   pythonImportsCheck = [ "html2text" ];
24   meta = with lib; {
25     description = "Turn HTML into equivalent Markdown-structured text";
26     homepage = "https://github.com/Alir3z4/html2text/";
27     license = licenses.gpl3Only;
28   };