1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/lxml/default.nix

27 lines
597 B
Nix
Raw Normal View History

2017-12-30 14:10:02 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, libxml2
, libxslt
}:
buildPythonPackage rec {
pname = "lxml";
2017-12-30 14:10:45 +00:00
version = "4.1.1";
2017-12-30 14:10:02 +00:00
src = fetchPypi {
inherit pname version;
2017-12-30 14:10:45 +00:00
sha256 = "940caef1ec7c78e0c34b0f6b94fe42d0f2022915ffc78643d28538a5cfd0f40e";
2017-12-30 14:10:02 +00: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 ];
};
}