mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
30 lines
746 B
Nix
30 lines
746 B
Nix
{ lib, fetchPypi, buildPythonPackage
|
|
, agate, openpyxl, xlrd, olefile, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "agate-excel";
|
|
version = "0.2.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "62315708433108772f7f610ca769996b468a4ead380076dbaf6ffe262831b153";
|
|
};
|
|
|
|
propagatedBuildInputs = [ agate openpyxl xlrd olefile ];
|
|
|
|
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 ];
|
|
};
|
|
}
|