2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
2023-08-22 20:05:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytlv";
|
|
|
|
version = "0.71";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-btxZ0oQzn1ZpwXihHlg6CduLh8nkerLV7SoFyXzJjVY=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "pytlv" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "TLV (tag length lavue) data parser, especially useful for EMV tags parsing";
|
|
|
|
homepage = "https://github.com/timgabets/pytlv";
|
|
|
|
license = licenses.lgpl2;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ flokli ];
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
}
|