pythonPackages.xlrd: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-25 20:46:36 -04:00
committed by Frederik Rietdijk
parent bf6229e434
commit 45a5be3767
2 changed files with 29 additions and 15 deletions

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "xlrd";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "8e8d3359f39541a6ff937f4030db54864836a06e42988c452db5b6b86d29ea72";
};
buildInputs = [ nose ];
checkPhase = ''
nosetests -v
'';
meta = with stdenv.lib; {
homepage = http://www.python-excel.org/;
description = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files";
license = licenses.bsd0;
};
}