nixpkgs/pkgs/development/python-modules/xlrd/default.nix

29 lines
535 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "xlrd";
2018-11-04 10:35:22 +00:00
version = "1.1.0";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:22 +00:00
sha256 = "8a21885513e6d915fe33a8ee5fdfa675433b61405ba13e2a69e62ee36828d7e2";
};
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;
};
}