at 18.03-beta 597 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, libxml2 5, libxslt 6}: 7 8buildPythonPackage rec { 9 pname = "lxml"; 10 version = "4.1.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "940caef1ec7c78e0c34b0f6b94fe42d0f2022915ffc78643d28538a5cfd0f40e"; 15 }; 16 17 buildInputs = [ libxml2 libxslt ]; 18 19 hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; 20 21 meta = { 22 description = "Pythonic binding for the libxml2 and libxslt libraries"; 23 homepage = http://lxml.de; 24 license = stdenv.lib.licenses.bsd3; 25 maintainers = with stdenv.lib.maintainers; [ sjourdois ]; 26 }; 27}