2017-12-30 14:10:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lxml";
|
2018-04-04 19:10:54 +01:00
|
|
|
version = "4.2.1";
|
2017-12-30 14:10:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:10:54 +01:00
|
|
|
sha256 = "e2629cdbcad82b83922a3488937632a4983ecc0fed3e5cfbf430d069382eeb9b";
|
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";
|
|
|
|
homepage = http://lxml.de;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
|
|
|
|
};
|
|
|
|
}
|