1{ lib
2, buildPythonPackage
3, fetchPypi
4, poetry-core
5, setuptools
6}:
7
8buildPythonPackage rec {
9 pname = "pytlv";
10 version = "0.71";
11 format = "pyproject";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-btxZ0oQzn1ZpwXihHlg6CduLh8nkerLV7SoFyXzJjVY=";
16 };
17
18 nativeBuildInputs = [
19 setuptools
20 ];
21
22 pythonImportsCheck = [ "pytlv" ];
23
24 meta = with lib; {
25 description = "TLV (tag length lavue) data parser, especially useful for EMV tags parsing";
26 homepage = "https://github.com/timgabets/pytlv";
27 license = licenses.lgpl2;
28 maintainers = with maintainers; [ flokli janik ];
29 };
30}