blob: fbcbac50331f10d39f01cd0e1160850b1dce5940 (
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
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pyyaml,
setuptools,
}:
buildPythonPackage rec {
pname = "mt-940";
version = "4.30.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "wolph";
repo = "mt940";
tag = "v${version}";
hash = "sha256-t6FOMu+KcEib+TZAv5uVAzvrUSt/k/RQn28jpdAY5Y0=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pyyaml
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "mt940" ];
meta = {
description = "Module to parse MT940 files and returns smart Python collections for statistics and manipulation";
homepage = "https://github.com/WoLpH/mt940";
changelog = "https://github.com/wolph/mt940/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|