depot/third_party/nixpkgs/pkgs/development/python-modules/pytlv/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

28 lines
601 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "pytlv";
version = "0.71";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-btxZ0oQzn1ZpwXihHlg6CduLh8nkerLV7SoFyXzJjVY=";
};
nativeBuildInputs = [ setuptools ];
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;
maintainers = with maintainers; [ flokli ];
};
}