nixpkgs/pkgs/development/python-modules/lxml/default.nix
2018-10-13 09:50:16 +02:00

28 lines
599 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, libxml2
, libxslt
}:
buildPythonPackage rec {
pname = "lxml";
version = "4.2.5";
src = fetchPypi {
inherit pname version;
sha256 = "36720698c29e7a9626a0dc802ef8885f8f0239bfd1689628ecd459a061f2807f";
};
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 ];
};
}