Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 650 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, libxml2 5, libxslt 6}: 7 8buildPythonPackage rec { 9 pname = "lxml"; 10 version = "4.3.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "da5e7e941d6e71c9c9a717c93725cda0708c2474f532e3680ac5e39ec57d224d"; 15 }; 16 17 nativeBuildInputs = [ libxml2.dev libxslt.dev ]; 18 buildInputs = [ libxml2 libxslt ]; 19 20 hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; 21 22 meta = { 23 description = "Pythonic binding for the libxml2 and libxslt libraries"; 24 homepage = https://lxml.de; 25 license = stdenv.lib.licenses.bsd3; 26 maintainers = with stdenv.lib.maintainers; [ sjourdois ]; 27 }; 28}