diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-12-30 15:10:02 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-12-31 11:01:55 +0100 |
commit | 472ef7a0f8fd201fcc79edca3745d8d85d6fd66b (patch) | |
tree | f0d605a59cd346dc495fc5e1459ba07021a7b874 /pkgs/development/python-modules/lxml | |
parent | b0146980e563eeb1cdd27293ac67c48dc3785a6c (diff) |
python.pkgs.lxml: move expression
Diffstat (limited to 'pkgs/development/python-modules/lxml')
-rw-r--r-- | pkgs/development/python-modules/lxml/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/lxml/default.nix b/pkgs/development/python-modules/lxml/default.nix new file mode 100644 index 0000000000000..73a0b0a7382d6 --- /dev/null +++ b/pkgs/development/python-modules/lxml/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, libxml2 +, libxslt +}: + +buildPythonPackage rec { + pname = "lxml"; + version = "3.8.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "15nvf6n285n282682qyw3wihsncb0x5amdhyi4b83bfa2nz74vvk"; + }; + + 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 ]; + }; +} \ No newline at end of file |