2017-12-30 14:10:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lxml";
|
2019-10-16 10:43:09 +01:00
|
|
|
version = "4.3.5";
|
2017-12-30 14:10:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:09 +01:00
|
|
|
sha256 = "738862e9724d201f1aa8394cb666d8136d666198e97d6e1e5c9876ad884a86b3";
|
2017-12-30 14:10:02 +00:00
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
nativeBuildInputs = [ libxml2.dev libxslt.dev ];
|
2019-09-21 17:58:23 +01:00
|
|
|
propagatedBuildInputs = [ libxml2 libxslt ];
|
2017-12-30 14:10:02 +00:00
|
|
|
|
|
|
|
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
2018-06-30 01:18:27 +01:00
|
|
|
homepage = https://lxml.de;
|
2017-12-30 14:10:02 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
|
|
|
|
};
|
2018-06-30 01:18:27 +01:00
|
|
|
}
|