depot/third_party/nixpkgs/pkgs/development/python-modules/agate-excel/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

29 lines
729 B
Nix

{ lib, fetchPypi, buildPythonPackage
, agate, openpyxl, xlrd, pytestCheckHook
}:
buildPythonPackage rec {
pname = "agate-excel";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52";
};
propagatedBuildInputs = [ agate openpyxl xlrd ];
checkInputs = [ pytestCheckHook ];
disabledTests = [
# See https://github.com/wireservice/agate-excel/issues/45
"test_ambiguous_date"
];
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 ];
};
}