mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPAckages.html2text: refactor move to python-modules
This commit is contained in:
parent
ec00d1aa54
commit
1b9a9d2530
2 changed files with 22 additions and 14 deletions
21
pkgs/development/python-modules/html2text/default.nix
Normal file
21
pkgs/development/python-modules/html2text/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
|
@ -4401,20 +4401,7 @@ in {
|
|||
|
||||
termcolor = callPackage ../development/python-modules/termcolor { };
|
||||
|
||||
html2text = buildPythonPackage rec {
|
||||
name = "html2text-2016.9.19";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/h/html2text/${name}.tar.gz";
|
||||
sha256 = "554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Turn HTML into equivalent Markdown-structured text";
|
||||
homepage = https://github.com/Alir3z4/html2text/;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
};
|
||||
html2text = callPackage ../development/python-modules/html2text { };
|
||||
|
||||
pychart = callPackage ../development/python-modules/pychart {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue