depot/third_party/nixpkgs/pkgs/development/python-modules/xlrd/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
571 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "xlrd";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test -k "not test_tilde_path_expansion"
'';
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;
};
}