about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/html2text/default.nix
blob: cac88c5579463e4ad2b49b7c2f7bdad7876946f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "html2text";
  version = "2018.1.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "627514fb30e7566b37be6900df26c2c78a030cc9e6211bda604d8181233bcdd4";
  };

  meta = with stdenv.lib; {
    description = "Turn HTML into equivalent Markdown-structured text";
    homepage = https://github.com/Alir3z4/html2text/;
    license = licenses.gpl3;
  };

}