mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
17c719f7cc
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-html5-parser/versions
23 lines
607 B
Nix
23 lines
607 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pkgs, pkgconfig, chardet, lxml }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "html5-parser";
|
|
version = "0.4.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1gzs9fa38m80y509fg58ylwhxgy7w28ww968pi6wmfrih9ib6l93";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
propagatedBuildInputs = [ chardet lxml pkgs.libxml2 ];
|
|
|
|
doCheck = false; # No such file or directory: 'run_tests.py'
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Fast C based HTML 5 parsing for python";
|
|
homepage = https://html5-parser.readthedocs.io;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|