Unverified Commit 84b601bf authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.fints: 4.2.4 -> 5.0.0 (#478074)

parents a18cd1d1 b6759cb0
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -4,7 +4,14 @@
  fetchFromGitHub,
}:

python3Packages.buildPythonApplication (finalAttrs: {
let
  pythonPackages = python3Packages.overrideScope (
    self: super: {
      fints = self.fints_4;
    }
  );
in
pythonPackages.buildPythonApplication (finalAttrs: {
  pname = "pretix-banktool";
  version = "1.1.0";
  pyproject = true;
@@ -16,9 +23,9 @@ python3Packages.buildPythonApplication (finalAttrs: {
    hash = "sha256-x6P+WqrOak5/gmMEmBkHrx6kPsbSOAXbKRbndFG3IJU=";
  };

  build-system = with python3Packages; [ setuptools ];
  build-system = with pythonPackages; [ setuptools ];

  dependencies = with python3Packages; [
  dependencies = with pythonPackages; [
    click
    fints
    requests
+53 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  setuptools,
  fetchFromGitHub,
  bleach,
  mt-940,
  pretix-banktool,
  requests,
  sepaxml,
  pytestCheckHook,
  pytest-mock,
}:

buildPythonPackage rec {
  version = "4.2.4";
  pname = "fints";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "raphaelm";
    repo = "python-fints";
    tag = "v${version}";
    hash = "sha256-la5vpWBoZ7hZsAyjjCqHpFfOykDVosI/S9amox1dmzY=";
  };

  pythonRemoveDeps = [ "enum-tools" ];

  build-system = [ setuptools ];

  dependencies = [
    bleach
    mt-940
    requests
    sepaxml
  ];

  __darwinAllowLocalNetworking = true;

  pythonImportsCheck = [ "fints" ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-mock
  ];

  meta = {
    homepage = "https://github.com/raphaelm/python-fints/";
    description = "Pure-python FinTS (formerly known as HBCI) implementation";
    license = lib.licenses.lgpl3Only;
    inherit (pretix-banktool.meta) maintainers;
  };
}
+4 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  setuptools,
  fetchFromGitHub,
  bleach,
  lxml,
  mt-940,
  requests,
  sepaxml,
@@ -12,7 +13,7 @@
}:

buildPythonPackage rec {
  version = "4.2.4";
  version = "5.0.0";
  pname = "fints";
  pyproject = true;

@@ -20,7 +21,7 @@ buildPythonPackage rec {
    owner = "raphaelm";
    repo = "python-fints";
    tag = "v${version}";
    hash = "sha256-la5vpWBoZ7hZsAyjjCqHpFfOykDVosI/S9amox1dmzY=";
    hash = "sha256-ll2+PtcGQiY5nbQTKVetd2ecDBVSXgzWP4Vzzri1Trs=";
  };

  pythonRemoveDeps = [ "enum-tools" ];
@@ -29,6 +30,7 @@ buildPythonPackage rec {

  dependencies = [
    bleach
    lxml
    mt-940
    requests
    sepaxml
+2 −0
Original line number Diff line number Diff line
@@ -5493,6 +5493,8 @@ self: super: with self; {
  fints = callPackage ../development/python-modules/fints { };
  fints_4 = callPackage ../development/python-modules/fints/4.nix { };
  finvizfinance = callPackage ../development/python-modules/finvizfinance { };
  fiona = callPackage ../development/python-modules/fiona { };