2017-12-30 14:10:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lxml";
|
2018-10-06 11:56:18 +01:00
|
|
|
version = "4.2.5";
|
2017-12-30 14:10:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:18 +01:00
|
|
|
sha256 = "36720698c29e7a9626a0dc802ef8885f8f0239bfd1689628ecd459a061f2807f";
|
2017-12-30 14:10:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 libxslt ];
|
|
|
|
|
|
|
|
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
|
|
|
}
|