diff options
author | Artemis Tosini <me@artem.ist> | 2019-10-29 02:59:32 +0000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-28 21:15:19 -0700 |
commit | 8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477 (patch) | |
tree | 062a8b9a28fee1d9ba67899c515328dcb3fbb655 /pkgs/development/python-modules | |
parent | 21c0cc1eeefa7834e13787d248c37331fb18b55c (diff) | |
download | nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar.gz nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar.bz2 nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar.lz nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar.xz nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.tar.zst nixpkgs-8fc1bd6ec352c8304fdbf0eba9ad420fe9e8e477.zip |
pythonPackages.html2text: freeze at 2018.1.9
I was unable tp build calibre at the current git master as it relies on pytthon27Packages.html2text. Python 2.7 support was removed in the latest version. This PR downgrades html2text when using an unsupported Python version. This PR does not fix building python37Packages.html2text and python38Packages.html2text, which were broken at master due to what seems to be a problem in buildPythonPackage.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/html2text/2018.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/html2text/2018.nix b/pkgs/development/python-modules/html2text/2018.nix new file mode 100644 index 00000000000..cac88c55794 --- /dev/null +++ b/pkgs/development/python-modules/html2text/2018.nix @@ -0,0 +1,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; + }; + +} |