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