From 9357dfc2990cb2f5e3403b6dcedeb45d1b000044 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 27 Aug 2020 17:33:58 +0200 Subject: [PATCH] python3.pkgs.pyexcel-xsl: init at 0.5.8 --- .../python-modules/pyexcel-xls/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/pyexcel-xls/default.nix diff --git a/pkgs/development/python-modules/pyexcel-xls/default.nix b/pkgs/development/python-modules/pyexcel-xls/default.nix new file mode 100644 index 000000000000..40d90deacc5b --- /dev/null +++ b/pkgs/development/python-modules/pyexcel-xls/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pyexcel-io +, xlrd +, xlwt +, nose +}: + +buildPythonPackage rec { + pname = "pyexcel-xls"; + version = "0.5.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "LTPrS9ja37jHO1zMaiONZbORTomnVTsfObk5exfL5AI="; + }; + + propagatedBuildInputs = [ + pyexcel-io + xlrd + xlwt + ]; + + # Tests are not included in the archive. + # https://github.com/pyexcel/pyexcel-xls/issues/35 + doCheck = false; + + pythonImportsCheck = [ "pyexcel_xls" ]; + + meta = { + description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt"; + homepage = "http://docs.pyexcel.org/"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ jtojnar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 07fae4f32c5d..ea5c51e9248e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5580,6 +5580,8 @@ in { pyexcel-io = callPackage ../development/python-modules/pyexcel-io { }; + pyexcel-xls = callPackage ../development/python-modules/pyexcel-xls { }; + pyexcelerator = callPackage ../development/python-modules/pyexcelerator { }; pyext = callPackage ../development/python-modules/pyext { };