summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate-excel/default.nix
blob: a3e962ea6cd23ad6a351aa24648878a192bd5c45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}