My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/readability-lxml/default.nix

33 lines
699 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, chardet
, cssselect
, lxml
}:
buildPythonPackage rec {
pname = "readability-lxml";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5R/qVrWQmq+IbTB9SOeeCWKTJVr6Vnt9CLypTSWxpOE=";
};
propagatedBuildInputs = [ chardet cssselect lxml ];
postPatch = ''
substituteInPlace setup.py --replace 'sys.platform == "darwin"' "False"
'';
doCheck = false;
meta = with lib; {
description = "Fast python port of arc90's readability tool";
homepage = "https://github.com/buriy/python-readability";
license = licenses.apsl20;
maintainers = with maintainers; [ siraben ];
};
}