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

28 lines
599 B
Nix
Raw Normal View History

2017-12-30 15:10:02 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, libxml2
, libxslt
}:
buildPythonPackage rec {
pname = "lxml";
2018-08-13 09:26:41 +02:00
version = "4.2.4";
2017-12-30 15:10:02 +01:00
src = fetchPypi {
inherit pname version;
2018-08-13 09:26:41 +02:00
sha256 = "e2afbe403090f5893e254958d02875e0732975e73c4c0cdd33c1f009a61963ca";
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";
2018-06-30 02:18:27 +02:00
homepage = https://lxml.de;
2017-12-30 15:10:02 +01:00
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ sjourdois ];
};
2018-06-30 02:18:27 +02:00
}