depot/third_party/nixpkgs/pkgs/development/python-modules/agate-excel/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
674 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 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "agate" ];
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 ];
};
}