3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/lxml/default.nix
2018-07-22 16:52:44 +02:00

28 lines
599 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, libxml2
, libxslt
}:
buildPythonPackage rec {
pname = "lxml";
version = "4.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "622f7e40faef13d232fb52003661f2764ce6cdef3edb0a59af7c1559e4cc36d1";
};
buildInputs = [ libxml2 libxslt ];
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";
meta = {
description = "Pythonic binding for the libxml2 and libxslt libraries";
homepage = https://lxml.de;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
};
}