1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
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 = [ setuptools ];
19
20 pythonImportsCheck = [ "pytlv" ];
21
22 meta = with lib; {
23 description = "TLV (tag length lavue) data parser, especially useful for EMV tags parsing";
24 homepage = "https://github.com/timgabets/pytlv";
25 license = licenses.lgpl2;
26 maintainers = with maintainers; [ flokli ];
27 };
28}