about summary refs log tree commit diff
path: root/pkgs/development/python-modules/html2text/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/html2text/default.nix')
-rw-r--r--pkgs/development/python-modules/html2text/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/html2text/default.nix b/pkgs/development/python-modules/html2text/default.nix
new file mode 100644
index 000000000000..6840f461cc94
--- /dev/null
+++ b/pkgs/development/python-modules/html2text/default.nix
@@ -0,0 +1,21 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+  pname = "html2text";
+  version = "2016.9.19";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Turn HTML into equivalent Markdown-structured text";
+    homepage = https://github.com/Alir3z4/html2text/;
+    license = licenses.gpl3;
+  };
+
+}