summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/agate-dbf/default.nix
blob: d31608d42bfbcc004fdc7675051ae03b31284500 (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
42
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  setuptools,
  agate,
  dbf,
  dbfread,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "agate-dbf";
  version = "0.2.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "wireservice";
    repo = "agate-dbf";
    tag = finalAttrs.version;
    hash = "sha256-z68nYig+Z1/C+ys7HmjljdnHhUTqH58iBSbqnLnLFs4=";
  };

  build-system = [ setuptools ];

  dependencies = [
    agate
    dbfread
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/wireservice/agate-dbf/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
    description = "Adds read support for dbf files to agate";
    homepage = "https://github.com/wireservice/agate-dbf";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
})