nixpkgs/pkgs/development/python-modules/lxml/default.nix

27 lines
597 B
Nix
Raw Normal View History

2017-12-30 15:10:02 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, libxml2
, libxslt
}:
buildPythonPackage rec {
pname = "lxml";
2017-12-30 15:10:45 +01:00
version = "4.1.1";
2017-12-30 15:10:02 +01:00
src = fetchPypi {
inherit pname version;
2017-12-30 15:10:45 +01:00
sha256 = "940caef1ec7c78e0c34b0f6b94fe42d0f2022915ffc78643d28538a5cfd0f40e";
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";
homepage = http://lxml.de;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
};
}