aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/mt-940/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/mt-940/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/mt-940/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/mt-940/default.nix b/nixpkgs/pkgs/development/python-modules/mt-940/default.nix
index c41b472a693..e1699292944 100644
--- a/nixpkgs/pkgs/development/python-modules/mt-940/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/mt-940/default.nix
@@ -3,22 +3,26 @@
}:
buildPythonPackage rec {
- version = "4.19.0";
+ version = "4.23.0";
pname = "mt-940";
src = fetchPypi {
inherit pname version;
- sha256 = "5d109e8dc4b490a4b92ec0153713710eb067b36b350ce1ff60c406afddc7d3cd";
+ sha256 = "9274bc8298b2d4b69cb3936bdcda315b50e45975789f519a237bdec58346b8d7";
};
propagatedBuildInputs = lib.optional (!isPy3k) enum34;
checkInputs = [ pyyaml pytest ];
+ # requires tests files that are not present
+ doCheck = false;
checkPhase = ''
py.test
'';
+ pythonImportsCheck = [ "mt940" ];
+
meta = with lib; {
description = "A library to parse MT940 files and returns smart Python collections for statistics and manipulation";
homepage = "https://github.com/WoLpH/mt940";