mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 11:33:31 +00:00
31 lines
621 B
Nix
31 lines
621 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, poetry-core
|
|
, 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 janik ];
|
|
};
|
|
}
|