2017-12-30 15:10:02 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lxml";
|
2019-02-14 08:37:19 +01:00
|
|
|
version = "4.3.1";
|
2017-12-30 15:10:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 08:37:19 +01:00
|
|
|
sha256 = "da5e7e941d6e71c9c9a717c93725cda0708c2474f532e3680ac5e39ec57d224d";
|
2017-12-30 15:10:02 +01:00
|
|
|
};
|
|
|
|
|
2019-01-05 11:54:27 +01:00
|
|
|
nativeBuildInputs = [ libxml2.dev libxslt.dev ];
|
2017-12-30 15:10:02 +01:00
|
|
|
buildInputs = [ libxml2 libxslt ];
|
|
|
|
|
|
|
|
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
2018-06-30 02:18:27 +02:00
|
|
|
homepage = https://lxml.de;
|
2017-12-30 15:10:02 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
|
|
|
|
};
|
2018-06-30 02:18:27 +02:00
|
|
|
}
|