summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/xlwt/default.nix
blob: 008566a6b2dd287e12d946167e0ada4c679fc15d (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  six,
}:

buildPythonPackage {
  pname = "xlwt";
  version = "1.3.0-unstable-2018-09-16";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "python-excel";
    repo = "xlwt";
    # Use last commit before archival
    rev = "5a222d0315b6d3ce52a3cedd7c3e41309587c107";
    hash = "sha256-YKbqdimX1q+d7A9BSwuKl3SndQ+0eocz+m6xMAZeMQQ=";
  };

  build-system = [ setuptools ];

  dependencies = [ six ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "xlwt" ];

  meta = {
    description = "Library to create spreadsheet files compatible with MS";
    homepage = "https://github.com/python-excel/xlwt";
    license = with lib.licenses; [
      bsdOriginal
      bsd3
      lgpl21Plus
    ];
    maintainers = with lib.maintainers; [ pyrox0 ];
  };
}