mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
33 lines
768 B
Nix
33 lines
768 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
|
, bleach
|
|
, mt-940
|
|
, requests
|
|
, sepaxml
|
|
, pytestCheckHook
|
|
, pytest-mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.1.0";
|
|
pname = "fints";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raphaelm";
|
|
repo = "python-fints";
|
|
rev = "v${version}";
|
|
hash = "sha256-3frJIEZgVnZD2spWYIuEtUt7MVsU/Zj82HOB9fKYQWE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook pytest-mock ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/raphaelm/python-fints/";
|
|
description = "Pure-python FinTS (formerly known as HBCI) implementation";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ elohmeier dotlambda ];
|
|
};
|
|
}
|