summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate-excel/default.nix
blob: 4636f51d4bd1d23bcb4bbbcdb3b8c03c76d43095 (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
27
28
{ 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 ];
  };
}