nixpkgs/pkgs/development/python-modules/agate-excel/default.nix
2019-03-17 16:11:02 +01:00

29 lines
641 B
Nix

{ lib, fetchPypi, fetchpatch, buildPythonPackage
, agate, openpyxl, xlrd, nose
}:
buildPythonPackage rec {
pname = "agate-excel";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52";
};
propagatedBuildInputs = [ agate openpyxl xlrd ];
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "Adds read support for excel files to agate";
homepage = https://github.com/wireservice/agate-excel;
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
};
}