summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ofxhome/default.nix
blob: 0110cfdba10dd416b1a821b0653830a223d83164 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  version = "0.3.3";
  pname = "ofxhome";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "captin411";
    repo = "ofxhome";
    rev = "v${version}";
    hash = "sha256-i16bE9iuafhAKco2jYfg5T5QCWFHdnYVztf1z2XbO9g=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  # These are helper functions that should not be called as tests
  disabledTests = [
    "testfile_name"
    "testfile"
  ];

  meta = {
    homepage = "https://github.com/captin411/ofxhome";
    description = "ofxhome.com financial institution lookup REST client";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ pyrox0 ];
  };
}