From 49406530b6ed3d248446a31f4d1e5045f0ad4913 Mon Sep 17 00:00:00 2001 From: Enno Lohmeier Date: Thu, 20 Dec 2018 18:46:04 +0100 Subject: [PATCH] pythonPackages.fints: init at 2.0.0 --- .../python-modules/fints/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/fints/default.nix diff --git a/pkgs/development/python-modules/fints/default.nix b/pkgs/development/python-modules/fints/default.nix new file mode 100644 index 000000000000..4f6d8d0dc171 --- /dev/null +++ b/pkgs/development/python-modules/fints/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, + requests, mt-940, sepaxml, bleach, isPy3k }: + +buildPythonPackage rec { + version = "2.0.0"; + pname = "fints"; + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "1jja83h0ld55djiphcxdz64z5qp3w94204bfbgg65v5ybw0vpqq1"; + }; + + propagatedBuildInputs = [ requests mt-940 sepaxml bleach ]; + + # no tests included in PyPI package + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/raphaelm/python-fints/; + description = "Pure-python FinTS (formerly known as HBCI) implementation"; + license = licenses.lgpl3; + maintainers = with maintainers; [ elohmeier ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c468e39f19b3..2a7b48b006d6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -358,6 +358,8 @@ in { filterpy = callPackage ../development/python-modules/filterpy { }; + fints = callPackage ../development/python-modules/fints { }; + fire = callPackage ../development/python-modules/fire { }; fdint = callPackage ../development/python-modules/fdint { };